Destructive Op Guard

Design or audit a PreToolUse hook that intercepts high-blast-radius shell operations (DROP TABLE, rm -rf, git push --force to main, kubectl delete, docker system prune, etc.) and requires explicit authorization before they execute. Use when adding a safety hook to a Claude Code project, reviewing an existing hook's coverage, or after an incident where an autonomous agent ran an irreversible operation unchecked.

m2ai-portfolio Updated

File contents

m2ai-portfolio/m2ai-skills-pack/tree/main/m2ai-safety-verification/skills/destructive-op-guard commit 1ee3e50bed

Frequently asked questions

npx skillmds@latest add m2ai-portfolio/destructive-op-guard