What is model-router?
model-router is a Claude Code mod by dickyadrian that logs how hard each prompt is and what every turn costs, to measure whether routing easy prompts to a cheaper model would pay off. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | dickyadrian |
| Repository | dickyadrian/agent-toolbelt |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (56/100) |
| Rank | #5,651 of 9,397 Claude Code mods; #1,027 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-19 |
| Hooks | 5 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is model-router safe to install?
model-router scores 56/100 on the MCPMods security check: High risk. Things to review: sends data over the network; writes files or config; reads environment variables. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.model.classify | drives Claude |
$.session.id | |
$.session.usage | |
$.ui.log | draws interface |
$.ui.toast | draws interface |
How do I install model-router?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/dickyadrian/agent-toolbelt claude plugin validate ./agent-toolbelt/plugins/model-router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/dickyadrian/agent-toolbelt && claude --plugin-dir ./agent-toolbelt/plugins/model-router
Or ask Claude to set it up
Paste this into Claude Code and it installs model-router for you:
Install the "model-router" Claude Code mod from https://github.com/dickyadrian/agent-toolbelt/tree/main/plugins/model-router. Run claude plugin validate on it first and show me what it can access before you enable it.
More from dickyadrian/agent-toolbelt
This repository has 6 Claude Code mods on MCPMods.
- context-gauge: How full the context window is, split into setup and chat, above the prompt once it passes a threshold (Low risk)
- notion-scope: Limits Notion MCP calls to the pages a project allows, from an allowlist that never gets committed (Review before installing)
- standup: Journals what you do in each session and drafts your daily standup with /standup (High risk)
- subagent-pane: A side pane listing each subagent with its model, effort, live context and run mode (Low risk)
- usage-bar: Subscription usage (5h and 7d windows) as progress bars above the prompt (Low risk)