model-router-slim
by claude-code-templates · ★ 0 · updated yesterday
Picks the model and the reasoning effort for each task with TypeSafe's Jev, a System One decision model reached either through TypeSafe's own API or the Vercel AI Gateway. Routes subagent models at agent.spawn and the main loop's effort and model at turn.step, in both directions, falling back to the engine's built-in classifier when no key is set.
Install
/plugin marketplace add GambetaClub/claude-mods/plugin install model-router-slim@claude-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.runsession.endsession.compactprompt.submitturn.startturn.stepturn.completeagent.spawn- API calls
$.clock.now$.clock.sleep$.command.register$.http.fetch$.model.classify$.state.get$.state.set$.store.get$.store.set$.turn.abort$.ui.log$.ui.toast- Can see
compactionevery promptsubagent spawns- Reach
- level 3 of 3 networkdrives Claudereads mod statepersists 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/GambetaClub/claude-mods
- Path in repo
- repository root
- Source commit
b737927the exact code the scan read- Author
- claude-code-templates @GambetaClub
- 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 GambetaClub/claude-mods
cache-tax-slim
GambetaClub/claude-mods
A Claude Code mod that keeps the one-hour prompt cache warm during breaks and stops a cold send once with its estimated rewrite cost. Warming uses model requests and costs tokens. Requires Claude Code 2.1.287+.
lunch-warm
GambetaClub/claude-mods
Arms cache-tax's /keepwarm until midnight Amsterdam, once a day, for as long as the session is open.
usage-mode
GambetaClub/claude-mods
Context window, 5-hour limit and weekly limit as dim labels in the prompt footer.