← ClaudeAtlas

query-codelisted

Query the codemap structural index — central, coupled, deps, rdeps, import path, symbol-level source extraction, and function-level call graph (fn-deps, fn-rdeps, fn-central, fn-blast). TRIGGER when: user asks about module relationships, dependency graph, callers/callees, or blast radius; phrases: "what depends on", "who calls", "imports of", "dependency graph", "blast radius of". SKIP: codemap index not built (skill self-checks and no-ops gracefully); simple grep would suffice; non-Python repo.
Borda/AI-Rig · ★ 17 · AI & Automation · score 76
Install: claude install-skill Borda/AI-Rig
<objective> Query codemap structural index for import-graph analysis, symbol-level source extraction, function-level call graph traversal. **Python projects only** — index covers `.py` files; queries on non-Python projects return empty or error. `scan-query` on PATH (installed by codemap plugin). **Module-level queries** (import graph): - `central [--top N]` — most-imported modules (highest blast radius, default top 10) - `coupled [--top N]` — modules with most imports (highest coupling, default top 10) - `deps <module>` — what module imports - `rdeps <module>` — what imports module - `path <from> <to>` — shortest import path between two modules **Symbol-level queries** (use instead of reading full files — ~94% token reduction): - `symbol <name>` — get source of function/class/method by name - `symbols <module>` — list all symbols in module (no file I/O) - `find-symbol <pattern>` — regex search across all symbol names in index **Function-level call graph queries** (v3 index — requires `/codemap:scan-codebase` with call graph): - `fn-deps <qname>` — what does function/method call? (outgoing edges) - `fn-rdeps <qname>` — what functions call this one? (incoming edges) - `fn-central [--top N]` — most-called functions globally (default top 10) - `fn-blast <qname>` — transitive reverse-call BFS with depth levels Use `module::function` format for qname, e.g. `mypackage.auth::validate_token`. Requires v3 index — v2 returns clear upgrade prompt. NOT for: building or rebuilding i