claudemods

All Claude Code modsdvakatsiienko/frame

x-mod-guard

A Claude Code mod in dvakatsiienko/frame

reads every Bash call before it runs and refuses only the destructive floor: rm, a kill by pattern, a git discard or rewrite, a skipped gate, a live seat's close, a raw merge, a stash over a held file, a machine change, a remote delete: each with its safe door and his one tick as the way through; operator-override all turns the floor to warnings, plain rm and the brake aside; every other call runs, with its rewrite or hint; each refusal and pass is kept in its own store as an event and a per-day count

x-mod-guard reaches L2 (writes or runs) and passed claude plugin validate with warnings.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, reads files, reads env vars, reads mod state, persists state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
? calls, /"^(Bash|Monitor)$"/ calls, every prompt, /"^(Edit|Write|MultiEdit)$"/ calls, Read calls
Hooks
tool.call {tool=?}, tool.call {tool=/"^(Bash|Monitor)$"/}, prompt.submit, tool.call {tool=/"^(Edit|Write|MultiEdit)$"/}, tool.call {tool=Read}
API calls
$.clock.now, $.clock.sleep, $.env.get, $.fs.exists, $.fs.list, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.session.cwd, $.session.id, $.session.root, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.keys, $.store.set, $.ui.log
Validation
Passed with warnings
Scanned revision
6af3e7ec2561

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.

More from dvakatsiienko/frame

Badge for your README

Reach badge for x-mod-guard Validation badge for x-mod-guard

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/dvakatsiienko--frame--x-mod-guard-reach.svg)](https://mods.aidojo.si/mods/dvakatsiienko--frame--x-mod-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/dvakatsiienko--frame--x-mod-guard-validates.svg)](https://mods.aidojo.si/mods/dvakatsiienko--frame--x-mod-guard/)