agent-selecting-models
Guidance for selecting appropriate AI model (sonnet vs haiku) based on task complexity, reasoning requirements, and performance needs. Use when implementing agents or justifying model selection.
npx skills add majiayu000/claude-skill-registry --skill agent-selecting-models --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Selecting AI Models for Agents Guidelines for choosing between sonnet and haiku models based on agent capabilities and task requirements. ## When This Skill Loads This Skill auto-loads when implementing agents or documenting model selection rationale. ## Available Models ### Sonnet (claude-sonnet-4-5) **Characteristics**: - Advanced reasoning capabilities - Complex decision-making - Deep pattern recognition - Sophisticated analysis - Multi-step orchestration - Higher cost, slower performance **Use for**: Complex, reasoning-intensive tasks ### Haiku (claude-haiku-3-5) **Characteristics**: - Fast execution - Straightforward tasks - Pattern matching - Simple decision-making - Cost-effective - Lower cost, faster performance **Use for**: Simple, well-defined tasks ## Decision Framework ### Use Sonnet When Task Requires: ✅ **Advanced Reasoning** - Analyzing technical claims for subtle contradictions - Distinguishing objective errors from subjective improvements - Detecting false positives in validation findings - Context-dependent decision-making - Inferring user intent from ambiguous requests ✅ **Complex Pattern Recognition** - Cross-referencing multiple documentation files - Identify
- When This Skill Loads
- Available Models
- Sonnet (claude-sonnet-4-5)
- Haiku (claude-haiku-3-5)
- Decision Framework
- Use Sonnet When Task Requires:
- Use Haiku When Task Is:
- Model Selection Matrix
- Agent-Specific Examples
- Sonnet Examples
- Haiku Examples
- Documenting Model Selection
- Model Selection Justification Pattern
- Placement in Agent Files
What does the agent-selecting-models skill do?
Guidance for selecting appropriate AI model (sonnet vs haiku) based on task complexity, reasoning requirements, and performance needs. Use when implementing agents or justifying model selection.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill agent-selecting-models --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
