codemap
Use when the user wants to map, visualize, or understand codebase structure. Generates hierarchical code maps using LSP analysis with create and update modes.
npx skills add majiayu000/claude-skill-registry --skill codemap --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Code Map Creator Generate or update a hierarchical code map using Claude Code's built-in LSP tools. Maps functions, classes, variables, and imports in a nested tree structure. ## Modes ### Create Mode (default) ``` /arc:specialized:codemap src/ /arc:specialized:codemap . --ignore "node_modules,dist" ``` ### Update Mode ``` /arc:specialized:codemap --update .claude/maps/code-map-src-a3f9e.json --diff /arc:specialized:codemap --update .claude/maps/code-map-src-a3f9e.json --pr 456 ``` ## Instructions ### Step 1: Parse Input and Detect Mode Parse input to determine mode: **Update Mode** (if `--update` present): 1. Extract codemap path after `--update` 2. Detect diff source (`--diff`, `--pr <id>`) 3. Get list of changed files via Bash **Create Mode** (default): 1. Root directory (required, first argument, default `.`) 2. Ignore patterns (optional `--ignore`) ### Step 2: Launch Agent **REQUIRED Task tool parameters:** **Create Mode:** ``` subagent_type: "arc:codemap-creator" run_in_background: true prompt: "MODE: create\nRoot: <root_dir>\nIgnore: <patterns or none>" ``` **Update Mode:** ``` subagent_type: "arc:codemap-creator" run_in_background: true prompt: "MODE: update\nCodemap: <co
- Modes
- Create Mode (default)
- Update Mode
- Instructions
- Step 1: Parse Input and Detect Mode
- Step 2: Launch Agent
- Step 3: Report Result
- Error Handling
What does the codemap skill do?
Use when the user wants to map, visualize, or understand codebase structure. Generates hierarchical code maps using LSP analysis with create and update modes.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codemap --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
