claudemods

All Claude Code modsdwain-barnes/clef-gate

clef-gate

A Claude Code mod in dwain-barnes/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.

Install hint

/plugin install clef-gate --marketplace dwain-barnes/clef-gate

From 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, draws

Validation

Passed on Claude Code 2.1.302

View 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

Reach badge for clef-gate Validation badge for clef-gate

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/dwain-barnes--clef-gate--clef-gate-reach.svg)](https://mods.aidojo.si/mods/dwain-barnes--clef-gate--clef-gate/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/dwain-barnes--clef-gate--clef-gate-validates.svg)](https://mods.aidojo.si/mods/dwain-barnes--clef-gate--clef-gate/)