careful

Detect destructive commands like rm -rf and DROP TABLE before execution.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/muhammadhamad1104/nuevo --skill careful-muhammadhamad1104
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: careful
Source: https://github.com/muhammadhamad1104/nuevo/tree/main/gstack/careful
Command: npx skills add https://github.com/muhammadhamad1104/nuevo --skill careful-muhammadhamad1104

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, and includes scripts (resource) components.

What problem does it solve?

This Skill acts as a safety net for destructive commands, providing warnings before actions like 'rm -rf', 'DROP TABLE', and 'git reset --hard', which can cause irreversible damage.

Core Features & Use Cases

  • Pre-Execution Checks: Identifies and warns against potentially destructive commands.
  • Customizable Warnings: Allows users to configure which commands should trigger a warning.
  • Tool Integration: Works seamlessly with Bash and can be integrated into larger workflows.

Quick Start

Before running a destructive command, simply invoke the skill with the 'be careful' trigger or set it to 'safety mode'.

Frequently Asked Questions about careful

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent accidental data loss when running destructive bash commands?

Preventing accidental data loss from destructive bash commands requires pre-execution safety checks that identify dangerous patterns like 'rm -rf' and warn you before execution. This Skill uses regex patterns to intercept and flag these operations.

Can I configure which git commands trigger a safety warning?

Yes, you can configure which git commands trigger a safety warning by customizing the regex patterns to target specific destructive operations like 'git reset --hard' or 'DROP TABLE' within your environment.

Does this command checking tool require specific execution privileges to work?

Yes, command checking requires access to the command line and specific execution privileges to run the check-careful.sh script, ensuring it can intercept and validate destructive operations before they execute.

How do I integrate pre-execution safety checks into existing bash workflows?

Integrating pre-execution safety checks into existing bash workflows involves invoking the safety trigger or setting 'safety mode' before running destructive commands, allowing seamless tool integration without disrupting your current processes.

What destructive operations does the command checking script identify?

The command checking script identifies destructive operations including 'rm -rf', 'DROP TABLE', and 'git reset --hard', utilizing regex patterns to prevent irreversible data loss or system damage.