Give your agents the "Bash" permission but block destructive actions.
-
Updated
Apr 19, 2026 - Rust
Give your agents the "Bash" permission but block destructive actions.
Pattern-level command filtering for Claude Code. Blocks the dangerous stuff, asks about the risky stuff, lets the normal stuff through.
Add a description, image, and links to the pretooluse-hooks topic page so that developers can more easily learn about it.
To associate your repository with the pretooluse-hooks topic, visit your repo's landing page and select "manage topics."