·damage-control
!

damage-control

cfircoo/claude-code-toolkit

Install, configure, and manage Claude Code security hooks that block dangerous commands and protect sensitive files. Use when setting up security protection, blocking destructive commands (rm -rf, git reset --hard), protecting sensitive paths (.env, credentials), or managing PreToolUse hooks.

6Installs·0Trend·@cfircoo

Installation

$npx skills add https://github.com/cfircoo/claude-code-toolkit --skill damage-control

SKILL.md

Defense-in-depth protection system for Claude Code. Uses PreToolUse hooks to intercept and validate tool calls before execution, blocking dangerous commands and protecting sensitive files.

| Level | Read | Write | Edit | Delete | Use Case |

| zeroAccessPaths | No | No | No | No | Secrets, credentials, .env files | | readOnlyPaths | Yes | No | No | No | System configs, lock files, build artifacts | | noDeletePaths | Yes | Yes | Yes | No | Important project files, .git/, LICENSE |

Install, configure, and manage Claude Code security hooks that block dangerous commands and protect sensitive files. Use when setting up security protection, blocking destructive commands (rm -rf, git reset --hard), protecting sensitive paths (.env, credentials), or managing PreToolUse hooks. Source: cfircoo/claude-code-toolkit.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cfircoo/claude-code-toolkit --skill damage-control
Category
!Security
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is damage-control?

Install, configure, and manage Claude Code security hooks that block dangerous commands and protect sensitive files. Use when setting up security protection, blocking destructive commands (rm -rf, git reset --hard), protecting sensitive paths (.env, credentials), or managing PreToolUse hooks. Source: cfircoo/claude-code-toolkit.

How do I install damage-control?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cfircoo/claude-code-toolkit --skill damage-control Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/cfircoo/claude-code-toolkit