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.
git clone --depth 1 https://github.com/sifxprime/kodelyth-eccWrote 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/commands/sifxprime/kodelyth-ecc/route-model)<a href="https://agentmods.dev/commands/sifxprime/kodelyth-ecc/route-model"><img src="https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/route-model/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/commands/sifxprime/kodelyth-ecc/route-model"><img src="https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/route-model.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.00029 | $0.00402 |
| Opus 5.5 | $0.00012 | $0.00161 |
| Sonnet 5.5 | $0.00006 | $0.00080 |
| Haiku 4.5 | $0.00003 | $0.00040 |
Grade A, and why
route-model scanned grade A with 0 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/route-model
Get an immediate model-tier recommendation for the current task. Combines the cost-aware-model-routing rule, the project's .kodelythecc/router.json config, and the active session's token-budget pressure.
Usage
/route-model
/route-model rename getUserName to getUserDisplayName
/route-model audit the new oauth flow for vulnerabilities
/route-model devil-mode adversarial sweep on the payments module
If you don't pass a task, the AI infers it from the most recent user turn.
What you get back
A single, scannable block:
[model-router] task=<tier> · suggested=<model-id> · current=<active>
why: <one-line reason>
next: <how to switch>
If you're already on the right tier, the AI routes silently and confirms in one line.
Behind the scenes
- Pure deterministic classifier (no LLM call) at
scripts/router/classify.js. - Project config:
.kodelythecc/router.json(override per team). - Env-var overrides:
KODELYTH_ROUTER_{TRIVIAL,STANDARD,HARD,DEFAULT}. - Disable with
KODELYTH_ROUTER=off. - Pairs with the
token-budgetsafety hook for spend control.
Hard rules
- Security / incident / adversarial agents never downgrade.
- Production framing ("down", "leaking", "outage") → hard tier.
- Multi-file refactors (3+) never go to trivial.
- Respect explicit user model choices unless new signals conflict.
See: rules/common/cost-aware-model-routing.md, skills/cost-aware-model-routing/SKILL.md.
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 First seen · 49 lines · 29 tokens per session scan A 36508f714ba6
route-model is a command published in the GitHub repository sifxprime/kodelyth-ecc (12 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 402 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
route-model compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| route-modelsifxprime/kodelyth-ecc | Command | 12 | today | MIT | A | 29 | Claude Code |
| episodeEZotoff/ez-omo-config | Command | 6 | 1mo ago | MIT | A | 11 | Claude Code |
| review-agent-configkunalsuri/ai-fication-kit | Command | 3 | 1mo ago | Apache-2.0 | A | 41 | GitHub Copilot |
| cluster-instinctssairam0424/MindForge | Command | 1 | 17d ago | MIT | A | 47 | Claude Code |
| session-infoEZotoff/ez-omo-config | Command | 6 | 1mo ago | MIT | A | 19 | Claude Code |
| cold-startkunalsuri/ai-fication-kit | Command | 3 | 1mo ago | Apache-2.0 | A | 28 | GitHub Copilot |
| create-feature-catalogkunalsuri/ai-fication-kit | Command | 3 | 1mo ago | Apache-2.0 | A | 21 | GitHub Copilot |