Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add AiAi-Mastermind/aiai-mastermind-tools-and-skills --skill model-routergit clone --depth 1 https://github.com/AiAi-Mastermind/aiai-mastermind-tools-and-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aiai-mastermind/aiai-mastermind-tools-and-skills/model-router)<a href="https://agentmods.dev/skills/aiai-mastermind/aiai-mastermind-tools-and-skills/model-router"><img src="https://agentmods.dev/badge/skills/aiai-mastermind/aiai-mastermind-tools-and-skills/model-router/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aiai-mastermind/aiai-mastermind-tools-and-skills/model-router"><img src="https://agentmods.dev/badge/skills/aiai-mastermind/aiai-mastermind-tools-and-skills/model-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.00765 |
| Opus 5.5 | $0.00013 | $0.00306 |
| Sonnet 5.5 | $0.00007 | $0.00153 |
| Haiku 4.5 | $0.00003 | $0.00076 |
Grade A, and why
model-router scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "${MODEL_ROUTER_URL:-http://127.0.0.1:8317}/v1/models" \ How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Model Router - routing knowledge
This skill teaches the three ways to run work on a routed model (any model your proxy serves), and how to switch models. The proxy is CLIProxyAPI running locally; it holds the user's OTHER subscription logins (ChatGPT/Codex, Gemini, Grok, Kimi). The main Claude session always stays on its normal direct login.
Configuration (shared by everything in this plugin)
| Env var | Default | Meaning |
|---|---|---|
MODEL_ROUTER_URL |
http://127.0.0.1:8317 |
proxy address |
MODEL_ROUTER_KEY |
my-proxy-key |
an api-keys entry from the proxy's config.yaml |
MODEL_ROUTER_MODEL |
gpt-5.6-sol |
default routed model |
MODEL_ROUTER_EFFORT |
low |
default worker effort |
Mode 1 - orchestrator + worker (the flagship): /fabsol <brief>
Your main model plans and verifies; the routed model does 100% of the building via headless calls. Cheapest way to ship real builds - see the fabsol command.
Mode 2 - one-shot worker run (any model, one task)
ANTHROPIC_BASE_URL="${MODEL_ROUTER_URL:-http://127.0.0.1:8317}" \
ANTHROPIC_AUTH_TOKEN="${MODEL_ROUTER_KEY:-my-proxy-key}" \
claude -p "the task" \
--model "${MODEL_ROUTER_MODEL:-gpt-5.6-sol}" \
--effort "${MODEL_ROUTER_EFFORT:-low}" \
--bare --max-turns 20 --permission-mode acceptEdits
Or use the wrapper: scripts/worker.sh "the task" [model] [effort]
(scripts/worker.ps1 on Windows).
Mode 3 - full session on a routed model (terminal or VSCode)
scripts/session.sh [model] (or session.ps1) launches a whole Claude Code
terminal session on the routed model. scripts/vscode.sh [folder] (or
vscode.ps1) does the same for a VSCode window - it uses a separate VSCode
profile dir because an already-running VSCode ignores new env vars. In such a
session, the plugin's worker subagent also resolves, so subagents can run on
routed models too.
Switching models
Any ID the proxy serves works everywhere a model is named. Discover what your proxy serves:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 70 lines · 33 tokens per session scan A 5e93ebb9815b
model-router is a skill published in the GitHub repository AiAi-Mastermind/aiai-mastermind-tools-and-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 765 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
model-router compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| model-routerAiAi-Mastermind/aiai-mastermind-tools-and-skills | Skill | 2 | 1mo ago | MIT | A | 33 | Claude Code |
| wiki-ingestAgriciDaniel/claude-obsidian | Skill | 17k | yesterday | MIT | A | 88 | Claude Code |
| autoresearchAgriciDaniel/claude-obsidian | Skill | 17k | yesterday | MIT | A | 80 | Claude Code |
| obsidian-basesAgriciDaniel/claude-obsidian | Skill | 17k | yesterday | MIT | A | 75 | Claude Code |
| wiki-retrieveAgriciDaniel/claude-obsidian | Skill | 17k | yesterday | MIT | A | 99 | Claude Code |
| wikiAgriciDaniel/claude-obsidian | Skill | 17k | yesterday | MIT | A | 84 | Claude Code |
| canvasAgriciDaniel/claude-obsidian | Skill | 17k | yesterday | MIT | A | 72 | Claude Code |