Skip to content
Logo

/brain-search

Query the wiki to answer a question.

Runs hybrid search (vector + BM25) across the entire wiki, reads the 2–5 most relevant pages, and synthesizes an answer with inline [[wiki/page]] citations. Flags gaps where the wiki has no coverage.

If the answer pulls together multiple pages in a novel way, it offers to file it as a permanent wiki/qa/[slug].md entry — so the synthesis compounds next time.

Scope: global skill, installed once at ~/.agents/skills/brain-search/SKILL.md and symlinked into each selected agent's global skills dir (e.g. ~/.claude/skills/brain-search). Paths resolve at call time via npx claude-second-brain path and npx claude-second-brain qmd — both read ~/.claude-second-brain/config.toml to find the default brain. Source: template/.claude/skills/brain-search/SKILL.md.