All shelves / Mods / Safety
rulebook-guard
By hamzafer · Checked 2026-10-08
Asks before git commit --amend, an unformatted push, or personal details in notes and commits.
Holds a command
Install
Copied from the author's repo on 2026-10-08. The marketplace name is claude-code-mods.
claude plugin marketplace add hamzafer/claude-code-mods claude plugin install rulebook-guard@claude-code-mods
Open the repo
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
Demo

Other mods in Safety
blast-radiusHolds a shell command such as rm -rf, a force push, a hard reset, or a migration, shows what it would touch, then asks you to proceed or cancel.merge-gateHolds gh pr merge until CI is green and a Codex review has run once, and draws that pull request's status above the prompt.bash-guardHolds every Bash call, including under --dangerously-skip-permissions. Blocks rm -rf on a home or system directory, and asks before a force-push, a hard reset, or a pipe into sh.net-guardHolds curl, wget, ssh, scp, git push, and WebFetch, including under --dangerously-skip-permissions. Blocks paste sites and request catchers, and asks before data goes to a host that is not allowed.file-guardHolds writes outside the project and writes into .git, and asks before lockfiles and CI files.slopsquat-guardHolds a package install and checks the name against its registry, so a hallucinated or typosquatted package does not install.command-explainerDraws a plain-English line and a risk level on the permission prompt, so you can see what the command does before you approve it.secret-guardHides API keys and private keys before the model or the transcript sees them, blocks reads of credential files and commands that print secrets, and draws a status light for what it caught.guardrailsHolds Cloudflare write commands, attribution lines in commits and pull requests, and branch names that start with claude/.






