What problem does it solve? Claude Code can execute file writes and shell commands that touch credentials, system paths, or destructive git operations, and without guardrails these actions run unchecked. This Skill deploys hook-layer protections that Claude cannot bypass, blocking or gating risky operations before they execute. ## Core Features & Use Cases - Seven Ready-to-Deploy Hook Scripts: Hard blocks for sensitive files (.env, keys, credentials), protected files (lock files, .git internals), and system paths; soft confirmation gates for dangerous bash commands, destructive git operations, network calls, and permission changes. - Decision Model with JSON Contract: Uses exit code 2 for hard denies and the permissionDecision JSON protocol (allow/deny/ask) for user confirmation gates. - Input Validation Patterns: Built-in defenses against path traversal, null bytes, and command injection in hook scripts. - Use Case: When starting a new project, deploy the minimal setup (sensitive-file block plus destructive-git gate) to .claude/settings.json so Claude cannot overwrite .env files or force-push without your confirmation. ## Quick Start Ask Claude to set up security hooks for this project by deploying the sensitive-file blocker and destructive-git gate into .claude/hooks and registering them in .claude/settings.json.