Loading...
Loading...
Oss
Hook for Claude Code and Antigravity CLI that blocks destructive commands.
High-performance safety hook that intercepts catastrophic commands before they execute. Protects against git reset --hard, rm -rf, DROP TABLE, and other irreversible operations that AI agents occasionally attempt. Works on Linux, macOS, and WSL with clear explanations and safer alternatives.
# Install via Cargo
cargo install destructive_command_guard
# Or install pre-built binary hook
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh | bash# Run as command proxy or hook
dcg --wrap "git reset --hard HEAD~1"
# [BLOCKED] Destructive command detected! Use git stash or git branch instead.Two-person rule for AI agents: peer review before dangerous commands execute.
Multi-agent tmux orchestration. Spawn and coordinate Claude Code, Codex, and Gemini agents.
Meta-runner for language-specific bug scanners, tuned for AI coding agents.
Explore the source code, documentation, and contribute to the project.