Claude Code degrades after 6+ hours — ignoring rules, creating duplicates. A hook that progressively tightens safety.
npx cc-safe-setup
9,200+ tests 655 examples
Hook if field (v2.1.85) · All tools · GitHub
Related: rm -rf · force-push · if field · autonomous · all tools
Learn more: Production Guide · All Tools