원클릭으로
gsd-map-codebase
Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create detailed phase plan (PLAN.md) with verification loop
File a phase artifact into MemPalace; mirror decision facts into its temporal KG
Cross-AI plan convergence - replan until review concerns are resolved.
Generate an AI-SPEC.md design contract for phases that involve building AI systems.
Start a new milestone cycle — update PROJECT.md and route to requirements
Toggle which skills are surfaced — apply a profile, list, or disable a cluster without reinstall
| name | gsd-map-codebase |
| description | Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents |
| argument-hint | [--fast [--focus tech|arch|quality|concerns]] [--query <term>|status|diff|refresh] [area] |
| allowed-tools | ["Read","Bash","Glob","Grep","Write","Agent"] |
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.
<execution_context> @~/.claude/gsd-core/workflows/map-codebase.md </execution_context>
- **--fast**: Lightweight scan mode — spawns one mapper agent instead of four. Accepts an optional `--focus` value: `tech`, `arch`, `quality`, `concerns`, or `tech+arch` (default). Faster and lower-context than the full map. - **--query**: Codebase intelligence query mode. Sub-commands: `query `, `status`, `diff`, `refresh`. Requires intel to be enabled in config (`intel.enabled: true`). Runs inline for query/status/diff; spawns an agent for refresh. - **(no flag)**: Full parallel map — spawns 4 mapper agents to produce all 7 codebase documents. Arguments: $ARGUMENTSParse 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:
<when_to_use> Use map-codebase for:
Skip map-codebase for:
<success_criteria>