triage-gate
by Stella Luna Sousa · ★ 0 · updated 9 days ago
0
Triages each message with a small model before the main model runs, and asks (native modal) whether to switch model/effort when another one fits better and the switch pays off.
Install
/plugin marketplace add StellaLunaSousa/triage-gate/plugin install triage-gate@triage-gateThen 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.stepturn.completeui.render- API calls
$.clock.now$.command.register$.command.run$.model.complete$.prompt.fill$.prompt.submit$.session.messages$.session.model$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.ask$.ui.log$.ui.resolve$.ui.toast- Draws
AskUserQuestionAbovePrompt- Can see
every prompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudewrites the prompt boxreads settingsreads the transcriptpersists 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/StellaLunaSousa/triage-gate
- Path in repo
plugins/triage-gate- Source commit
a42aed3the exact code the scan read- Author
- Stella Luna Sousa @StellaLunaSousa
- 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.