model-router
by Adalink · ★ 0 · updated 6 days ago
Classifica cada prompt via Vercel AI Gateway e roteia o turno para haiku, sonnet ou opus; /router fixa um tier
Install
/plugin marketplace add Adalink-ai/ada-mods/plugin install model-router@ada-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runprompt.submitturn.step- API calls
$.clock.sleep$.command.register$.env.get$.http.fetch$.state.get$.state.set$.ui.log$.ui.status- Can see
every prompt- Reach
- level 3 of 3 other: $.state.getother: $.state.setnetworkreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Adalink-ai/ada-mods
- Path in repo
model-router- Source commit
7587369the exact code the scan read- Author
- Adalink @Adalink-ai
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from Adalink-ai/ada-mods
adaflow-governance
Adalink-ai/ada-mods
Trilha de auditoria do Claude Code no Adaflow: /adaflow login (device flow) e envio em lote so de metadados (sessao, turno, ferramenta negada)
adaflow-guard
Adalink-ai/ada-mods
Guardrail para apps integrados ao Adaflow: impede vazar o app token (x-ada-token) para o browser, para o codigo-fonte ou para o transcript