/basemind:bm-scan pathfrom basemind
Builds or refreshes the basemind code index via CLI. Accepts an optional path argument for incremental re-indexing.
Ships in basemind. Installing the plugin adds it to Claude Code.
Run basemind scan via the CLI so the code map exists and is current.
basemind (or its statusline) reports "no index" / "no indexed files", or index_status reports
degraded or rescan_needed. A healthy index that misses a file you just created needs only
basemind rescan <path> for that file, not a whole-tree scan. Files under scan.extra_roots are the
exception: rescan <path> skips them, so a new or changed one needs a full scan.
basemind scan # no argument
basemind rescan "$ARGUMENTS" # a path argument
basemind scan, a full working-tree scan./bm-scan src/mcp) → basemind rescan src/mcp, which re-indexes only that path
(incremental) when a working-tree index exists; with none yet, or one that must be rebuilt, it
runs a full scan instead. scan takes no path.${CLAUDE_PLUGIN_ROOT}/scripts/mcp-launch.sh scan
(or … rescan "$ARGUMENTS")
(in other hosts, scripts/mcp-launch.sh in the plugin directory). Use bare basemind from PATH
only when no plugin launcher exists, or build a dev binary with cargo build --release and use
./target/release/basemind.scan is forwarded to it and reports scan via daemon. Another
process holding the store lock (basemind watch, another scan) makes scan and rescan exit 3 and
name it: stop the watcher, run the command, then restart basemind watch.The basemind-scan skill for the full workflow, binary-resolution order, and extra_roots
config for indexing directories outside the repo.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub goldziher/basemind --plugin basemind6 commands in this plugin
/bmAsk basemind anything about the current codebase — outlines, refs, callers, git history, blame, diffs, docs, memory./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-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