Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | -61% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -16% | 0% |
| case-21 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-06 | ✓→✗ | ▼ Worse | -41% | 0% |
| case-13 | ✓→✗ | ▼ Worse | 37% | 0% |
<objective> Analyze existing codebase using parallel gsd-codebase-mapper agents to produce structured codebase documents.
Each mapper agent explores a focus area and writes documents directly to .planning/codebase/. The orchestrator only receives confirmations, keeping context usage minimal.
Output: .planning/codebase/ folder with 7 structured documents about the codebase state. </objective>
<execution_context> @~/.claude/gsd-core/workflows/map-codebase.md </execution_context>
<flags>
--focus value: tech, arch, quality, concerns, or tech+arch (default). Faster and lower-context than the full map.query <term>, status, diff, refresh. Requires intel to be enabled in config (intel.enabled: true). Runs inline for query/status/diff; spawns an agent for refresh.</flags>
<context> Arguments: $ARGUMENTS
Parse the first token of $ARGUMENTS:
--fast: strip the flag, run the scan workflow (passing remaining args including optional --focus).--query: strip the flag, run the intel workflow (passing remaining args as the subcommand).Load project state if exists: Check for .planning/STATE.md - loads context if project already initialized
This command can run:
</context>
<when_to_use> Use map-codebase for:
Skip map-codebase for:
</when_to_use>
<process>
</process>
<success_criteria>
</success_criteria>
Other measured skills in the registry, with their headline benchmark lift.