claude-code-damage-control
Blocks dangerous commands and protects sensitive files
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install Claude Code Damage Control?โผ
Run `npx skills add disler/claude-code-damage-control --all -g -y` in your terminal to install the skill globally, then say "install the damage control system" to set up the hooks.
How to stop AI from running dangerous commands?โผ
Damage Control intercepts every Bash, Edit, and Write call with PreToolUse hooks and blocks risky commands like rm -rf or force pushes before they run.
How to protect secrets and credentials from AI coding tools?โผ
Add folders like ~/.ssh or ~/.aws to the zeroAccessPaths list in patterns.yaml, and the hooks will deny all read, write, edit, and delete access to them.
Does Damage Control work on Windows?โผ
Yes. The built-in Windows workflow adds PowerShell and cmd equivalents for every blocked Unix pattern, creating one cross-platform configuration.
Can I customize which commands get blocked?โผ
Yes. Just ask to modify damage control, and the skill guides you through adding blocked commands, protected paths, or ask-first confirmation rules.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core