All Claude Code modsdwain-barnes/clef-gate
clef-gate
Asks a local Clef decision model whether an expensive tool call or subagent is actually needed before Claude Code pays for it. Logs every decision; shadow mode by default.
clef-gate reaches L3 (network) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 8
- API methods referenced: 16
- Access from classified calls: L3, network: network, writes files, reads files, reads env vars, reads the transcript, persists state, draws
- Unclassified calls: 2 (
$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
Install hint
/plugin install clef-gate --marketplace dwain-barnes/clef-gateFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L3 Uses the networkother: $.state.get, other: $.state.set, network, writes files, reads files, reads env vars, reads the transcript, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every tool call, subagent spawns
- Hooks
ui.render {component=PromptHint}, session.start, session.end, turn.start, tool.call, agent.spawn, turn.complete, command.run {command=gate}- API calls
$.clock.now, $.clock.sleep, $.command.register, $.env.get, $.fs.list, $.fs.read, $.fs.write, $.http.fetch, $.session.id, $.session.messages, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.invalidate, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
449955e39cd5- Marketplace passed
- clef-gate
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/dwain-barnes--clef-gate--clef-gate/)
[](https://mods.aidojo.si/mods/dwain-barnes--clef-gate--clef-gate/)