Claude Code mod

model-router

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

Context & usage modsValidates on Claude Code 2.1.316 Source

Install

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

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
L3Network: network, writes files, drives Claude, reads files, reads env vars, draws
Hooks
session.startcommand.runturn.startturn.stepturn.complete

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
plugins/model-router
Author
Dicky Adrian
License
MIT
Last updated
19 October 2026

FAQ

What is model-router?

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 a mod for Claude Code, from dickyadrian/agent-toolbelt on GitHub.

What can the model-router mod access?

Its widest reach is "network" (network, writes files, drives Claude, reads files, reads env vars, draws). Like any mod, it runs with your permissions.

How do I install model-router?

Clone dickyadrian/agent-toolbelt and start Claude Code with --plugin-dir pointing at the mod's folder (plugins/model-router).

More context & usage mods

model-router

DevstateBelgium/model-router

Routes each coding subtask to the cheapest Claude model and effort that can do it reliably, logs real token cost per subagent automatically, and learns routing boundaries from verified runs.

Context & usage mods/plugin install

model-router

jo-greco/johnny-mods

Sends quick questions to Claude Haiku 5.5 to save usage; everything else stays on your model.

Context & usage mods/plugin install

model-pilot

iampramod43/claude-mods

Routes a task to a fit model or a small team of subagents, shares context through a versioned artifact store, and shows it all live: radial progress, agent lanes and a data-flow graph

Context & usage mods/plugin install

model-usage

j-byte-s-industries/claude-helpers

Pane with token usage per model as a GitHub-style activity graph, a pixel crab per model, cost share dials against the 5-hour or weekly limit, and account usage limits

Context & usage mods/plugin install

model-fit

a-pavithraa/claude-mods

After each ask you type, says what it looked like it needed and what it cost; after a simple or routine ask on a bigger model or effort than it needed, what Haiku, Sonnet or a lower effort would have cost; warns when an ask runs on too small a model or a complex one at low effort; says when the context has grown expensive and how to shrink it; ships /model-fit:baton, a handoff note for a fresh session. Optional Jev shadow labels for comparison.

Context & usage mods/plugin install

modo-gravacao

plasdigital/mods-claude-code-kit-aluno

/gravar liga e desliga: borra na tela valores em dinheiro, e-mails, telefones, CPF/CNPJ, chaves, tokens e termos da sua lista, sem mudar o que o Claude lê.

Context & usage mods

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.