model-router

by Joshua Gilbert · ★ 0 · updated 8 days ago

CommandsPromptAutomationvalidates

0

Picks the right model for every subagent without being told: Haiku for lookups, Sonnet for building, Opus for judgment calls

install model-router

Install

/plugin marketplace add jgilb17/claude-mods
/plugin install model-router@joshua-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startprompt.composeagent.spawncommand.run
API calls
$.clock.now$.command.register$.store.get$.store.set
Can see
subagent spawns
Reach
level 0 of 3 persists state

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/jgilb17/claude-mods
Path in repo
model-router
Source commit
c2e1137 the exact code the scan read
Author
Joshua Gilbert @jgilb17
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from jgilb17/claude-mods

progress-pulse

jgilb17/claude-mods

A live, colorful progress bar for whatever this session is working on: a band above the prompt, a full /progress pane, and a celebration every time a task lands

★ 0PanesBandsGuards

repo-sentry

jgilb17/claude-mods

Status line with business, repo, branch and dirty count, plus a warning band when on main or a secret file is staged

★ 0BandsStatus lineGuards

usage-meter

jgilb17/claude-mods

Your Claude plan usage right above the message box: the 5-hour and weekly limits with reset times, plus this session's context fill

★ 0BandsCommands