/ai-brain:brain-initfrom ai-brain
Bootstraps an AI Brain memory store with a small, user-approved set of atomic facts and narrative memories. Discovery and storage are separate phases; nothing is written without explicit approval.
Ships in ai-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.
Build a high-signal initial memory set. This workflow is deliberately conservative: discovery and storage are separate phases, and the user approves the proposed set before any write tool is called.
The AI Brain connector must expose mcp__ai-brain__remember_fact, mcp__ai-brain__capture_thought, mcp__ai-brain__search_facts, and mcp__ai-brain__search_thoughts. If any are unavailable, stop and ask the user to reconnect or update AI Brain.
changed (old value was formerly true) from corrected (old value was inaccurate).Call mcp__ai-brain__get_stats. Tell the user whether this is an empty bootstrap or a proposed addition to an existing brain. Do not imply that existing content will be overwritten.
Identify sources available in the current session:
~/.claude/CLAUDE.md, when the client can read them.Report only which source categories are available. Do not perform an exhaustive scan.
Use the smallest amount of source material needed to find durable candidates.
Stop gathering once 15 plausible high-value candidates have been found.
For every candidate, decide one of:
PROPOSE: explicit or plausibly important, durable, atomic, and useful later.ASK: potentially useful but needs the user's confirmation or a missing exact value/date.SKIP: incidental, inferred, derived, transient, noisy, sensitive, or redundant.Do not show ordinary SKIP items unless explaining why a tempting category was excluded. Never turn an ASK candidate into a stored fact without a user answer.
Choose a storage form:
Use for precise subject-predicate-value knowledge. Prepare:
key, kind, and canonical namepredicatevaluevalidFrom or validTo only if explicitly knownisCore only for a very small set of broadly useful enduring factsExamples:
person:zevin / date_of_birth / exact dateperson:jordan / primary_care_provider / entity person:dr-jane-smithperson:zevin / current_school / entity organization:downtown-schoolUse only for one durable decision with rationale, one coherent project state, one commitment, or one recurring pattern. Keep it concise. Do not use headings such as “About me,” “My team,” or “Active projects” to combine unrelated knowledge.
For each proposed fact, call mcp__ai-brain__search_facts using the exact subject name and predicate. For each proposed narrative, call mcp__ai-brain__search_thoughts using exact names and identifiers.
Show one compact table with no more than 15 rows:
| # | Proposed memory | Form | Source | Temporal handling | Core? |
|---|
Then list any ASK questions separately. State how many noisy candidates were excluded and give category-level examples, not a long rejected list.
Ask the user to approve all, approve selected row numbers, edit them, or cancel. Stop and wait. Do not write anything in this step.
Create one batch id in the form brain-init:<ISO timestamp>.
For each approved structured fact, call mcp__ai-brain__remember_fact with:
sourceType: user_confirmedcardinality: single unless concurrent values are genuinely validchangeKind: changed or corrected based on the user's answerFor each approved narrative, call mcp__ai-brain__capture_thought with:
sourceType: user_confirmedIf a write is declined by the admission gate, report it; do not weaken or reword the candidate merely to force storage.
Report:
fact:<id>thought:<id>End by saying that future direct durable facts can be captured automatically; connector-derived information will continue to require confirmation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub flippyhead/ai-brain --plugin ai-brain5 skills in this plugin
/brain-contextRestore the context of a specific moment — what was happening, what decisions were in flight, what was on your mind. Anchors on a date or event, pulls the timeline window, synthesizes a brief./brain-syncSync the current project's context into your AI Brain. Reads project files, compares against existing brain knowledge via progressive disclosure, and captures only new or changed information./brain-threadReconstruct the chronological evolution of thinking around a topic or anchor thought. Walks the timeline around a seed, hydrates the most substantive neighbors, and produces a citable narrative./weekly-reviewWeekly synthesis of your brain thoughts, workflow insights, and goals. Surfaces gaps, open loops, and recommendations. Every claim is cited back to its source.