model-router

by kurushiba · ★ 0 · updated 3 days ago

BandsCommandsPromptvalidates

0

調査系のサブエージェントだけ Haiku で動かし、メインのモデルを固定する

install model-router

Install

git clone https://github.com/kurushiba/claude-mods
claude --plugin-dir ./claude-mods/final/model-router

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.startcommand.runprompt.composeagent.spawnturn.stepui.render
API calls
$.command.register$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.invalidate$.ui.log$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
subagent spawns
Reach
level 1 of 3 other: $.state.getother: $.state.setpersists 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/kurushiba/claude-mods
Path in repo
final/model-router
Source commit
fc4f4dc the exact code the scan read
Author
@kurushiba
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 kurushiba/claude-mods

test-pilot

kurushiba/claude-mods

コードが変わっていなければ npm test を実行せずに前回の結果を返す

★ 0PanesBandsGuards