Cartographer
Description
Claude Code plugin that maps and documents codebases of any size using parallel AI subagents
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Cartographer
A Claude Code plugin that maps and documents codebases of any size using parallel AI subagents.
Installation
**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.
What it Does
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 guides- Updates
CLAUDE.mdwith a summary pointing to the map
How it Works
- Runs a scanner script to get file tree with token counts (respects .gitignore)
- Plans how to split work across subagents based on token budgets
- Spawns Sonnet subagents in parallel - each analyzes a portion of the codebase
- Synthesizes all subagent reports into comprehensive documentation
Update Mode
If `docs/CODEBASE_MAP.md` already exists, Cartographer will:
- Check git history for changes since last mapping
- Only re-analyze changed modules
- Merge updates with existing documentation
Just run `/cartographer` again to update.
Token Usage
⚠️ **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.
Requirements
- tiktoken (for token counting):
pip install tiktokenoruv pip install tiktoken
Full Documentation
See [plugins/cartographer/README.md](plugins/cartographer/README.md) for detailed documentation.
License
MIT
Related Agents
Opencode
(60.8k ⭐) - The open source AI coding agent.
Data & AI Gemini CLI
(90.5k ⭐) - An open-source AI agent that brings the power of Gemini directly into your terminal.
Data & AI Chatgpt On Wechat
CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页
Data & AI Claude Mem
(13.1k ⭐) - A Claude Code plugin that automatically captures everything Claude does during your coding session
Data & AI Read research for Nyquist validation data
cat "$phase_dir"/*-RESEARCH.md 2>/dev/null node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" roadmap get-ph
Data & AI Multi Agent Review
| A sophisticated AI-powered code review system designed to provide comprehensive, multi-perspective a... | -
Data & AI