By kenryu42
Block destructive git and filesystem commands before execution by configuring custom safety rules. Prevents accidental worktree creation and other harmful operations via interactive rule setup, config validation, and hook-based command interception.
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Block destructive git and filesystem commands before execution
npx claudepluginhub kenryu42/cc-safety-net --plugin safety-netSafety hooks to block or require user approval for dangerous commands (rm, git operations, .env access, file size limits)
5 essential safety hooks for Claude Code. Blocks rm -rf, force-push, hard-reset, .env overwrites, and package publish. The minimum viable safety net from 800+ hours of autonomous operation.
Smart command safety filter for Claude Code — parses shell pipelines and evaluates per-command safety rules to auto-approve safe commands and block dangerous ones
Create custom behavioral rules through markdown configuration files - prevent unwanted behaviors with pattern matching
Blocks destructive commands outside the project directory. Allows file operations within the project (refactoring, cleanup) but prevents accidental damage outside it.
Memory compression system for Claude Code - persist context across sessions