clef-guard
by williamchen0606 · ★ 0 · updated 2 days ago
Has Cloudflare's Clef decision model judge each Bash, Write, Edit and WebFetch call (risk, kind of risk, whether it is read-only, whether it fits your request), asks you itself before risky or always-ask operations, and can approve plain reads for you.
Install
/plugin marketplace add williamchen0606/claude-mods/plugin install clef-guard@claude-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
tool.check- API calls
$.clock.now$.clock.sleep$.env.get$.http.fetch$.session.messages$.session.root$.ui.ask$.ui.status- Reach
- level 3 of 3 networkreads env varsreads the transcriptdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/williamchen0606/claude-mods
- Path in repo
mods/clef-guard- Source commit
27b8938the exact code the scan read- Author
- @williamchen0606
- License
- MIT
- 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 williamchen0606/claude-mods
clef-verify
williamchen0606/claude-mods
Before Claude ends a turn that changed files, has Cloudflare's Clef decision model check that the work is shown to be done (tests run and passing where needed, claims backed by the steps, nothing asked for left undone), and sends Claude back if not.
desktop-statusline
williamchen0606/claude-mods
A status line for the Claude desktop app: 5-hour and weekly limits with progress bars, context, cost, and how long the 5-hour limit will last. Lay out its items over several lines with /desktop-statusline.
image-preview
williamchen0606/claude-mods
Preview images pasted into the prompt box, above the prompt, before you send them, and annotate them on macOS.