All Claude Code modsdvakatsiienko/frame
x-mod-guard
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.
- Events hooked: 2
- API methods referenced: 19
- Access from classified calls: L2, writes or runs: runs processes, writes files, reads files, reads env vars, 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
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, drawsValidation
Passed with warningsView 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
- x-mod-holdsno two sessions write the same file: a session's first edit of a file holds it until it is committed, the ses…
- x-mod-redactkeeps secrets out of every transcript: api keys, tokens and private keys read as a stable placeholder in ever…
- x-mod-stashdima's command center above the prompt, one row: orbit 🪐 (the session's asks, ticked in the board instead of…
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/dvakatsiienko--frame--x-mod-guard/)
[](https://mods.aidojo.si/mods/dvakatsiienko--frame--x-mod-guard/)