careful

Check Bash commands for destructive patterns before execution.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps prevent accidental destructive commands on your system by serving as a safety guardrail, warning you before running harmful operations like 'rm -rf', 'DROP TABLE', or 'git reset --hard'.

Core Features & Use Cases

  • Command Validation: Pre-processes and checks all Bash commands for destructive patterns.
  • User Override: Allows users to override warnings if they are sure about the command they are running.
  • Use Case: If you are about to perform a potentially destructive operation and need a safety check, use the 'careful' command trigger to get a warning.

Quick Start

Set 'safety mode' or use the trigger 'be careful' before running any potentially destructive commands.

Frequently Asked Questions about careful

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

FAQPage Schema
How do I prevent accidental destructive commands like rm -rf or git reset --hard in Bash?

To prevent destructive commands in Bash, use safety guardrails to validate operations before execution. This Skill checks commands for patterns like rm -rf, DROP TABLE, and git reset --hard, warning you before harmful actions occur.

Can I override Bash command warnings if I am sure about running a destructive operation?

Yes, you can override Bash command warnings. After triggering a safety check, the Skill allows you to proceed with the destructive command if you are certain of the operation and its consequences.

Does this Bash command validation tool require any additional dependencies to install?

No, this Bash command validation tool requires no additional dependencies. It integrates seamlessly with your existing Bash environment to provide safety guardrails without extra setup.

What destructive patterns are checked by Bash command guardrails?

Bash command guardrails check for destructive patterns including rm -rf, DROP TABLE, git reset --hard, and kubectl delete. This prevents harmful operations across file systems, databases, and repositories.

How do I activate safety checks for potentially dangerous Bash commands?

To activate safety checks for dangerous Bash commands, set 'safety mode' or use the trigger 'be careful' before running your command. This pre-processes the command and warns you of destructive patterns.

When should I use Bash command validation in my workflow?

Use Bash command validation in environments where accidental destructive actions can cause significant harm. It serves as a guardrail before executing commands that modify file systems, databases, or deployments.