smart-model-router
by timothylok · ★ 0 · updated 5 days ago
Routes each main-thread turn to a heavy or light model based on the prompt, and falls back to the light model near your rate limits.
Install
/plugin marketplace add timothylok/ClaudeCodeModsByTimLok/plugin install smart-model-router@cc-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startcommand.runprompt.submitturn.step- API calls
$.command.register$.session.usage$.store.get$.store.set$.ui.status- Can see
every prompt- Reach
- level 0 of 3 persists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/timothylok/ClaudeCodeModsByTimLok
- Path in repo
smart-model-router- Source commit
9f622bbthe exact code the scan read- Author
- @timothylok
- License
- MIT
- 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 timothylok/ClaudeCodeModsByTimLok
context-bar
timothylok/ClaudeCodeModsByTimLok
Draws the context window as a stacked bar above the prompt, one colour per /context category; toggle with /context-bar
research-offloader
timothylok/ClaudeCodeModsByTimLok
Spots research prompts and keeps them out of the main context: sends them to your own research endpoint (e.g. a NotebookLM bridge) if configured, otherwise makes Claude delegate to a cheap subagent.
usage-bar
timothylok/ClaudeCodeModsByTimLok
A band above the prompt showing your 5-hour and weekly rate-limit usage, with warnings as you approach them.