safety-guard - Prevent Destructive Operations
Prevents destructive operations when working on production systems or running agents autonomously.
Tags
Updated: 2026-09-10Capabilities
Typical Inputs
What this skill does
- Intercept destructive commands before execution
- Lock file edits to specific directory
- Log blocked actions to log file
- Suggest safer command alternatives
Inputs
- Bash Write Edit and MultiEdit tool calls
- Target directory path
- Safety guard mode commands
Outputs
- Warning and confirmation prompts
- Blocked operation explanation messages
- Logs in ~/.claude/safety-guard.log
Requirements
- PreToolUse hooks support
- Bash Write Edit and MultiEdit tools
