/code-graph-mcp:indexfrom code-graph-mcp
Diagnoses and fixes code-graph index issues via CLI health checks and incremental or atomic full rebuilds. Use when search returns unexpected results or after major restructuring.
Ships in code-graph-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
code-graph-mcp health-check
code-graph-mcp incremental-index
code-graph-mcp rebuild-index --confirm
This builds the new index in a temporary location and swaps it in with an atomic
rename, so a running MCP server (and its open WAL) never observes a half-built
index. Deleting the .code-graph/ directory by hand skips that swap, which is
the exact situation the atomic path exists for.
get_index_status and rebuild_index do dispatch over JSON-RPC, but they are
deliberately kept out of tools/list to save tokens (src/mcp/tools.rs), so
they are not in your callable tool set — the CLI above is the surface you have.
It is also the only one that works with no server running.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sdsrss/code-graph-mcp --plugin code-graph-mcp2 skills in this plugin
Other plugins' skills for the same job