codemap — Claude Code skill for code discovery
This skill uses the codemap CLI to search code by intent and inspect repository dependencies. Use it to locate symbols or investigate how files relate.
no license 167 installs ★ 5 updated 2026-08-31
npx skills add ulpi-io/skills --skill codemap -a claude-codeWhat codemap does
The skill routes questions to codemap commands for semantic search, symbol lookup, file summaries, and incoming or outgoing imports. It can also report file rankings, module coupling, and dependency cycles. When discovery points to specific files, it uses Read to inspect them.
Before relying on results, it checks the CLI version and repository index. A missing setup requires approval before codemap init, while a stale index is refreshed with codemap index. Empty or stale indexes are not reliable. For an exact text match, the skill favors grep over a codemap query.
What it helps with
- locate code that handles a described behavior
- find a function or class by its name
- trace imports into or out of a file
- identify circular dependencies between modules
- rank important files or inspect module coupling
Example prompts for the agent
- Find where this project handles authentication and show the most relevant files.
- Look up the
UserServicesymbol and trace which files depend on it. - Check the project for circular dependencies and report the modules involved.
How to install codemap
1Skills CLI (Vercel)
npx skills add ulpi-io/skills --skill codemap -a claude-code2Manually: put the files in place
~/.claude/skills/codemap/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/codemap/
1Skills CLI (Vercel)
npx skills add ulpi-io/skills --skill codemap -a codex2Manually: put the files in place
.agents/skills/codemap/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ulpi-io/skills --skill codemap -a cursor2Manually: put the files in place
.cursor/skills/codemap/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ulpi-io/skills codemap2Manually: put the files in place
.github/skills/codemap/SKILL.md1Skills CLI (Vercel)
npx skills add ulpi-io/skills --skill codemap -a gemini-cli2Platform CLI
gemini skills install https://github.com/ulpi-io/skills --path codemapManually: put the files in place
.devin/skills/codemap/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ulpi-io/skills --skill codemap -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about codemap
How do I install codemap in Claude Code?
Run npx skills add ulpi-io/skills --skill codemap -a claude-code. The skill file is placed at ~/.claude/skills/codemap/SKILL.md.
What does the codemap skill do?
It uses the codemap CLI to search by meaning, find named symbols, and inspect repository dependency structure. It selects a command based on the question.
Does codemap need a repository index?
Yes. Its results depend on an index for the current repository. The skill refreshes a stale index and asks before creating project configuration with codemap init.