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.

Updated 2026-10-19

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.

TypeClaude code mod
Authordickyadrian
Repositorydickyadrian/agent-toolbelt
Popularityno public popularity data yet
CategoryCost & usage
SecurityHigh risk (56/100)
Rank#5,651 of 9,397 Claude Code mods; #1,027 in Cost & usage
LicenseMIT
Last commit2026-10-19
Hooks5 events
Seesonly the events it hooks
Draws onnothing

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.

CheckResult
Sends data over the networkReview
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.model.classifydrives Claude
$.session.id
$.session.usage
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install model-router?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)