Steven Gonsalvez

Software Engineer

Dicklesworthstone/destructive_command_guard: The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by agents.

Why CEREBRO kept it

Destructive Command Guard — agent safety/defense mechanics

The text below is an automated extraction of the article at https://github.com/Dicklesworthstone/destructive_command_guard, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (github.com).

A high-performance hook for AI coding agents that blocks destructive commands before they execute, protecting your work from accidental deletion across Claude Code, Codex CLI, Gemini CLI, Copilot CLI, VS Code Copilot Chat, Cursor, Hermes Agent, Grok (xAI), and related tools. Supported: Claude Code, Codex CLI 0.125.0+, Gemini CLI, GitHub Copilot CLI, VS Code Copilot Chat, Cursor IDE, Hermes Agent, Grok (xAI) (native ~/.grok/hooks/ plus Claude compatibility layer), Antigravity CLI (agy) (native ~/.gemini/config/hooks.json via dcg install --agy), OpenCode (via community plugin), Pi (via extension

Backlinks

Appeared in 1 briefing

Related

Shares tags: ai/agents · ai/llm-mechanics

Also from github.com