Agent skill

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill codemap --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/analysis/codemap/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Modes
  2. Create Mode (default)
  3. Update Mode
  4. Instructions
  5. Step 1: Parse Input and Detect Mode
  6. Step 2: Launch Agent
  7. Step 3: Report Result
  8. Error Handling
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going