model-router

by Dicky Adrian · ★ 0 · updated 19 Oct 2026

ToastsCommandswarnings

0

Logs how hard each prompt is and what every turn costs, to measure whether routing easy prompts to a cheaper model would pay off

install model-router

Install

git clone https://github.com/dickyadrian/agent-toolbelt
claude --plugin-dir ./agent-toolbelt/plugins/model-router

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.runturn.startturn.stepturn.complete
API calls
$.agent.list$.clock.after$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.http.fetch$.model.classify$.session.id$.session.usage$.ui.log$.ui.toast
Reach
level 3 of 3 networkwrites filesdrives Claudereads filesreads 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/dickyadrian/agent-toolbelt
Path in repo
plugins/model-router
Source commit
6602d96 the exact code the scan read
Author
Dicky Adrian @dickyadrian
License
MIT
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 dickyadrian/agent-toolbelt

context-gauge

dickyadrian/agent-toolbelt

How full the context window is, split into setup and chat, above the prompt once it passes a threshold

★ 0BandsCommands

notion-scope

dickyadrian/agent-toolbelt

Limits Notion MCP calls to the pages a project allows, from an allowlist that never gets committed

★ 0ToastsGuardsCommands

standup

dickyadrian/agent-toolbelt

Journals what you do in each session and drafts your daily standup with /standup

★ 0GuardsCommandsPrompt

subagent-pane

dickyadrian/agent-toolbelt

A side pane listing each subagent with its model, effort, live context and run mode

★ 0PanesGuardsCommands

usage-bar

dickyadrian/agent-toolbelt

Subscription usage (5h and 7d windows) as progress bars above the prompt

★ 0BandsCommands