/code-map:code-map-retrievalfrom code-map
Route known symbols through code-map read and use rg only for discovery. Use for exact symbol reads, batching, post-edit refreshes, or stale MCP diagnosis in indexed repositories.
Ships in code-map. 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.
read returns the exact current source slice for a symbol. The model judges
those bytes.
Tools: (none) does not prove that read is absent.mcp__code_map__read instead of showing it in the static tool
list. Search the deferred/available tool registry for that exact name and try
it before declaring read unavailable.path#name: call read directly. Do not grep or whole-file
read it first.refs call (maximum 64) with
responseFormat: "compact". Keep dependent reads sequential.rg. If that output is sufficient,
stop; otherwise read the discovered symbol once.changedOnly: true only for a working set already returned by
this MCP session. Do not re-read ids listed under unchanged.Always pass the absolute repository root; keep refs repository-relative.
Windows, /mnt/c, native Linux, and matching \\wsl.localhost\<distro> roots
are accepted. Use json only when a machine consumer needs stable fields.
Qualify ambiguous names. Use snippet only to narrow one symbol, and narrow it
again if the aim is ambiguous. Treat returned raw source—not index metadata—as
the evidence.
Indexes refresh lazily. For suspected stale code or configuration, retry with
diagnostics: true; start a new MCP session when restartRequired is true or a
never-read ref is incorrectly reported unchanged. Only treat read as
unavailable after the deferred lookup or an actual call fails; then use normal
repository tools and say so.
Use code-oracle, when available, for type-aware callers, definitions, and implementations; honor its reported coverage limits.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub annyeong844/map --plugin code-map2 plugins ship this exact skill · first indexed Jul 16, 2026