/study-kit:git-syncfrom study-kit
Syncs the vault and every linked repository in repos/ with GitHub in one routine. Shows what changed, commits with a clear message after the student agrees, pulls the latest changes, pushes only after a yes, puts linked repositories back on their branch, and stops at conflicts with an explanation in plain words. Use when the student says sync, save to GitHub, back up, commit, push, pull, update my repos, get my notes onto another computer, or asks why Git is complaining.
Ships in study-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One routine that keeps the vault and its linked repositories in step with GitHub. It never rewrites history and never forces anything, so the worst that can happen is a stop with an explanation.
Follow the vault rules in AGENTS.md. Speak the language set in profile.md. Pulling and pushing use the network and the student's GitHub sign-in: show each command before running it, and a push always waits for the student's yes.
The kit's Claude Code settings keep the sign-in out of the sandbox on purpose, so run git pull, git push and git fetch outside the sandbox from the start. Claude Code then asks the student once for each, instead of the command failing first. Read-only commands such as git status stay inside.
If the student has the Git plugin in Obsidian set to commit and sync automatically, mention once that it does the same job, and that two syncs at the same moment can collide. Suggest pausing the plugin while this runs.
Start with read-only commands, and summarise what they show in plain words:
git status --short --branch in the vault: what changed, and whether it is ahead of or behind GitHub.git remote -v. If there is no remote, stop and offer the GitHub part of the backup step in vault-setup.git submodule status, then git -C repos/<name> status --short --branch for each linked repository.Check the list of changes before committing anything:
private/, no .env or key files, and no course material under sources/. The kit's .gitignore keeps these out. If one shows up anyway, stop and explain.The vault records which commit each linked repository is at, so those repositories are synced first. That way the vault only ever points at commits that exist on GitHub.
For each folder in repos/ that .gitmodules lists:
branch in .gitmodules, else the one on its card note, else main. Run git -C repos/<name> switch <branch>. If Git refuses because of local changes, stop and show them.git -C repos/<name> add -A, then git -C repos/<name> commit -m "<message>".git -C repos/<name> pull --no-rebase brings in what changed on GitHub.git -C repos/<name> push. If the push is refused because the student has no write access, say so. The commit stays on this computer and nothing is lost.repos/: that is the vault recording its new commit. After a yes: git add -A, then git commit -m "<message>".git pull --no-rebase.git push.A short table with one row per repository: committed, pulled, pushed, or what is left. End with anything the student should do themselves.
Never use --force, reset --hard, clean, rebase, restore . or checkout -- ., and never delete a branch. When a step fails, stop, explain what Git said in plain words, and suggest the next step.
git add <file> and git commit.repos/<name> folder. Two computers moved the same linked repository. Sync that repository as in section 2, then git add repos/<name> and commit.gh auth login or an SSH key. The Git plugin in Obsidian uses the same sign-in.What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/assignment-coachHelp with graded work that keeps it the student's own. Checks the course's AI policy first, then helps the student understand the task, plan it, get feedback on their own draft and check their sources, and keeps an AI use log they can turn into an honest declaration. Use whenever the student mentions an assignment, essay, report, paper, thesis, lab report, project, home exam, hand-in or deadline for graded work, asks for feedback on a draft, wants help with references, or needs to write an AI declaration./brain-mapBuilds a concept map of a course as an Obsidian canvas, starting from the connections the student can recall, and strengthens the vault's knowledge graph by proposing links between related notes. The student names the connections first, then the agent checks them against the sources, draws the canvas with labelled links and lists the gaps. Use when the student wants a mind map, concept map, brain map, knowledge graph, an overview of how topics connect, a visual summary of a course, or a graph view that shows more connections.Other plugins' skills for the same job
/daily-planPlans the student's day or closes it, in the daily note. In the morning it turns today's study session, the reviews that are due, near deadlines and the inbox into at most three priorities. In the evening it records what got done and what slipped. Use when the student asks what to do today, wants to plan the day, start or end a study day, or do a daily check-in or shutdown.npx claudepluginhub 26zl/obsidian-study-kit --plugin study-kit