Home / Claude Code mods / Security / model-router

model-router

model-router is a Claude Code mod by Akurganow that routes each subagent to the cheapest Claude model and effort that can do its task, judged by TypeSafe Jev. On every Agent call it sends the subagent's task text, condensed and with secrets.

Updated 2026-10-15

What is model-router?

model-router is a Claude Code mod by Akurganow that routes each subagent to the cheapest Claude model and effort that can do its task, judged by TypeSafe Jev. On every Agent call it sends the subagent's task text, condensed and with secrets. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
AuthorAkurganow
RepositoryAkurganow/model-router
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (76/100)
Rank#2,535 of 5,272 Claude Code mods; #301 in Security
LicenseMIT
Last commit2026-10-15
Hooks1 events
SeesAgent calls
Draws onnothing

Is model-router safe to install?

model-router scores 76/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; reads environment variables. It passed 6 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 no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.sleep
$.env.getreads env vars
$.http.fetchnetwork requests
$.tool.check
$.ui.logdraws 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/Akurganow/model-router
    claude plugin validate ./model-router/plugins/model-router
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Akurganow/model-router && claude plugin install model-router@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/Akurganow/model-router/tree/main/plugins/model-router. Run claude plugin validate on it first and show me what it can access before you enable it.