damage-control
✓危険なコマンドをブロックし、機密ファイルを保護する Claude Code セキュリティ フックをインストール、構成、管理します。セキュリティ保護の設定、破壊的なコマンドのブロック (rm -rf、git restart --hard)、機密パス (.env、認証情報) の保護、または PreToolUse フックの管理を行う場合に使用します。
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 |
危険なコマンドをブロックし、機密ファイルを保護する Claude Code セキュリティ フックをインストール、構成、管理します。セキュリティ保護の設定、破壊的なコマンドのブロック (rm -rf、git restart --hard)、機密パス (.env、認証情報) の保護、または PreToolUse フックの管理を行う場合に使用します。 ソース: cfircoo/claude-code-toolkit。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/cfircoo/claude-code-toolkit --skill damage-control- カテゴリ
- !セキュリティ
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
damage-control とは?
危険なコマンドをブロックし、機密ファイルを保護する Claude Code セキュリティ フックをインストール、構成、管理します。セキュリティ保護の設定、破壊的なコマンドのブロック (rm -rf、git restart --hard)、機密パス (.env、認証情報) の保護、または PreToolUse フックの管理を行う場合に使用します。 ソース: cfircoo/claude-code-toolkit。
damage-control のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/cfircoo/claude-code-toolkit --skill damage-control インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/cfircoo/claude-code-toolkit
詳細
- カテゴリ
- !セキュリティ
- ソース
- skills.sh
- 初回登録
- 2026-02-01