brain-bootstrap

brain-bootstrap is a skill for Claude Code, Codex from mindmuxai/brain.md. It costs 74 tokens per session (1,674 once invoked), scanned A, original, Apache-2.0.

A guide for filling a newly created project brain with useful project knowledge. For an existing project it gathers information from the code, documentation, and Git history; for a new project it gathers information by asking the user.

In plain words
What is it for?
Use it after brain setup to draft the six root pages, capture historical decisions, and record project knowledge through the brain command-line tool.
Why use it?
It turns an empty brain into a durable reference that records how the project works and why important decisions were made.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after brain setup to draft the six root pages, capture historical decisions, and record project knowledge through the brain command-line tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mindmuxai/brain.md/brain-bootstrap
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mindmuxai/brain.md --skill brain-bootstrap
Clone the repo
git clone --depth 1 https://github.com/mindmuxai/brain.md

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for brain-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/skills/mindmuxai/brain.md/brain-bootstrap/github.svg)](https://agentmods.dev/skills/mindmuxai/brain.md/brain-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/mindmuxai/brain.md/brain-bootstrap"><img src="https://agentmods.dev/badge/skills/mindmuxai/brain.md/brain-bootstrap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for brain-bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/skills/mindmuxai/brain.md/brain-bootstrap"><img src="https://agentmods.dev/badge/skills/mindmuxai/brain.md/brain-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,674 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.01674
Opus 5.5 $0.00030 $0.00670
Sonnet 5.5 $0.00015 $0.00335
Haiku 4.5 $0.00007 $0.00167

Measured 1mo ago against content hash d69a92c85499, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

brain-bootstrap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/brain-bootstrap/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

brain-bootstrap

brain-setup scaffolds an empty brain — six root-page templates plus an empty pages/. This skill fills it with real, durable project knowledge for the first time. It is the bridge between "a brain exists" and "the brain is worth reading".

You gather information by reasoning over the project itself — reading code, docs, and git log, or interviewing the user — but you never write the brain by hand. Every landing of knowledge is a brain CLI subcommand.

NEVER hand-edit any file under the brain directory. All reads and writes MUST go through the brain CLI. Manual edits are unsupported and illegitimate. There is no validator and nothing at the file layer can catch a bad manual edit; correctness is guaranteed only by going through the CLI, so a hand edit silently breaks the brain's invariants.

The exact command surface (update-root / create-page / update-truth / reindex / ls …) and the page-category taxonomy live in the brain-page skill — read it before creating or modifying any page. Resolve <brain-page-bundle> to wherever that skill is installed (in the brain.md source repo, skills/brain-page/); define the shell function brain() { node <brain-page-bundle>/bin/brain.mjs "$@"; } (a function is portable across bash and zsh, unlike BRAIN="node …"; $BRAIN …, which only word-splits in bash) and run everything from the project root.

Step 0 — Pick the mode

Inspect the project to decide which path you are on:

  • Brownfield — there is substantial source code, and/or real git log history. There is something to read; go to Brownfield.
  • Greenfield — a near-empty repo: no meaningful source, little or no history. There is nothing to read; go to Greenfield.

When it is genuinely mixed (a little code, a little history), prefer Brownfield for whatever can be inferred, and fall back to interview questions for the parts the code can't tell you.


Brownfield — synthesize from code, docs, and history

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 96 lines · 74 tokens per session scan A d69a92c85499

Subscribe to this mod's changes

brain-bootstrap is a skill published in the GitHub repository mindmuxai/brain.md (576 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 1,674 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chain

Inject the 3 most recent session IDs for the current workspace into the prompt before Claude responds. Use when starting work and wanting recent session context.

Nimrobo/superdense · 31 tokens

recall

Retrieve what LemonCrow already learned from your past sessions — semantic recall over indexed sessions, durable facts, and extracted lessons. Use for 'have we seen this before', 'what did we learn about X', 'what does LemonCrow remember', or /recall. Read-only; importing, indexing, and extraction run in the LemonCrow…

lemoncrow-lab/lemoncrow · 72 tokens

using-memory

Persistent dual-layer memory engine with Notebook facts, curated RAG knowledge base, agent-driven knowledge graph, and general MCP helpers. Trigger proactively whenever user preferences, project conventions, technology stack choices, or architecture decisions are introduced, or when querying ingested documentation…

Lotargo/memory_plugin · 91 tokens

agent-context-crystallizer

Preserve high-signal work context with local checkpoints and session crystals using the agent-crystallize CLI. Use before compaction, handoff, session end, cross-agent transfer, after major decisions/findings/failures, or when the user asks to checkpoint, crystallize, preserve context, save open loops, or create a…

stewie-sh/agent-crystallize · 76 tokens

mnemon

Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.

mnemon-dev/mnemon · 25 tokens

mnemon

Persistent graph-based memory. Recall context before responding, remember insights after. Each group has private memory; global memory is read-only.

mnemon-dev/mnemon · 29 tokens