Scan the Python codebase and build a structural JSON index (import graph + blast-radius metrics). TRIGGER when: user asks to build, refresh, or rebuild the codemap index; user mentions stale index, missing symbols, or re-indexing after significant project changes; phrases: \"build codemap\", \"scan codebase\", \"refresh structural index\", \"rebuild import graph\".
$npx -y skills add borda/ai-rig --skill scan-codebaseInstalls into the current project.
Run `npx skills use "https://github.com/borda/ai-rig" --skill "borda/ai-rig/scan-codebase"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/borda/ai-rig" that are relevant to the current task. Run `npx skills add "https://github.com/borda/ai-rig"` and select the relevant skills, then follow their instructions.