/ferrox-core:ferrox-map-codebase [--fast [--focus tech|arch|quality|concerns]] [--query <term>|status|diff|refresh] [area]from Ferrox Factory
Maps unfamiliar codebases using parallel agents that write structured documents (STACK.md, ARCHITECTURE.md, etc.) to .planning/codebase/. Supports fast scan and query modes.
Ships in Ferrox Factory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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/ferrox-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>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ferroxlabs/ferrox-factory --plugin ferrox-core81 skills in this plugin
/ferrox-add-testsSomething was built and you want tests covering what it promised to do/ferrox-ai-integration-phaseA step involves building an AI system and you want its design and evals pinned down first/ferrox-audit-fixYou want issues found, classified, fixed, tested and committed without steering each one/ferrox-audit-milestoneA milestone looks done and you want it checked against what you originally asked for/ferrox-audit-uatYou want every outstanding verification item across all steps gathered in one place/ferrox-autonomousBuild every remaining step by itself, discuss then plan then execute, pausing on decisionsOther plugins' skills for the same job