Prevent AI coding disasters with safety hooks

cc-safe-setupskillsetup L445
yurukusa/cc-safe-setup
What it does

Install safety hooks that block destructive operations

Best for

When you want autonomous Claude Code loops to run safely without accidentally deleting code or data

Outputs
  • · hook configuration
  • · safety checks
Preconditions

Claude Code harness installed with write access to hooks directory

Failure modes
  • · Hooks block legitimate operations instead of only destructive ones
  • · User resets hooks and loses safety guarantees
Trust signals
  • · Explicit rules over heuristics (e.g. '3x coverage rule')
  • · Battle-tested safety patterns from autonomous operation
  • · Produces copy-paste-ready outputs