Careful Mode Guardrails
Provides safety guardrails to prevent the accidental execution of destructive shell commands and database operations.
Careful Mode acts as a vital safety layer for your development environment by intercepting potentially harmful terminal commands before they are executed. It automatically scans for dangerous patterns such as recursive deletions, database drops, forced git pushes, and infrastructure removals, requiring explicit user confirmation for each match. This skill is particularly useful for developers working on production systems, live databases, or shared cloud infrastructure where a single misstep could lead to significant data loss or downtime.
Key Features
01Monitors database operations for DROP and TRUNCATE statements
021 GitHub stars
03Provides safety checks for Kubernetes and Docker infrastructure commands
04Intercepts destructive Bash commands like rm -rf and git push --force
05Features smart exceptions for common safe deletions like node_modules or build folders
06Requires manual user confirmation for all flagged high-risk operations
Use Cases
01Debugging live production servers where accidental file deletion is a high risk
02Managing critical cloud infrastructure via CLI tools like kubectl or Docker
03Performing manual database maintenance or cleanup on shared staging environments