archy_graph_summary
Identifies the most structurally important modules in a codebase by ranking fan-in, fan-out, and PageRank, plus top external dependencies, for quick architectural insight.
Instructions
Whole-project structural overview sized for LLM context. Returns top-N modules by fan-in, fan-out, and PageRank (importance weighted by importance of dependents), plus the top external dependencies. Cheaper than dumping the full graph; use for 'where is the gravity in this codebase' questions. Call archy_cycles separately for cycle detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_count | Yes | ||
| internal_edge_count | Yes | ||
| external_edge_count | Yes | ||
| parse_errors | Yes | ||
| top_fan_in | Yes | ||
| top_fan_out | Yes | ||
| top_pagerank | Yes | ||
| top_edit_risk | Yes | ||
| external_deps | Yes |