pick-model
Skill10 starsChanged 4 months agoMITView on GitHub
Recommend optimal Claude model (haiku/sonnet/opus) for a task. Use when user asks "which model", "pick model", "model for", or before starting costly/complex tasks. Covers tech and non-tech tasks.
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/agentic-harness/skill-quality-auditor/AGENTS.mdAGENTS.md
- skills/development/biome-complete/AGENTS.mdAGENTS.md
- skills/development/bun-development/AGENTS.mdAGENTS.md
- skills/development/commanderjs/AGENTS.mdAGENTS.md
- skills/documentation/markdown-authoring/AGENTS.mdAGENTS.md
- skills/package-mgmt/mise-complete/AGENTS.mdAGENTS.md
- skills/testing/bdd-testing/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agents-mdSkill
- cache-auditSkill
- context-radar-auditSkill
- create-contextSkill
- guided-interviewSkill
- handover-document-creatorSkill
- load-contextSkill
- pinSkill
- professional-honestySkill
- rules-managementSkill
- save-contextSkill
- session-reflectionSkill
- skill-quality-auditorSkill
- socratic-methodSkill
- vault-captureSkill
- vault-consolidateSkill
- vault-fetchSkill
- vault-searchSkill
- bird-fortune-political-satireSkill
- brooker-esque-media-satireSkill
- clarke-dawe-esqueSkill
- comedy-style-skill-generatorSkill
- cunk-esque-mockumentarySkill
- gervais-esque-cringe-satireSkill
- monty-python-esqueSkill
- pryor-esque-confessional-standupSkill
- rock-esque-observational-standupSkill
- biome-completeSkill
- bun-developmentSkill
- commanderjsSkill
- adr-creatorSkill
- conventional-commitsSkill
- humanizerSkill
- journal-entry-creatorSkill
- journal-entry-importSkill
- markdown-authoringSkill
- mermaid-diagramsSkill
- plain-englishSkill
- professional-communicationSkill
- sop-structureSkill
- logql-generatorSkill
- mise-completeSkill
- context-indexSkill
- create-context-fileSkill
- follow-upSkill
- goal-trackerSkill
- nasa-pm-lessonsSkill
- plan-createSkill
- plan-executeSkill
- plan-reviewSkill
- risk-registerSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 13 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
Novelty: No established pattern, novel algorithm, cutting-edge tech → +1 tier
- Distinctive: line 74
Cap at Opus: If multiple escalators apply, still cap at Opus (don't "double upgrade").
- Distinctive: line 81
Default rule: When in doubt, go one tier up (better quality > cost savings)
- Distinctive: line 171
When a user asks "which model should I use for this task?" before starting work
- Distinctive: line 172
When selecting between multiple LLM tiers for an automated agent workflow or pipeline
- Distinctive: line 173
When cost vs capability tradeoff needs to be explicit (e.g.
- Distinctive: line 174
When an agent must self-assign a model for a sub-task without human input
- Distinctive: line 175
When an existing workflow is over-spending on frontier models for simple tasks
- Distinctive: line 179
When the model is already fixed by infrastructure constraints (e.g.
- Distinctive: line 180
When the task has already been completed and model selection is moot
- Distinctive: line 181
When the user is asking about non-Claude providers and needs a cross-vendor comparison tool
- Distinctive: line 182
When fine-tuned or domain-specific models are the deciding factor, not tier
- Distinctive: line 183
When the decision depends on real-time pricing data not available in this skill
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pick Model
Classify user's task → recommend optimal model with reasoning.
Instructions
- Parse task description from
$ARGUMENTS - Classify against decision matrix below
- Output recommendation using format template
Decision Matrix
Technical Tasks
| Model | When to Use |
| 🟢 Haiku | Simple transforms, formatting, regex, typo fix, status query, template fill, data extraction, factual lookup (no reasoning), file conversion |
| 🟡 Sonnet | Single-file coding, bug fix, code review, moderate debugging, test writing, PR review, standard refactoring, technical docs, API integration (known patterns) |
| 🔴 Opus | Multi-file refactor (3+ files), architecture/design decisions, complex debugging (multi-system), framework migration, security audit, novel algorithm design, system design with trade-offs |
Business & Strategy Tasks
| Model | When to Use |
| 🟢 Haiku | Summarization (<2K words), data extraction, status reports, simple translations, template filling, meeting notes formatting |
| 🟡 Sonnet | Content creation (blog, email, docs), research summaries, competitive analysis, standard business writing, persuasive proposals, marketing copy, customer communications |
| 🔴 Opus | Strategic planning, business model design, M&A analysis, organizational design, change management plans, competitive strategy, market entry decisions, crisis response, stakeholder management (competing interests), long-form reports (>2K words), executive presentations with nuance |
Creative & Analysis Tasks
| Model | When to Use |
| 🟢 Haiku | Basic formatting, simple data viz suggestions, straightforward categorization |
| 🟡 Sonnet | Creative writing, brainstorming (single framework), persona development, user research synthesis, A/B test analysis, survey analysis |
| 🔴 Opus | Multi-framework brainstorming (SCAMPER + Starbursting + trade-off analysis), cross-session pattern detection, bias identification, retrospective analysis, ethical reasoning, strategic foresight, scenario planning |
Commands, Skills, Agents
| Model | When to Use |
| 🟢 Haiku | Simple conversions (PDF, EPUB), format checks, simple utilities, minimal reasoning |
| 🟡 Sonnet | Standard workflows, context management, serialization, most skills/commands (DEFAULT) |
| 🔴 Opus | Strategic analysis (brainstorm, retrospectives), multi-framework reasoning, high-stakes decisions, pattern detection across sessions |
Complexity Escalators
Upgrade one tier if task has ANY of these signals:
Technical Escalators
- Ambiguity: Underspecified requirements, multiple valid interpretations → +1 tier
- Scope: Affects 3+ files/systems/components → +1 tier
- Stakes: Production system, security, data-loss risk, regulatory compliance → +1 tier
- Novelty: No established pattern, novel algorithm, cutting-edge tech → +1 tier
Business Escalators
- Multiple stakeholders: Competing interests, need to balance trade-offs → +1 tier
- Strategic impact: Long-term consequences, irreversible decisions, organizational change → +1 tier
- Political sensitivity: Layoffs, restructuring, executive communications, crisis → +1 tier
- Cross-functional: Requires synthesis across domains (tech + business + legal) → +1 tier
Cognitive Escalators
- Pattern detection: Requires analyzing trends across multiple data points/sessions → +1 tier
- Bias identification: Needs to spot blindspots, cognitive biases, assumptions → +1 tier
- Ethical reasoning: Moral ambiguity, fairness considerations, unintended consequences → +1 tier
- Multi-framework: Applying 2+ analytical frameworks simultaneously → +1 tier
Cap at Opus. If multiple escalators apply, still cap at Opus (don't "double upgrade").
Decision Guidance
When uncertain between two models:
- Haiku vs Sonnet: Does it require any reasoning/judgment? → Sonnet
- Sonnet vs Opus: Are there trade-offs to balance or multiple valid approaches? → Opus
- Default rule: When in doubt, go one tier up (better quality > cost savings)
Quality vs Cost trade-offs:
- Cost-sensitive: Batch processing, exploratory work, drafts → prefer lower tier
- Quality-critical: Customer-facing, executive, production, irreversible → prefer higher tier
- Iteration-friendly: Can easily retry with higher tier if insufficient → start lower
Speed considerations:
- Haiku is ~3-5x faster than Sonnet, ~10x faster than Opus
- For latency-sensitive workflows (UI feedback, real-time), prefer Haiku/Sonnet
- For batch/async work, speed matters less than quality
Output Format
[emoji] **[Model]** — [1-line reason]
💰 Cost: [lowest/medium/highest] | ⚡ Speed: [fastest/medium/slowest]
💡 [Optional: "Consider [other model] if [condition]"]Example output:
🔴 **Opus** — Multi-stakeholder strategic decision with trade-offs
💰 Cost: highest | ⚡ Speed: slowest
💡 Consider Sonnet if this is exploratory (draft) rather than final recommendationExamples
Technical Tasks
| Task | Recommendation | Rationale |
| "fix typo in README" | 🟢 Haiku | Trivial single edit, no reasoning |
| "convert PDF to markdown" | 🟢 Haiku | Simple conversion, no decisions |
| "debug flaky integration test" | 🟡 Sonnet | Single-system debugging, moderate reasoning |
| "refactor auth across 15 files" | 🔴 Opus | Multi-file (3+ escalator) + architectural decisions |
| "design database schema for e-commerce" | 🔴 Opus | Architectural decision with trade-offs, long-term impact |
| "plan microservices migration strategy" | 🔴 Opus | Complex architectural planning + strategic impact escalator |
Business & Strategy
| Task | Recommendation | Rationale |
| "summarize this meeting transcript" | 🟢 Haiku | Simple text transformation, <2K words |
| "extract action items from notes" | 🟢 Haiku | Data extraction, no reasoning |
| "write blog post about AI trends" | 🟡 Sonnet | Creative writing, moderate reasoning |
| "draft sales proposal for enterprise client" | 🟡 Sonnet | Persuasive writing, moderate reasoning |
| "analyze competitor pricing strategy" | 🟡 Sonnet | Research/analysis, single framework |
| "plan market entry strategy for Europe" | 🔴 Opus | Strategic impact + cross-functional + ambiguity escalators |
| "design organizational restructuring plan" | 🔴 Opus | Political sensitivity + multiple stakeholders + strategic impact |
| "M&A due diligence analysis" | 🔴 Opus | Strategic stakes + cross-functional synthesis required |
| "crisis communication plan for data breach" | 🔴 Opus | Political sensitivity + stakes + multiple stakeholders |
Creative & Analysis
| Task | Recommendation | Rationale |
| "translate paragraph to French" | 🟢 Haiku | Simple language transform, no reasoning |
| "brainstorm product names (single session)" | 🟡 Sonnet | Creative generation, moderate reasoning |
| "brainstorm with SCAMPER + trade-off analysis" | 🔴 Opus | Multi-framework escalator (SCAMPER + weighted scoring) |
| "retrospect: analyze collaboration patterns" | 🔴 Opus | Pattern detection + bias identification escalators |
| "identify blindspots in strategy" | 🔴 Opus | Bias identification + ethical reasoning escalators |
| "plan 3-day conference with speakers" | 🔴 Opus | Complex scheduling + multiple stakeholders + constraints |
Commands, Skills, Agents
| Task | Recommendation | Rationale |
| "command: convert EPUB to markdown" | 🟢 Haiku | Simple workflow, minimal reasoning |
| "command: save session context" | 🟡 Sonnet | Context management, serialization logic |
| "command: brainstorm with research + SCAMPER" | 🔴 Opus | Multi-framework escalator + strategic analysis |
| "command: retrospect domain learnings" | 🔴 Opus | Pattern detection across sessions + bias identification |
| "skill: format code with prettier" | 🟢 Haiku | Simple deterministic task |
| "skill: standard workflow implementation" | 🟡 Sonnet | Standard workflow, moderate reasoning |
| "agent: explore codebase architecture" | 🔴 Opus | Complex exploration + architectural synthesis |
Philosophy
- Right-size, don't default up — the cheapest model that meets quality requirements is the correct choice; upgrading is easy, right-sizing takes discipline.
- Task type over task size — model selection depends on reasoning complexity, not the volume of text or files involved.
- Tier aliases over model names — use fast/balanced/reasoning tiers; specific model names change; tier semantics persist.
- Escalate explicitly — if a lower tier fails, escalate with a documented reason rather than defaulting to the top tier always.
When to Use
- When a user asks "which model should I use for this task?" before starting work
- When selecting between multiple LLM tiers for an automated agent workflow or pipeline
- When cost vs capability tradeoff needs to be explicit (e.g. batch jobs, production routing)
- When an agent must self-assign a model for a sub-task without human input
- When an existing workflow is over-spending on frontier models for simple tasks
When Not to Use
- When the model is already fixed by infrastructure constraints (e.g. a provider only offers one model)
- When the task has already been completed and model selection is moot
- When the user is asking about non-Claude providers and needs a cross-vendor comparison tool
- When fine-tuned or domain-specific models are the deciding factor, not tier
- When the decision depends on real-time pricing data not available in this skill
Anti-Patterns
- NEVER default to the most powerful model for every task — Oversized models inflate costs without quality gain on simple tasks. Why: A haiku/flash-class model handles classification and routing at 10x lower cost.
- NEVER pick a model based on benchmark leaderboards alone — Benchmark tasks often differ from production workloads. Why: Real task performance depends on prompt structure, context length, and domain specificity.
NEVER hardcode model names in agent workflows — Providers rename and deprecate models frequently. Why: Hardcoded names break silently on deprecation; use model tier aliases (fast/balanced/reasoning).
# BAD - pinned to a specific model id; breaks silently when the vendor retires it routing: summarizer: claude-3-haiku-20240307 reviewer: claude-3-opus-20240229 # GOOD - tier alias resolved to a current model id at runtime routing: summarizer: fast # resolves to whichever model is the current fast tier reviewer: reasoning # resolves to whichever model is the current reasoning tierNEVER skip escalator checks for ambiguous tasks — Underestimating complexity leads to poor output requiring costly reruns. Why: A single missed escalator (e.g. multi-stakeholder, security risk) can push a task from Sonnet to Opus quality requirements.
# BAD - classifies on task label alone, ignores escalator signals Task: "refactor the auth module" -> Sonnet (looks like "single-file coding") # GOOD - checks escalators before committing to a tier Task: "refactor the auth module" Escalators checked: touches 3+ files (Scope) + handles credentials (Stakes) -> Opus (two escalators fired; Sonnet would under-resource this)- NEVER conflate speed preference with model tier — Choosing Haiku solely for latency on a reasoning-heavy task produces wrong answers. Why: Speed and capability are separate dimensions; use the decision matrix first, then consider latency constraints.
Usage Examples
Selecting a model for a code review task:
# Task: review 200-line TypeScript file for bugs
# Tier: balanced (Sonnet-class) — reasoning needed but not frontier
# Escalators: none (single file, no production risk flagged)
# Output: model alias + rationale
# -> Recommendation: Sonnet — single-file code review, moderate reasoning requiredRouting a summarization request:
# Task: summarize 5 meeting notes into bullet points
# Tier: fast (Haiku-class) — no complex reasoning needed
# Escalators: none (<2K words, no stakeholder trade-offs)
# -> Recommendation: Haiku — simple text transformation, no judgment requiredClassifying a strategic planning task:
# Task: design a market entry strategy for a new region
# Tier: reasoning (Opus-class)
# Escalators: strategic impact + cross-functional synthesis + ambiguity
# -> Recommendation: Opus — multiple escalators detected (strategic impact, ambiguity, cross-functional)References
- Reference — extended decision matrix by file type and domain, cost/latency tradeoffs, edge cases, hybrid task patterns, and common mistakes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

