tsa-graphlisted
Install: claude install-skill aimasteracc/tree-sitter-analyzer
# tsa-graph — Code archaeology, one call deep
> This skill exposes the graph-focused tools that answer "who is connected to
> what" — the questions agents waste the most tokens on when they fall back to
> grep.
## When to use
Pick the right tool by question shape:
| Question | Tool |
|---------------------------------------|-------------------------------|
| Need search + snippets + callers/callees together? | `codegraph_query` |
| What does FUNCTION call? | `codegraph_callees` |
| What calls FUNCTION? | `codegraph_callers` |
| Where is SYMBOL defined? | `codegraph_symbol_search` |
| What references SYMBOL anywhere? | `codegraph_xref` |
| Path from CALLER to CALLEE? | `codegraph_call_path` |
| Resolve "Path" in file X (project or stdlib?) | `codegraph_resolve` |
| Need architecture diagram output? | `codegraph_uml` |
**Don't use** when:
- You need the actual *body* of the function → use `extract_code_section`
- You're hunting a string literal in non-source files → use Grep
## Procedure
### Single-question case (90% of uses)
Pick the matching tool, call once. Read the response. Done.
Example: "what calls `score_file`?"
```
codegraph_callers(function_name="score_file", language="python", limit=20)
```
Returns: `callers: [{name, file, line, callee_resolution, callee_resolved_file}, ...]`.
The n