/plan
Thorough planning with research. Uses multiple researcher agents for comprehensive analysis.
Syntax
/plan:hard [task]
How It Works
- Pre-Creation Check: Checks for active plan in
.claude/active-plan - Research Phase: Multiple
researcheragents (max 2) research in parallel - Codebase Analysis: Reads docs; uses
/scoutifcodebase-summary.mdunavailable or >3 days old - Gather & Plan: Main agent gathers research/scout reports, passes to
plannersubagent - User Review: Asks for approval
Output Structure
plans/
โโโ YYYYMMDD-HHmm-plan-name/
โโโ research/
โ โโโ researcher-XX-report.md # Research findings
โโโ reports/
โ โโโ XX-report.md
โโโ scout/
โ โโโ scout-XX-report.md
โโโ plan.md # Overview (<80 lines)
โโโ phase-XX-name.md # Phase details
Research Limits
- Max 2 researcher agents in parallel
- Max 5 tool calls per researcher
- Reports โค150 lines each
When to Use
- Unfamiliar technology/library
- Complex architectural decisions
- Need best practices research
- External integrations
Comparison
| Command | Research | Speed |
|---|---|---|
/plan | Full | Medium |
/plan:fast | None | Fast |
/plan:hard | Deep | Slow |
Important: Does NOT start implementation. Use /code after approval.
Key Takeaway: Use /plan:hard when you need comprehensive research and detailed planning for complex tasks.