What is model-router?
model-router is a Claude Code mod by yasirshabbirservices that classifies each turn as mechanical, ordinary or hard and sets the model and reasoning effort to match, logging every decision. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | yasirshabbirservices |
| Repository | yasirshabbirservices/claude-mods |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Low risk (92/100) |
| Rank | #5,196 of 5,272 Claude Code mods; #397 in Agents & automation |
| Last commit | 2026-10-09 |
| Hooks | 2 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is model-router safe to install?
model-router scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.model.complete | drives Claude |
$.ui.log | 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/yasirshabbirservices/claude-mods claude plugin validate ./claude-mods/plugins/model-router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add yasirshabbirservices/claude-mods && claude plugin install model-router@yasir-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/yasirshabbirservices/claude-mods/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 yasirshabbirservices/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- agents-panel: A pane listing the project agents in .claude/agents, with a run button for each (Low risk)
- blast-radius: Holds rm -r, git reset --hard, git clean and git push --force, shows what they would change, and asks Proceed or Cancel. (Low risk)
- context-bar: A bar above the prompt showing how the context window is used, by category (Low risk)
- decision-picker: When a reply asks you to approve decisions D1, D2, ..., shows toggles above the prompt; Approve drafts the reply, never (Low risk)
- fuel: Above the prompt only when you are near a limit: context window, plan limits with reset countdowns and an estimated cach (Low risk)
- hover-reveal: Desktop app: masks API keys, tokens and passwords in replies and tool output; hover to show them (Low risk)
- local-sync: Copies each file Claude changes under a source folder to the same path under a target folder (a local site's theme copy, (Low risk)
- next-steps: Up to three suggested next prompts above the prompt box; a click or 1/2/3 drafts one, never sends (Low risk)