Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/BASHBOP/otitonpx agentmods add skills/bashbop/otito/model-routerWrote 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/bashbop/otito/model-router)<a href="https://agentmods.dev/skills/bashbop/otito/model-router"><img src="https://agentmods.dev/badge/skills/bashbop/otito/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/bashbop/otito/model-router"><img src="https://agentmods.dev/badge/skills/bashbop/otito/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.00099 | $0.02096 |
| Opus 5.5 | $0.00040 | $0.00838 |
| Sonnet 5.5 | $0.00020 | $0.00419 |
| Haiku 4.5 | $0.00010 | $0.00210 |
Grade B, and why
model-router scanned grade B with 2 findings 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 2mo 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
curl -s -X POST http://127.0.0.1:7801/ingest -H 'content-type: application/json' -d '{"request":"<the user request>","source":"skill"}' Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
1. **Already running, on this repository?** Check `curl -s -m 1 http://127.0.0.1:7801/health` and read the `repo` field it returns. A canvas is fixed to one repository when it starts and will not follow yours, so an answ How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Model router (host-agnostic)
Goal: spend premium models only when the task needs them. Works with any ML coding host, including agents launched inside Herdr panes. Otito scores cost/safety; this skill chooses the model tier.
This is routing, not orchestration. Do not spawn multi-agent loops.
When to run
At the start of a user request (before large context packs or edits), unless the user already pinned a model.
Re-score if the task clearly escalates (e.g. "quick typo" becomes a multi-module refactor).
Step 1 — Score the task
A. Prefer Otito's router (when MCP/CLI is available)
otito route <repo> "<task>" --json
# MCP: model_route { query, path, host? }
# Herdr: herdr plugin action invoke bashbop.otito.model-route
model_route returns the tier directly, with AX, the risk bumps, and — when TYPESAFE_API_KEY is set in the server's environment — a System One read of the request. model.source says jev or offline. Use its tier as is: the router already applied its own risk and no-evidence bumps, so the AX bump rule below does not apply to it.
Only AX available (an older otito)? Score it and map it yourself:
otito ax "<task>" --path <repo> --json
# MCP: agent_experience { query, path }
| AX | Tier |
|---|---|
| ≥ 75 | cheap |
| 45–74 | mid |
| < 45 | premium |
If Containment is very low (< 20) or risk paths include auth/payments/migrations, bump one tier (cheap→mid, mid→premium) even if AX is high.
B. Heuristic rubric (no Otito)
Start at 50. Adjust:
| Signal | Delta |
|---|---|
| Single file, docs/typo/comment, rename in one place | +30 |
| Clear bugfix with known file + existing tests | +15 |
| New feature in one module, happy-path tests exist | 0 |
| Cross-module / API+web contract | −15 |
| Auth, payments, migrations, crypto, PII, permissions | −25 |
| Ambiguous product ask, architecture, or incident debug | −20 |
| User said “quick”, “nit”, “typo”, “rename” | +20 |
| User said “careful”, “production”, “security”, “design” | −20 |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · +9 lines · +6 tokens per session 15d475a59341
- 2mo ago Changed · +117 lines scan A → B dd3d6093540f
- 2mo ago First seen · 41 lines · 93 tokens per session scan A ffbb8e45454d
model-router is a skill published in the GitHub repository BASHBOP/otito (2 stars, last pushed 2mo ago), licensed MIT. It adds 99 tokens to every session and 2,096 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.
model-router compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| model-routerBASHBOP/otito | Skill | 2 | 2mo ago | MIT | B | 99 | Claude Code, Codex |
| context-recoverySakuraByteCore/codexmate | Skill | 357 | yesterday | Apache-2.0 | A | 72 | Claude Code, Codex |
| kanban-tasksjin-bo/agentao | Skill | 316 | 8d ago | MIT | A | 221 | Claude Code, Codex |
| capturePerpetualSoftware/pad | Skill | 210 | today | Apache-2.0 | A | 10 | Claude Code |
| onboardPerpetualSoftware/pad | Skill | 210 | today | Apache-2.0 | A | 11 | Claude Code |
| ocrjin-bo/agentao | Skill | 316 | 8d ago | MIT | A | 99 | Claude Code, Codex |
| daily-digestjin-bo/agentao | Skill | 316 | 8d ago | MIT | A | 18 | Claude Code, Codex |