model-router
Skill1 starsChanged 15 days agoMITView on GitHub
Use only when the user sends a large task that can be split into parts, or says 'split it'. The current model breaks it down, delegates each part to the cheapest model that can do it well, and reviews the result.
25 other projects use a version of this.
Adopted by
Most recently taken up by
- ritmillio/skillstheir own version, first seen Nov 29, 2026
- ind4x/model-routertheir own version, first seen Nov 29, 2026
- ZbienVC/claude-skillstheir own version, first seen Nov 22, 2026
- anoopnair-aipm/frugal-claudetheir own version, first seen Nov 22, 2026
- Vortexyyy/model-router-skilltheir own version, first seen Nov 22, 2026
- anmol26rajput/agent-model-routertheir own version, first seen Nov 22, 2026
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- nidhi-singh02/agent-router★ 124same name
- tance-mang/chinese-webnovel-skills★ 97same name
- RandomNest/aivideo-production-skills★ 15same name
- ind4x/model-router★ 4same name
- manishk753/claude-model-router★ 3same name
- anmol26rajput/agent-model-router★ 2same name
- francoisdp/skills★ 2same name
- anoopnair-aipm/frugal-claude★ 1same name
- hamzzaqureshi/gravidex★ 1same name
- hugharcher5/claude-code-workflow★ 1same name
15 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Do not activate (just do the task yourself, without mentioning this skill) if:
- Distinctive: line 24
When in doubt, do not activate.
- Distinctive: line 38
If you are torn between two models for a part, pick the higher one: redoing work costs more than getting it right.
- Distinctive: line 39
Do not over-split: each part must be big enough for delegation to be worth the brief.
- Distinctive: line 40
Run independent parts in parallel.
- Very specific: line 52
Call the Agent tool with subagent_type: "general-purpose" and model: "haiku" or "sonnet".
- Distinctive: line 56
Start from the summaries. Open the result files only to check the "done" criterion and to look closely at anything doubtful or critical.
- Distinctive: line 57
If a part comes back weak, move it up one tier, once (Haiku → Sonnet → do it yourself).
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Model router
Goal: use less of the usage budget without losing quality. The conversation's model acts as orchestrator: it splits the task, delegates each part to the cheapest model able to do it well, then reviews and merges the results.
Having this skill installed is an explicit request from the user to use subagents whenever the activation conditions are met.
1. Activation: large tasks ONLY
Activate only if both conditions hold:
- It is large: it can be split into at least 2-3 parts, each involving substantial work (several files or documents to process, many searches, or a lot of text or code to produce).
- It can be split: each part can be described in a self-contained way, without relying on what was said earlier in the conversation.
Do not activate (just do the task yourself, without mentioning this skill) if:
- It is a question, a message, a small fix, or something that takes only a few steps.
- It depends heavily on the conversation so far, and explaining that to a subagent would cost more than doing the work.
- It is ambiguous, high-impact or hard to undo, or it is a medical or legal matter.
- There is no model cheaper than the current one to delegate to.
When in doubt, do not activate.
2. Split and assign
Models from cheapest to most expensive: Haiku < Sonnet < Opus < higher tiers. Delegate only to models cheaper than the conversation's model; delegating at the same tier saves nothing.
Give each part to the cheapest model that will do it well:
- Haiku: mechanical, well-defined work: extracting data, reformatting, classifying, renaming, batch conversion, summarizing simple documents, simple translations.
- Sonnet: most coding, text drafts, medium-complexity research, analysis with clear criteria, tests.
- Current model (keep it yourself): anything ambiguous, the overall design, judgment calls, and the final merge.
Rules:
- One task can be spread across several models. Do not force everything onto the same one.
- If you are torn between two models for a part, pick the higher one: redoing work costs more than getting it right.
- Do not over-split: each part must be big enough for delegation to be worth the brief.
- Run independent parts in parallel; run dependent parts afterwards.
3. Brief for each subagent
The subagent cannot see this conversation. Every brief includes:
- The goal of that part and how it fits into the whole.
- Concrete inputs (paths, data, links) and only the context it needs.
- Constraints and the exact output format (so merging is easy).
- A "done" criterion.
- How to deliver: "Save the full result to
<file path>and return only a 5-10 line summary: what you did, where it is, and any doubts or problems. Do not paste the full content in your reply." - "Do not make commits, pushes or pull requests." (unless the user explicitly asked for them in this task).
Call the Agent tool with subagent_type: "general-purpose" and model: "haiku" or "sonnet". Subagents never delegate further: the orchestrator always does the splitting.
4. Final review (proportionate)
- Start from the summaries. Open the result files only to check the "done" criterion and to look closely at anything doubtful or critical; do not reread everything line by line.
- If a part comes back weak, move it up one tier, once (Haiku → Sonnet → do it yourself).
- Merge the parts and deliver the result.
- Tell the user in one line how the work was split (which model did what).
5. If there is no Agent tool
Without subagents, the model cannot be changed from inside the session. Do the task and, if it was clearly Haiku- or Sonnet-level work, suggest in one line switching models in the model picker (or with /model in Claude Code).
6. Manual commands
These count only when the user gives them as an instruction about the task, not when a model is mentioned in passing. They work in any language (the equivalent phrase in the user's language counts).
- "split it": activate even if the task does not look large.
- "do it with haiku" / "do it with sonnet": send everything to that model, without evaluating.
- "no delegation": do it yourself.
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.

