/brain:rememberfrom brain
Save a fact, idea, or note into the user's brAIn vault (their Obsidian-style markdown knowledge base synced via git, located by $BRAIN_VAULT). Use when the user says "remember X", "add to my brain/vault", or wants to capture knowledge for later. Searches for an existing note first, updates or creates one with wikilinks, then commits and pushes.
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.
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).
Notes are plain Markdown, one topic per file, linked with [[wikilinks]].
Read the vault's CLAUDE.md if you need the full conventions.
"$BRAIN" sync (if it reports working locally, mention that at
the end)."$BRAIN" search <term>... — try synonyms too.
Prefer updating an existing note over creating a near-duplicate.Default to the current repo's area: AREA=$("$BRAIN" area) resolves
(or creates) the area folder for the repo the session is running in. Only
place the note elsewhere when the fact is clearly unrelated to the current
repo (or there is no repo context); then pick the best-fitting general
area folder. Never save a note at the vault root unless the user
explicitly asks.
New topic → new file, filename is the title: Topic name.md.
Add [[wikilinks]] to related existing notes; links to not-yet-existing
notes are fine and encouraged.
Use absolute dates (e.g. 2026-08-25), never relative ones.
Always record provenance when the knowledge stems from work in a repo:
"$BRAIN" ref prints repo@branch#sha for the current repo. On a NEW
note, put it in the frontmatter:
---
source: <repo>
branch: <branch>
commit: <short sha>
created: <YYYY-MM-DD>
---
When APPENDING to an existing note, end the entry with (repo@branch#sha)
instead. Only omit provenance when there is genuinely no repo context.
Quick unstructured capture with no obvious home → append to Inbox.md
(dated, with the same inline provenance).
Home.md."$BRAIN" save "<what changed>".$ARGUMENTS is the thing to remember. If empty, ask what to capture.
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