This skill should be used when the user mentions "codebase map", "CODEBASE_MAP.md", "codemap", "dependency map", "file dependencies", "blast radius", "what imports this", "what does this file affect", "what depends on this", "impact of changing this file", "what will break", "find affected files", "side effects in codebase", or asks about navigating or understanding the structure of their codebase for making changes. It teaches Claude how to use the codebase map as a navigational aid during coding sessions.
From codemapnpx claudepluginhub kaakati/codemap --plugin codemapThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides implementation of event-driven hooks in Claude Code plugins using prompt-based validation and bash commands for PreToolUse, Stop, and session events.
The codebase map (CODEBASE_MAP.md) is a structural index of the project designed for LLM navigation during agentic coding. It is NOT documentation — every line answers: what is this, what does it touch, and why should you care when making changes.
**Dependencies:**
- <- `src/controllers/user.ts` (imports this) ← INBOUND: will break if you change this file's interface
- -> `internal:./auth/service` (uses: AuthService) ← OUTBOUND: this file depends on AuthService
- -> `external:express` (uses: Router) ← EXTERNAL: library dependency
Inbound dependencies (<-) tell you blast radius — how many files break if you change this file's exports.
Outbound dependencies (->) tell you what this file needs — if those change, this file may break.
Files with a Side Effects section have behavior that executes implicitly:
These are the #1 source of bugs during agentic coding. The LLM can't see behavior that triggers outside the direct call chain.
Files marked "Needs annotation" lack human context — treat them with extra caution.
/codemap:generate — Generate or regenerate the full codebase map/codemap:annotate — Add annotations to unannotated files interactively/codemap:status — Check map freshness, annotation coverage, file counts/codemap:generate run. Disposable.CODEBASE_MAP.annotations.yml. Preserved across regenerations. Removed files have annotations moved to orphaned section, never deleted.If the session-start hook reports the map is stale, prompt the user to regenerate before making changes. A stale map may have outdated dependency information that leads to missed blast radius.