| name | model-selection |
| version | 1.0.0 |
| category | ai |
| description | Guide AI model selection based on task complexity, cost constraints, and latency requirements |
| type | reference |
| capabilities | [] |
| requires | [] |
| see_also | [] |
| tags | [] |
| scripts_exempt | true |
Model Selection Skill
Version: 1.0.0
Category: Optimization
Triggers: Starting tasks, choosing Claude model, usage optimization
Quick Reference
Model Selection Decision Tree
NEW TASK
โ
โโโ WORK REPO + COMPLEX โ OPUS
โโโ WORK REPO + STANDARD โ SONNET
โโโ PERSONAL + SIMPLE โ HAIKU
โโโ DEFAULT โ SONNET
Quick Selection Guide
| Model | Target % | Use For |
|---|
| OPUS | 30% | Architecture, multi-file refactoring (>5 files), security review |
| SONNET | 40% | Standard implementations, code review, documentation |
| HAIKU | 30% | Quick queries, status checks, simple operations |
Automated Model Suggestion
./scripts/monitoring/suggest_model.sh <repository> "<task description>"
./scripts/monitoring/suggest_model.sh digitalmodel "Design authentication architecture"
./scripts/monitoring/suggest_model.sh digitalmodel "Implement user login"
./scripts/monitoring/suggest_model.sh hobbies "Quick file check"
Complexity Scoring
Algorithm evaluates:
- Keywords - architecture/refactor โ +3, implement/feature โ +1, check/status โ -2
- Repository Tier - Work Tier 1 โ +1, Personal โ -1
- Task Length - >15 words โ +1, <5 words โ -1
Score Mapping:
- Score โฅ3: OPUS
- Score 0-2: SONNET
- Score <0: HAIKU
Repository Tiers
Work Repositories
Tier 1 (Production): 60% Opus, 30% Sonnet, 10% Haiku
- digitalmodel, energy, client-a