llm-model-selection
Skill2 starsChanged 6 months agoMITView on GitHub
Select the right LLM for a task by consulting benchmarks and real performance data. Use when choosing between models (chatbot, agent, text classification, code generation, etc.), comparing model performance, or validating model availability and pricing.
In this repository30 other files it gives its agents.
- adr-spec-gateSkill
- agent-continuity-loopSkill
- agent-flywheelSkill
- agent-runtime-paritySkill
- business-guardrailsSkill
- compact-instructionsSkill
- debug-protocolSkill
- dns-and-whois-toolsSkill
- docs-as-codeSkill
- engineering-standardsSkill
- excellence-no-intermediatesSkill
- git-pr-rulesSkill
- hooks-for-enforcementSkill
- hooks-multi-tool-paritySkill
- iac-first-commitSkill
- impact-metrics-gateSkill
- large-payload-completenessSkill
- ledger-auto-updatesSkill
- local-service-autostartSkill
- multi-phase-sessionSkill
- new-projectSkill
- notion-apiSkill
- notion-batch-patternSkill
- observability-when-to-addSkill
- permanent-learning-protocolSkill
- progress-md-businessSkill
- reactive-integration-designSkill
- secure-secret-inputSkill
- tokens-taxonomySkill
- version-bump-rulesSkill
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 8
When a task requires you to recommend or select an LLM for a specific use case, follow a systematic process before defaulting to a …
- Distinctive: line 12
If you or your team have already run benchmarks (bake-offs) for similar use cases, that prior data is more valuable than generic …
- Distinctive: line 16
You avoid redundant work: If you've already benchmarked "agent reasoning on financial data," reuse that result instead of re-running it on …
- Distinctive: line 18
If an existing benchmark covers your use case: use the winner as your default choice.
- Distinctive: line 22
If your use case diverges from existing benchmarks, narrow the test scope and run a fresh benchmark:
- Distinctive: line 29
When re-benchmarking, use existing benchmarks as prior signals — especially for known weaknesses (e.g., "GPT models historically fail at …
- Distinctive: line 35
Check the model catalog (OpenRouter, Claude API, Together.ai, local LLM registry, etc.) for current slugs and availability.
- Distinctive: line 38
Check availability in your region — some models are geo-gated.
- Distinctive: line 44
If you have no prior benchmarks and no time to run one, generic leaderboards (Artificial Analysis, Vellum, HELM, MMLU rankings) are a …
- Distinctive: line 58
Ignoring the "why" of a choice: If you can't explain why Model A beats Model B for *your* task (beyond "it scored higher on a generic …
- Distinctive: line 65
Validate live: Check model availability, pricing, and context window on the current API before finalizing the choice.
- Distinctive: line 66
Document the decision: Write down the criteria, the benchmark (if any), and the runner-up models.
- Distinctive: line 70
All AI agent frameworks and development environments (Claude Code, Cursor, etc.).
≈ “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
LLM Model Selection — Consult Benchmarks Before Choosing
When a task requires you to recommend or select an LLM for a specific use case, follow a systematic process before defaulting to a well-known model name:
1. Check Existing Benchmarks First
If you or your team have already run benchmarks (bake-offs) for similar use cases, that prior data is more valuable than generic leaderboards. Reasons:
- Context-specific results trump averages. A model that ranks #2 on MMLU may rank #1 on your specific task (code generation, legal analysis, math reasoning).
- Real-world performance differs from benchmark suites. Generic leaderboards test broad knowledge; your task has specific constraints (latency budget, cost per call, long-context handling, instruction-following precision).
- You avoid redundant work. If you've already benchmarked "agent reasoning on financial data," reuse that result instead of re-running it on a similar financial-domain task.
If an existing benchmark covers your use case: use the winner as your default choice. Note the selection criteria so you can explain the decision.
2. When to Re-Benchmark
If your use case diverges from existing benchmarks, narrow the test scope and run a fresh benchmark:
- Scope mismatch: existing benchmark was for "summarization" but your task is "multi-step reasoning with chain-of-thought"
- Different constraints: existing test was on 4K-token documents; you need 100K-token handling
- New model release: new frontier models are available since the last benchmark
- Cost/latency window changed: you now have stricter latency budget or cost ceiling
When re-benchmarking, use existing benchmarks as prior signals — especially for known weaknesses (e.g., "GPT models historically fail at precise JSON output; Claude handles it better"). This lets you design a test that's smaller and faster than the original.
3. Always Validate Availability & Pricing Live
Never trust model names or pricing from memory or old docs. Models are deprecated, renamed, and repriced frequently. Always query the live API or vendor's current listing:
- Check the model catalog (OpenRouter, Claude API, Together.ai, local LLM registry, etc.) for current slugs and availability.
- Validate pricing — per-1M-token costs change, some models graduate from beta pricing.
- Confirm context window — older docs may list smaller limits than current releases.
- Check availability in your region — some models are geo-gated.
This query takes seconds and prevents selecting a model that no longer exists or is no longer cost-effective for your budget.
4. Generic Leaderboards as a Last Resort
If you have no prior benchmarks and no time to run one, generic leaderboards (Artificial Analysis, Vellum, HELM, MMLU rankings) are a starting point, not the final answer. Use them to identify promising candidates, then ask yourself:
- Does this leaderboard test my actual constraints? (e.g., a leaderboard for "general knowledge" doesn't predict performance on specialized code generation)
- What does the test suite optimize for? (latency, reasoning depth, factuality, instruction-following?) Does it match your priorities?
- Are the costs/latencies published alongside the scores? A model that's 1% more accurate but 10× slower may be the wrong choice.
From the leaderboard's top candidates, pick 2–3 contenders and run a small focused benchmark (10–20 examples from your real task) before committing.
Anti-Patterns to Avoid
- Treating leaderboards as oracle: "Claude scores highest on MMLU, so it's best for my task." Not necessarily — your task may have different structure.
- Choosing based on brand or hype: "Everyone uses GPT-4, so use that." Popular ≠ optimal for your use case.
- Assuming past performance is current: Model versions change, pricing shifts, availability in your region may be different. Revalidate.
- Benchmarking once and never updating: New models release every few months. Revisit selection every 3–6 months if your task is mission-critical.
- Ignoring the "why" of a choice: If you can't explain why Model A beats Model B for your task (beyond "it scored higher on a generic test"), you've chosen prematurely.
Workflow Summary
- Do you have past benchmark data for this use case? → Use the winner; document why it was chosen.
- Does your use case differ from past benchmarks? → Design a focused benchmark for the differing part; use past results as priors.
- Do you have time/budget to benchmark? → Run a small (10–20 example) test on top candidates from leaderboards.
- Validate live: Check model availability, pricing, and context window on the current API before finalizing the choice.
- Document the decision: Write down the criteria, the benchmark (if any), and the runner-up models. This helps future decisions and justifies the choice to stakeholders.
Applies To
- All AI agent frameworks and development environments (Claude Code, Cursor, etc.).
- Any task involving LLM selection, from personal projects to production systems.
- Works for API-based models (OpenRouter, Anthropic, OpenAI, Mistral, etc.) and self-hosted models (Ollama, vLLM, local quantized runs).
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.

