From cartographer
Deep autonomous codebase exploration — traces behaviors end-to-end, creates boundaries by concern, builds navigable depth with sub-boundaries, enforces quality via cartographer_check_depth. Use when the user says explore, map, understand, or analyze deeply.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cartographer:exploreopusThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Verify tools work: call `cartographer_get_summary`. If it fails, stop and
Verify tools work: call cartographer_get_summary. If it fails, stop and
tell the user the Cartographer MCP tools are not connected.
Set the project root: cartographer_set_project.
Save a snapshot: cartographer_snapshot with label "pre-exploration".
Copy this checklist. Track progress. Do not skip items.
Exploration Progress:
- [ ] Orient: read project, understand what it does
- [ ] Behaviors: trace key behaviors end-to-end as slices (as many as the system warrants)
- [ ] Boundaries: cluster entities by concern, record boundaries
- [ ] Depth: create sub-boundaries (check_depth must pass)
- [ ] Perspectives: create at least one focused perspective
- [ ] Synthesis: report findings to user
Behaviors first. Identify what the system DOES, not what files it has. Trace each behavior from entry point to completion. Record entities as encountered: actors, capabilities, state, side effects, invariants, failure points. Record each path as a behavior slice.
Boundaries emerge from behaviors. After tracing flows, cluster entities that participate in the same behaviors. Name by concern ("authentication", "payment processing"), NEVER by directory ("src", "lib", "components").
Depth is mandatory. Every boundary with more than 3 entities must have sub-boundaries. Read the source for the key classes/functions inside each boundary. Create a child boundary. Record its internal capabilities, state, invariants as children.
Perspectives for navigation. Create at least one perspective for the
most important concern. If cartographer_create_perspective is unavailable,
skip gracefully — sub-boundaries and slices provide depth regardless.
Call cartographer_check_depth. Fix every issue it reports. Call it again.
Repeat until passed: true. Do NOT report to the user until it passes.
npx claudepluginhub miltonian/cartographer --plugin cartographerPerforms deep codebase exploration with parallel agents to discover architecture, find files, trace data flows, analyze patterns, and assess code health. Invoke for repo walkthroughs or feature tracing.
Produces evidence-cited maps of unfamiliar codebase areas with file:line references for every claim. Use before non-trivial changes, onboarding, or multi-module refactors.
Deeply explores existing codebases to map architecture, data flow, domain model, API surface, dependencies, and code health using read-only SubAgents.