gear
by Mohamed Elahmady · ★ 0 · updated 2 days ago
0
Routes each turn's reasoning effort with TypeSafe's Jev decision model, keeping the prompt cache (Claude Code 2.1.280+). Model routing is available but off by default and refused above maxSwitchTokens, since a model switch re-writes the whole context.
Install
git clone https://github.com/moelahmady/jev-model-routerclaude --plugin-dir ./jev-model-routerThen 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
prompt.submitturn.stepagent.spawn- API calls
$.clock.now$.clock.sleep$.http.fetch$.model.classify$.session.usage$.ui.log$.ui.status- Can see
every promptsubagent spawns- Reach
- level 3 of 3 networkdrives Claudedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/moelahmady/jev-model-router
- Path in repo
- repository root
- Source commit
2e4c87dthe exact code the scan read- Author
- Mohamed Elahmady @moelahmady
- 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.