skills/model-selection-guide/SKILL.md
Use when choosing between Claude models for a task — decision tree for Haiku/Sonnet/Opus based on task type, cost estimates, escalation triggers, and cascade patterns.
npx skillsauth add kienbui1995/magic-powers model-selection-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Step 1: Identify task type
Is this primarily reading + pattern matching + structured output?
→ Haiku (fast, cheap, accurate for structured tasks)
Examples: code review, lint check, classify intent, format output,
summarize doc, extract fields, check compliance
Is this implementation, debugging, or moderate reasoning?
→ Sonnet (balanced quality + cost)
Examples: write code, fix bug, explain concept, write tests,
analyze trade-offs (simple), build feature
Is this deep architecture, novel problem, or complex multi-step reasoning?
→ Opus (highest capability, use sparingly)
Examples: system design, architecture decisions, evaluate complex trade-offs,
research synthesis, "should we X or Y?" with many unknowns
Step 2: Apply cost heuristic
| Model | Relative cost | Speed | Best for | |-------|-------------|-------|---------| | Haiku | $ (1x) | Fastest | Review, classify, format, extract | | Sonnet | $$ (5x) | Fast | Implement, debug, explain, write | | Opus | $$$$ (15x) | Slower | Design, architecture, deep analysis |
Step 3: Check override conditions
Use Opus even for "simple" tasks if:
Use Haiku even for "complex" tasks if:
| Workflow | Phase | Agent | Model | Why | |---------|-------|-------|-------|-----| | feature | plan | @architect | Opus | Architecture decisions need deep reasoning | | feature | implement | subagent | Sonnet | Code generation, balanced | | feature | test | subagent | Sonnet | Test writing needs understanding | | feature | review | @reviewer | Haiku | Pattern matching, structured output | | bugfix | reproduce | subagent | Sonnet | Needs to understand codebase | | bugfix | diagnose | @debugger | Sonnet | Systematic debugging | | bugfix | fix | subagent | Sonnet | Code fix, minimal | | bugfix | verify | @reviewer | Haiku | Check fix completeness | | refactor | analyze | @architect | Opus | Understanding complex structure | | refactor | plan | @architect | Opus | Design target state | | refactor | implement | subagent | Sonnet | Mechanical refactoring | | refactor | review | @reviewer | Haiku | Pattern check | | research | gather | subagent | Sonnet | Information gathering | | research | synthesize | @architect | Opus | Complex reasoning over options | | research | document | @technical-writer | Haiku | Structured doc output | | incident | triage | @debugger | Sonnet | Fast diagnosis | | incident | hotfix | subagent | Sonnet | Minimal fix | | incident | postmortem | @technical-writer | Haiku | Structured template |
When uncertain, start cheaper and escalate only if needed:
1. Try Haiku → evaluate output quality
2. If insufficient → escalate to Sonnet → evaluate
3. If still insufficient → escalate to Opus
4. Never auto-escalate without notifying user of cost increase
| Task type | Model | Estimated cost | |-----------|-------|---------------| | Code review (500 lines) | Haiku | ~$0.01 | | Bug fix (small) | Sonnet | ~$0.05-0.15 | | Feature implementation | Sonnet | ~$0.10-0.50 | | Architecture design | Opus | ~$0.50-2.00 | | Research synthesis | Opus | ~$0.50-1.50 |
Cost reminder: Opus = 15x Haiku. Code review in Opus costs 15x more with same quality output.
workflow-templates — model assignments per phase come from this skill@workflow-model-advisor uses this as its decision framework@workflow-orchestrator reads model assignments when dispatching phase subagentscontent-media
Use when designing for XR (AR/VR/MR), choosing interaction modes, or adapting 2D UI patterns for spatial computing
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Use when executing a structured workflow — select and run a feature, bugfix, refactor, research, or incident template with correct agent and model assignments per phase.