repomap
Installation
SKILL.md
Repomap
When to Activate
- Claude Code session starts on an unfamiliar or large codebase
- User runs
/repomapto refresh the injected context map - Context window is clean and a codebase overview would orient Claude faster
- Working in a multi-service monorepo where key entry points aren't obvious
What It Does
Generates a compact codebase snapshot and injects it into the session context:
- Hot files — files most recently modified (from
git log) are shown first - Key symbols — exported functions, classes, and interfaces extracted via language-specific regex (no tree-sitter required)
- File tree summary — grouped by top-level directory with file counts
- Cache — result stored in
.clarc/repomap.txt, refreshed every 24h automatically
This mirrors Aider's repomap concept but uses zero-dependency Node.js (git + regex) instead of tree-sitter.