Cc Safe Setup
Plugin Verified Active5 essential safety hooks for Claude Code. Blocks rm -rf, force-push, hard-reset, .env overwrites, and package publish. The minimum viable safety net from 800+ hours of autonomous operation.
To provide essential safety measures and prevent common destructive operations and data leaks when using Claude Code for autonomous development.
Features
- Blocks dangerous commands like rm -rf and git push --force
- Prevents accidental overwrites of .env files
- Catches secret leaks via git commands
- Validates syntax after edits
- Monitors context window for state loss
Use Cases
- Protecting against accidental data deletion during autonomous coding.
- Preventing sensitive information like API keys from being committed.
- Ensuring code integrity by validating syntax before edits are finalized.
- Safeguarding critical branches from accidental force-pushes.
Non-Goals
- Replacing Claude Code's core functionality.
- Providing code linting or formatting beyond basic syntax validation.
- Managing project dependencies or build processes.
Prerequisites
- jq must be installed (`brew install jq` or `apt install jq`)
Installation
First, add the marketplace
/plugin marketplace add yurukusa/cc-safe-setup/plugin install safety-essentials@cc-safe-setupQuality Score
VerifiedTrust Signals
Similar Extensions
Hooks Safety
99Essential safety hooks to prevent destructive operations in Claude Code. From cc-safe-setup (655+ hooks).
Claude Recap
99Topic-based automatic memory for Claude Code — never lose context across sessions or compactions.
Cc Safe Setup
99734 safety hooks for Claude Code — prevent file deletion, credential leaks, git disasters, and token waste during autonomous AI coding sessions
Claude Code Hooks
99Production safety hooks for autonomous Claude Code operation. Context monitoring, syntax checking, branch protection, activity logging, and more.
Dotforge
100Node.js 20+ with Express/Fastify, TypeScript, and ESM module rules for Claude Code.
Shell Scripting Plugins
99Production-grade Bash scripting with defensive programming, POSIX compliance, and comprehensive testing