hook

Tag

Cards List
#hook

@dabit3: this sucks, there's a simple way to prevent this from ever happening: add a PreToolUse hook that hard-blocks any comman…

X AI KOLs Following · 3d ago Cached

Bash Guard is a simple hook that blocks risky shell commands (like sudo, rm outside project) before local coding agents run them, preventing accidental file deletion. Supports Claude Code, Codex CLI, and Devin CLI.

0 favorites 0 likes
#hook

Dicklesworthstone/destructive_command_guard

GitHub Trending (daily) · yesterday Cached

A high-performance hook for AI coding agents that blocks destructive commands before they execute, protecting work from accidental deletion across tools like Claude Code, Codex CLI, Gemini CLI, Copilot CLI, and more.

0 favorites 0 likes
← Back to home

Submit Feedback