Skip to main content

Cc Safe Setup

Marketplace Warning Active

Safety hooks for Claude Code — 734 battle-tested hooks from 800+ hours of autonomous operation. Prevents rm -rf, force-push, credential leaks, unauthorized fund transfers, deny-rules bypass, and more.

4 Plugins
Purpose

To provide essential safety guards for Claude Code, preventing catastrophic data loss, security breaches, and operational errors during autonomous AI coding sessions.

Features

  • Prevents destructive file operations (rm -rf, Remove-Item)
  • Blocks dangerous Git commands (force-push, hard-reset)
  • Catches credential leaks (e.g., .env files)
  • Validates syntax after edits
  • Monitors context window to prevent session state loss

Use Cases

  • Use when running Claude Code in autonomous or semi-autonomous modes to prevent accidental data loss.
  • Use to protect sensitive credentials and API keys from being committed or leaked.
  • Use to ensure code integrity by validating syntax before commands are executed.
  • Use to prevent unauthorized changes to main branches or shared repositories.

Non-Goals

  • Does not directly interact with external services beyond the Claude Code environment.
  • Does not replace the need for careful prompt engineering or CLAUDE.md rules.
  • Does not offer AI code generation or debugging capabilities; focuses solely on operational safety.

Practices

  • Security hardening
  • Operational safety
  • Defensive programming

Prerequisites

  • Claude Code environment
  • jq (installed via package manager, e.g., `brew install jq` or `apt install jq`)

Security

  • critical:Unguarded Destructive OperationsThe core purpose of the extension is to guard against destructive operations like 'rm -rf', 'force-push', and others, directly preventing unguarded destructive actions.

Installation

/plugin marketplace add yurukusa/cc-safe-setup

Quality Score

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