analyze_code_graph
Analyze a selected local code graph to surface stats, communities, fan-in/out, hub impact, cross-community links, and confidence provenance for coding agents.
Instructions
Analyze selected local graph: stats composition; communities/community subsystems; groups fan-in/out; hubs blast radius; surprises cross-community links; confidence provenance; full report. Untrusted evidence. Default agent text; dual adds structured content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Configured graph project name/root (not a memory project tag); omit to infer from callerCwd; max 256 UTF-8 bytes; preserve the project selected by context_brief | |
| callerCwd | No | Required absolute repository or worktree path | |
| freshness | No | Default current. ready accepts stale snapshots or refreshes if cold; allow-stale never indexes. | |
| operation | Yes | Whole-graph operation | |
| communityId | No | Required cgc_ ID for community | |
| memberLimit | No | Community member limit; default 24 | |
| responseFormat | No | Default agent; dual adds structured content. | |
| includeHeuristic | No | Include heuristic relationships; default false | |
| includeModelAssociations | No | Include model associations; default false |