triage-gate
by a-pavithraa · ★ 0 · updated 28 days ago
Flags a turn that wrote a lot and offers a /guide reading order; before Claude commits, measures the change's blast radius and asks Jev about risk and readability, then lets it through, flags it, or holds it for review.
Install
/plugin marketplace add a-pavithraa/claude-mods/plugin install triage-gate@my-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.startprompt.submittool.callturn.completecommand.runui.render- API calls
$.clock.sleep$.command.register$.env.get$.fs.read$.http.fetch$.model.fork$.process.run$.process.spawn$.prompt.fill$.prompt.read$.state.get$.state.set$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
every promptEdit callsWrite callsBash callsPowerShell calls- Reach
- level 3 of 3 networkruns processesdrives Claudewrites the prompt boxreads filesreads env varsreads the prompt boxreads mod 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/a-pavithraa/claude-mods
- Path in repo
plugins/triage-gate- Source commit
a3e511ethe exact code the scan read- Author
- @a-pavithraa
- 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 a-pavithraa/claude-mods
hindsight
a-pavithraa/claude-mods
Notices snags that come back across sessions (search spirals, fix loops, large tool outputs) and offers one change to the environment that stops them.
model-fit
a-pavithraa/claude-mods
After each ask you type, says what it looked like it needed and what it cost; after a simple or routine ask on a bigger model or effort than it needed, what Haiku, Sonnet or a lower effort would have cost; warns when an ask runs on too small a model or a complex one at low effort; says when the context has grown expensive and how to shrink it; ships /model-fit:baton, a handoff note for a fresh...
toolbelt
a-pavithraa/claude-mods
Lists the plugins, skills and MCP servers you have not used lately and that cost tokens every turn (/unused), judged by Claude Code's own counters, and disables or removes them from a pane.