What problem does it solve?
The careful skill prevents accidental execution of destructive shell and VCS commands by warning users before commands that could delete data, rewrite history, or remove running infrastructure are run.
Core Features & Use Cases
- Pre-tool hook filtering: Inspects Bash tool input and detects patterns like rm -rf, DROP TABLE, TRUNCATE, git push --force, git reset --hard, kubectl delete, and docker prune.
- Interactive guardrails: Returns a permissionDecision ask with a human-readable warning so the user can confirm or cancel destructive operations; logs pattern events locally for telemetry.
- Safe exceptions: Automatically allows common safe deletion targets such as node_modules, .next, dist, build, and pycache without prompting.
- Use Case: Enable when working in production, debugging live systems, or operating on shared repositories to avoid irreversible mistakes.
Quick Start
Enable careful mode to check every Bash command for destructive patterns before execution.