Skip to main content

Cc Safe Setup

Plugin Verified Active

5 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.

Purpose

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-setup

Quality Score

Verified
97 /100
Analyzed about 14 hours ago

Trust Signals

Last commitabout 16 hours ago
Stars25
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.