destructive_command_guard
Blocks dangerous AI agent commands before they destroy your work
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install destructive_command_guard?โผ
Run `npx skills add Dicklesworthstone/destructive_command_guard --all -g -y` in your terminal to install the skill globally.
How to stop AI agents from deleting my code?โผ
dcg hooks into your AI coding agent and blocks destructive commands like git reset --hard and rm -rf before they run, showing a clear explanation and safer alternatives.
Which AI agents does dcg support?โผ
It works with Claude Code, Codex CLI, Gemini CLI, GitHub Copilot, Cursor, Grok, and several other agents through native hooks or compatibility layers.
Will dcg slow down my AI agent?โผ
No. It uses SIMD-accelerated filtering with sub-millisecond latency, and safe commands pass through instantly.
Can I customize which commands get blocked?โผ
Yes. You can enable over 50 protection packs for databases, Kubernetes, Docker, and cloud providers, plus add your own allowlist rules in a simple config file.
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