/codegraph:codegraphfrom codegraph
Queries a pre-indexed knowledge graph of a codebase for symbols, call graphs, dependencies, and impact analysis. Use instead of grep/glob/Read when exploring unfamiliar code, tracing callers/callees, assessing change blast radius, or answering architecture questions.
Ships in codegraph. 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.
CodeGraph gives you a pre-indexed knowledge graph of the current project — symbol relationships, call graphs, and code structure — so you can answer questions instantly instead of consuming tokens scanning files with grep, glob, and Read.
First check: CodeGraph applies only in repositories it has indexed — a
.codegraph/ directory exists at the repo root. If there is no .codegraph/
directory, skip CodeGraph entirely; indexing is the user's decision (suggest
codegraph init only if they want it).
In an indexed repo, reach for CodeGraph before grep/find or reading files when you need to understand or locate code:
codegraph_explore
(returns the relevant symbols' verbatim source plus the call paths between them)codegraph_nodecodegraph_searchcodegraph_callerscodegraph_calleescodegraph_impactcodegraph_filescodegraph_statuscodegraph_explore — it answers most code questions in a single call.codegraph_node, then
codegraph_callers / codegraph_callees.codegraph_impact to find everything affected.npx -y @colbymchenry/codegraph explore "<symbols or question>"
and npx -y @colbymchenry/codegraph node <symbol-or-file> print the same output as
the MCP tools — portable even without a global codegraph install (drop the
npx -y @colbymchenry/ prefix if the CLI is on your PATH).⚠️ staleness banner naming a file, Read that file
directly for live content — it was edited within the sync debounce window..codegraph/ directory. No
.codegraph/ → don't call CodeGraph tools.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pleaseai/claude-code-plugins --plugin codegraphOther plugins' skills for the same job