From code-intelligence
Use symgraph MCP tools to explore and understand code. Use when the user asks about code structure, symbol relationships, call graphs, impact analysis, dead code, interface implementations, or needs focused context for a coding task.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-intelligence:explore-code <question or task description><question or task description>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You have access to **symgraph**, a semantic code intelligence MCP server that maintains a knowledge graph of the codebase (symbols, calls, contains, imports, implements, extends). Use it to answer: $ARGUMENTS
You have access to symgraph, a semantic code intelligence MCP server that maintains a knowledge graph of the codebase (symbols, calls, contains, imports, implements, extends). Use it to answer: $ARGUMENTS
Pick the narrowest tool that fits — symgraph is faster and more precise than scanning the filesystem.
| Question | Tool |
|---|---|
"Where is X defined?" / "Find symbols matching name" | symgraph-search, then symgraph-definition |
"Show me the source of X" | symgraph-definition |
"Who calls X?" | symgraph-callers |
"What does X call?" | symgraph-callees |
"All usages of X" (calls + non-call references) | symgraph-references |
"How does data flow from A to B?" | symgraph-path |
"If I change X, what breaks?" | symgraph-impact |
"What would changing lines N–M of file.rs affect?" | symgraph-diff-impact |
"What symbols live in file.rs?" | symgraph-file |
"All implementations of trait/interface T" | symgraph-implementations |
| "Class/module parent–child relationships" | symgraph-hierarchy |
| "Find dead code" | symgraph-unused |
| "Build broad context for a task" | symgraph-context |
| "Detailed info on one symbol" | symgraph-node |
If results look stale after the user mentions recent edits, run symgraph-reindex first. Check symgraph-status if you suspect the index is missing or empty.
symgraph-search → symgraph-definition over symgraph-context for specific questions. Reserve symgraph-context for open-ended "help me understand X" tasks.symgraph-search returns multiple matches, ask the user (or use surrounding context) to pick the right one before pulling callers/callees.callers/callees rather than guessing. For "how is A connected to B" use symgraph-path directly.symgraph-definition and quote the relevant lines — don't paraphrase from symbol names alone.Read.symgraph-diff-impact when you have a line range, symgraph-impact when you have a symbol name.bx grahambrooks/symgraph index.symgraph-status reports 0 nodes or symgraph-search returns nothing for symbols you know exist, tell the user to run bx grahambrooks/symgraph index in the project root.symgraph-reindex (incremental, fast) — full re-index only if structure changed dramatically.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub grahambrooks/gb-agent-skills --plugin code-intelligence