/basemind:bm <question about the codebase>from basemind
Answers natural-language questions about the current codebase using the basemind MCP server — outlines, references, callers, git history, blame, diffs, docs, and memory.
Ships in basemind. Installing the plugin adds it to Claude Code.
Answer the user's question using the basemind MCP server instead of reading files or shelling out to grep/git.
Invoke with a natural-language question about this repo's code, history, or documents —
/bm <question>. Use it instead of manually picking a tool when you just want an answer.
/bm where is MapCache defined?
/bm what calls process_file?
/bm who last touched crates/basemind-engine/src/scanner.rs?
Route the question to the tool that answers it directly:
| Example question | Tool |
|---|---|
| "Where is X defined?" | code_symbols {"name":"MapCache"} |
| "What calls X?" | code_refs {"name":"process_file"}; add "path" to pin one definition |
| "What's the shape of this file?" | code_outline {"path":"crates/basemind-engine/src/scanner.rs"} |
| "Show me that function" | code_read {"path":"crates/basemind-engine/src/scanner.rs","symbol":"process_file"} |
| "Where does this string appear?" | code_grep {"pattern":"cache_root("} (add "regex":true for a regex) |
| "Which file is named like X?" | find_files {"query":"readme"} |
| "What changed recently?" | git_log {}; {"path":"crates/basemind-engine/src/scanner.rs"} for one file; add "symbol" for one symbol |
| "Who last touched this?" | git_blame {"path":"crates/basemind-engine/src/scanner.rs"}; add "symbol" or "line" + "end_line" |
| "What's dirty, or what changed between revisions?" | git_diff {} / git_diff {"path":"crates/basemind-engine/src/scanner.rs","from":"HEAD~1","to":"HEAD"} |
| "Where's the churn?" | CLI only: basemind git churn |
| "Search PDFs/docs in the repo by meaning?" | docs_search {"query":"how releases are versioned"} |
| "Recall something remembered earlier?" | memory_search {"query":"token rotation"}, or {"key":"…"} / {"prefix":"…"} |
| "Remember this for later sessions?" | memory_save {"key":"decision/x","value":"…"} (delete: basemind memory delete <key>) |
| "A result says stale, or a new file is missing?" | index_rescan {"paths":["crates/basemind-engine/src/scanner.rs"]} |
The basemind skill for the full tool-routing table and context-economy discipline.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (goldziher/basemind) — no native marketplace selected
npx claudepluginhub p/goldziher-basemind6 commands in this plugin
/bm-doctorDiagnose and recover basemind when it isn't working (MCP tools missing/erroring, "no index", dead server) — runs CLI checks and gives the client-specific way to reconnect the server./bm-initOnboard (or refresh) basemind in this repo — write basemind.toml and inject a "prefer basemind over grep/read/git" rules block into a rules file you choose (CLAUDE.local.md / AGENTS.local.md / CLAUDE.md / AGENTS.md / ai-rulez)./bm-scanBuild or refresh the basemind index with `basemind scan` on the CLI — works without the MCP server (use it when basemind reports "no index" / "no indexed files")./bm-statsShow the basemind dashboard — resource footprint (disk + RAM) and activity (tool calls, per-tool histogram, estimated tokens saved). Works with or without the MCP server./bm-statuslineEnable the basemind status line in your Claude Code user settings (one-time setup).Other plugins' commands for the same job