/ai-brain:brain-initfrom ai-brain
Bootstrap your AI Brain from connected tools and Claude's memory. Zero-input onboarding — discovers your connectors, pulls meta-knowledge, and saves it automatically.
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.
Bootstrap your AI Brain by automatically discovering what tools you have connected and extracting durable meta-knowledge from them.
The AI Brain connector must be available. If mcp__ai-brain__capture_thought and mcp__ai-brain__search_thoughts MCP tools are not available, stop and tell the user to connect AI Brain first.
Call mcp__ai-brain__get_stats to see if the brain already has content.
Enumerate available MCP tools by checking what's loaded in this session. Look for these patterns:
| Connector | Tool patterns to look for | What it tells us |
|---|---|---|
email_search, outlook_email_search, gmail_* | Communication patterns, key contacts | |
| Calendar | calendar_*, google_calendar_*, outlook_calendar_* | Meeting rhythm, team structure |
| ClickUp | clickup_*, get_task, search_tasks | Projects, responsibilities |
| GitHub | GitHub MCP tools or gh CLI available | Repos, collaborators |
| Slack | slack_*, send_message, search_messages | Team context, channels |
| Linear | linear_* | Projects, issue tracking |
| Jira | jira_* | Projects, issue tracking |
Report which connectors were found: "I found connections to: [list]. I'll use these to learn about your work."
If no connectors beyond AI Brain are available, skip to Step 4 (Claude Memory) and then Step 5 (Fallback Questions).
For each available connector, extract durable meta-knowledge — not transient task data.
For email/communication tools:
For calendar:
For project management (ClickUp/Linear/Jira):
For GitHub:
For Slack:
Compile findings into structured notes organized by: role signals, key people, active projects, work patterns.
Check for existing knowledge Claude has about this user:
~/.claude/CLAUDE.md if it exists — this contains user-stated preferences and instructions~/.claude/projects/*/memory/ — these contain stored memories from previous sessionsOrganize findings into: people, projects, preferences, decisions, recurring topics.
If no connectors beyond AI Brain were discovered in Step 2, ask these 3-4 quick questions:
Use the answers as the basis for Step 6 instead of connector data.
Consolidate all sources into focused brain thoughts. Before saving each thought, call mcp__ai-brain__search_thoughts with the topic to check for duplicates.
Note: search_thoughts returns a compact index — {id, summary, snippet, type, topics, score}. If a candidate looks like a duplicate from its summary + snippet, call mcp__ai-brain__get_thoughts with the candidate's id to fetch full content and confirm before deciding.
Thoughts to create:
About me — Role, responsibilities, what I work on, communication style, tools I use. Format: "About me: [role] at [company if known]. Responsibilities: [list]. Primary tools: [list]. Communication style: [preferences from CLAUDE.md or inferred]."
My team — Key people, their roles, how we work together. Format: "My team: [Person] ([role]) — [relationship/how we work together]. [repeat for each key person]."
Active projects — Current focus areas with context. Format: "Active projects: [Project 1] — [what it is, my role in it]. [Project 2] — [description]. Priority order: [if determinable]."
Work patterns — Meeting rhythm, schedule patterns, preferences. Format: "Work patterns: [recurring meetings]. Typical schedule: [if determinable]. Preferences: [from CLAUDE.md or inferred]."
Save each via mcp__ai-brain__capture_thought. capture_thought returns the new thought's thoughtId — collect these so Step 7 can cite them.
Additionally: If enough signal exists to identify project priorities, create a pinned goal list via mcp__ai-brain__create_list with the top projects, then call mcp__ai-brain__update_list to pin it.
Show the user a summary of what was captured, with each item cited as thought:<id> so they can trace provenance:
thought:<id>/brain-thread <topic> to trace how your thinking on a theme evolves, or /brain-context <date> to restore what was on your mind at a specific time."End with: "Does this look right? Anything missing or incorrect?"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flippyhead/ai-brain-plugin --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.Other plugins' skills for the same job