cc-safe-setup
CommunityMake Claude Code safe for autonomous work.
Software Engineering#claude code#token optimization#autonomous coding#credential leak prevention#safety hooks#git protection#rm -rf guard
Authoryurukusa
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the risk of destructive or costly mistakes when Claude Code runs autonomous tool actions, such as deleting files, leaking credentials, or pushing bad changes to critical branches.
Core Features & Use Cases
- Prevents destructive file operations: blocks commands like rm -rf and reduces the chance of overwriting or touching paths outside the intended project.
- Hardens git workflows: stops common disaster patterns such as force-pushing to main or resetting hard in unsafe ways.
- Guards credentials and reduces token waste: helps prevent accidental
.env/secret handling and includes protections that warn on excessive reads and inefficient behaviors during autonomous coding.
Quick Start
Run npx cc-safe-setup to install and configure the safety hooks for your Claude Code environment.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cc-safe-setup Download link: https://github.com/yurukusa/cc-safe-setup/archive/main.zip#cc-safe-setup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.