/brain:updatefrom brain
Merge the latest improvements from the brAIn template repo (conventions, templates, bases) into the user's own vault. Use when the user asks to update their brain/vault to the newest template, or sync template changes into their fork.
Ships in brain. 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.
Vaults are created from https://github.com/rcamf/brAIn-template and then diverge
with personal content. This skill merges template-side improvements (CLAUDE.md
conventions, templates/, *.base files, README) into the vault without
touching the user's notes.
All vault mechanics go through the plugin's helper CLI, scripts/brain.sh at
the plugin root (two directories above this skill's base directory):
BRAIN="<this skill's base directory>/../../scripts/brain.sh"
VAULT=$("$BRAIN" vault)
If vault fails, stop and relay its message (the fix is /brain:init).
"$BRAIN" sync; make sure the working tree is
clean (commit pending changes with "$BRAIN" save "<msg>" before merging)."$BRAIN" update — it adds the template remote if missing,
fetches, and merges template/main (bridging unrelated histories on the
first ever merge automatically).Home.md content always win — never lose or
rewrite personal content to match the template.CLAUDE.md, templates/, *.base) — take the
template's new material, but preserve any local additions by merging both.git -C "$VAULT" add -A && git -C "$VAULT" commit --no-edit.git -C "$VAULT" push.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rcamf/claude-plugins --plugin brain7 skills in this plugin
/consolidatePromote a session's working notes from the brAIn vault's sessions/ area into the main knowledge graph, then archive the session folder. ONLY run when the user explicitly asks to consolidate — never automatically at session end./ingestTransform a whole code repository into interlinked notes in the brAIn vault — an architecture overview plus one note per subsystem/key concept, wikilinked into the knowledge graph. Use when the user says "ingest this repo", "turn this repo into notes", "document this repo in my brain", or wants a repo mapped into their vault. Re-running updates the existing notes./initSet up a new brAIn memory vault on this machine — create it from the brAIn template repo (or clone the user's existing vault) and configure the BRAIN_VAULT environment variable. Use when the user wants to create their brain/memory vault or when another brain skill reports BRAIN_VAULT is not configured.Other plugins' skills for the same job