From cc-safe-setup
Installs 695 pre-built safety hooks for Claude Code preventing file deletions, credential leaks, git disasters, and token waste in autonomous AI coding sessions. Use for safe AI-driven development.
npx claudepluginhub yurukusa/cc-safe-setup --plugin token-guardThis skill uses the workspace's default tool permissions.
Safety-first configuration for Claude Code. Prevents the accidents that happen when AI writes code autonomously.
Prevents destructive ops in Claude Code via /safe-mode: cautious warns on rm -rf/SQL drops/git force-push; lockdown restricts edits to one dir; clear resets.
Guides writing secure, reliable, performant Claude Code hooks. Validates design decisions, enforces best practices, prevents pitfalls when creating, reviewing, or debugging hooks.
Develops Claude Code hooks to run shell commands or LLM prompts on events like PreToolUse for automations, guardrails, quality checks, and pre-push tests.
Share bugs, ideas, or general feedback.
Safety-first configuration for Claude Code. Prevents the accidents that happen when AI writes code autonomously.
Installs pre-built safety hooks into your Claude Code environment. These hooks run automatically before/after tool calls to block dangerous operations.
Categories:
rm -rf, prevent overwriting files outside projectreset --hard.env files from being committed or read by AInpx cc-safe-setup
This runs an interactive wizard that configures hooks based on your risk profile.
npx cc-safe-setup --install-example large-read-guard
npx cc-safe-setup --install-example prevent-rm-rf
npx cc-safe-setup --install-example git-force-push-block
Rules in CLAUDE.md are suggestions — Claude can forget them. Hooks are enforced at the system level. A hook that blocks rm -rf cannot be overridden by the AI.
From 800+ hours of autonomous operation: the hooks that matter most are the ones you don't notice until something goes wrong.