model-router

model-router is a Claude Code mod by p4t1gsr that sends easy prompts (short questions, typos, renames, explanations) to a cheaper model.

Updated 2026-10-20

What is model-router?

model-router is a Claude Code mod by p4t1gsr that sends easy prompts (short questions, typos, renames, explanations) to a cheaper model. It is listed under Agents & automation and has 1 GitHub stars.

TypeClaude code mod
Authorp4t1gsr
Repositoryp4t1gsr/claude-mods
Popularity1 GitHub stars
CategoryAgents & automation
SecurityLow risk (100/100)
Rank#4,092 of 9,397 Claude Code mods; #322 in Agents & automation
LicenseMIT
Last commit2026-10-20
Hooks5 events
Seesonly the events it hooks
Draws onnothing

Is model-router safe to install?

model-router scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
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
$.command.register
$.session.append
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.statusdraws 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/p4t1gsr/claude-mods
    claude plugin validate ./claude-mods/model-router
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add p4t1gsr/claude-mods && claude plugin install model-router@claude-mods

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/p4t1gsr/claude-mods/tree/main/model-router. Run claude plugin validate on it first and show me what it can access before you enable it.

More from p4t1gsr/claude-mods

This repository has 2 Claude Code mods on MCPMods.

  • session-dashboard: Dashboard panel with live activity, sub-workers, tokens, budget, git, skills and files, plus themed chat (High risk)