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) and passed claude plugin validate with warnings.
- Events hooked: 8
- API methods referenced: 16
- Access from classified calls: L3, network: network, writes files, reads files, reads env vars, reads the transcript, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- 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 networknetwork, writes files, reads files, reads env vars, reads the transcript, reads mod state, persists state, drawsValidation
Passed with warningsView 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
- Passed with warnings
- 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. What a mod can access and 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/)