What problem does it solve?
Safety guardrails for destructive commands warn before execution of dangerous operations such as rm -rf, kubectl delete, git reset --hard, and similar destructive actions. This reduces the risk of accidental data loss or production impact, especially when working in shared environments or debugging live systems. Users can override each warning when they explicitly intend to proceed.
Core Features & Use Cases
- Destructive command detection and warning for dangerous operations (rm -rf, git reset --hard, kubectl delete, etc.)
- Safe override controls to proceed when necessary
- Audit logging of warning events for context and accountability
- PreToolUse hook integration to enforce safety before tool execution
Quick Start
Enable careful mode and run a potentially destructive command; you will receive a warning and can choose to proceed or cancel.