Home / Claude Code mods / Interface / triage-gate

triage-gate

triage-gate is a Claude Code mod by StellaLunaSousa that 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.

Updated 2026-10-08

What is triage-gate?

triage-gate is a Claude Code mod by StellaLunaSousa that 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. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
AuthorStellaLunaSousa
RepositoryStellaLunaSousa/triage-gate
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (84/100)
Rank#4,725 of 5,272 Claude Code mods; #1,941 in Interface
LicenseMIT
Last commit2026-10-08
Hooks6 events
Seesevery prompt
Draws onAskUserQuestion, AbovePrompt

Is triage-gate safe to install?

triage-gate scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.command.rundrives Claude
$.model.completedrives Claude
$.prompt.fillwrites the prompt box
$.prompt.submitdrives Claude
$.session.messagesreads the transcript
$.session.model
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install triage-gate?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/StellaLunaSousa/triage-gate
    claude plugin validate ./triage-gate/plugins/triage-gate
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add StellaLunaSousa/triage-gate && claude plugin install triage-gate@triage-gate

Or ask Claude to set it up

Paste this into Claude Code and it installs triage-gate for you:

Install the "triage-gate" Claude Code mod from https://github.com/StellaLunaSousa/triage-gate/tree/main/plugins/triage-gate. Run claude plugin validate on it first and show me what it can access before you enable it.