Claude Code plugin that maps and documents codebases of any size using parallel AI subagents
A Claude Code plugin that maps and documents codebases of any size using parallel AI subagents.
Step 1: Add the marketplace to Claude Code:
/plugin marketplace add kingbootoshi/cartographer
Step 2: Install the plugin:
/plugin install cartographer
Step 3: Restart Claude Code (may be required for the skill to load)
Step 4: Use it:
/cartographer
Or just say “map this codebase” and it will trigger automatically.
Cartographer orchestrates multiple Sonnet subagents to analyze your entire codebase in parallel, then synthesizes their findings into:
docs/CODEBASE_MAP.md - Detailed architecture map with file purposes, dependencies, data flows, and navigation guidesCLAUDE.md with a summary pointing to the mapIf docs/CODEBASE_MAP.md already exists, Cartographer will:
Just run /cartographer again to update.
⚠️ NOTE: This skill spawns Sonnet subagents for accurate, reliable analysis. Depending on codebase size, this can use significant tokens. Be mindful of your usage.
You can ask Claude to use Haiku subagents instead for a cheaper run, but accuracy may suffer on complex codebases.
pip install tiktoken or uv pip install tiktokenSee plugins/cartographer/README.md for detailed documentation.
MIT