What problem does it solve?
Destructive terminal and deployment commands can cause irreversible damage by deleting data, rewriting history, or impacting production. This Skill reduces the risk by detecting common destructive patterns and forcing an explicit confirmation step before execution.
Core Features & Use Cases
- Destructive command detection: Warns before running high-risk operations such as rm -rf, DROP TABLE/TRUNCATE, force-push, git reset --hard, kubectl delete, and docker prune/rm -f.
- Session-scoped safety hook: Applies guardrails via a pre-execution hook so the user can make a conscious choice each time.
- Configurable safe exceptions: Allows specific “common cleanup” paths like node_modules, dist, and build artifacts without blocking.
Use Case: While debugging in a shared environment or touching production, you want guardrails that catch obvious catastrophic commands without stopping legitimate cleanup work.
Quick Start
Ask the AI to run your command in safety mode, for example: "Use careful mode to check before running rm -rf /var/data."