From Basemind
Builds or refreshes a basemind index via the CLI when the MCP server is unavailable or the index is stale.
How this skill is triggered — by the user, by Claude, or both
Slash command
/basemind:basemind-scanThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
basemind answers code-map questions from an index under `.basemind/`. That index is built by
basemind answers code-map questions from an index under .basemind/. That index is built by
basemind scan. This skill runs the scan via the CLI, so it works even when the MCP server
(basemind serve) is not running — which is exactly the situation when basemind reports
"no index" or "no indexed files", or when MCP tools aren't loaded in the session.
From the repository root:
basemind scan # full working-tree scan
basemind scan <path> # scope to a path (incremental)
Finding the binary (in order of preference):
basemind on PATH.${XDG_CACHE_HOME:-~/.cache}/basemind/bin/<version>/basemind.cargo build --release then ./target/release/basemind scan..basemind/.
Seconds for small repos; ~22 s for an ~80k-file TypeScript monorepo.basemind serve MCP server is already running for this repo it holds the store lock, so a
CLI scan will fail with a lock error. Use the rescan MCP tool (it re-indexes in-process)
instead, or stop the server first.basemind query … have a fresh index..basemind/ index as the MCP server — see the basemind-cli
skill for the full query surface.npx claudepluginhub goldziher/basemind --plugin basemindDiagnoses and recovers basemind when MCP tools are missing or erroring, the index is empty, or the MCP server is dead. Runs CLI checks without requiring the server.
Indexes project with QMD for semantic search and cartographer for codebase maps, enabling fast file suggestions. Run on new codebases or after changes to save 60-80% tokens on exploration.
Triggers manual reindex of TypeScript/JavaScript codebase using matrix_reindex tool. Use after external file changes, stale or incomplete indexes, or mass file renames/moves.