careful

Warn before executing destructive bash commands using predefined patterns.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Skill Unit "careful" is designed to prevent unintended destructive operations in critical environments such as production systems or shared environments.

Core Features & Use Cases

  • Preventative Warnings: Offers warnings before executing potentially destructive commands like 'rm -rf', 'DROP TABLE', 'git reset --hard', and others.
  • User Overriding: Allows users to override warnings if necessary.
  • Session-scoped Hooks: Applies to bash commands only and can be disabled temporarily by ending the conversation.

Quick Start

Run a destructive command and let 'careful' alert you with a warning before executing.

Frequently Asked Questions about careful

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

FAQPage Schema
How do I prevent destructive bash scripts from running in production environments?

Preventing destructive bash scripts in production requires pre-tool usage hooks that check commands against predefined destructive patterns and halt execution with warnings before data loss occurs.

Can I override command validation warnings for operations like git reset --hard?

Yes, you can override command validation warnings for operations like git reset --hard if necessary, allowing execution to proceed after the preventative safety check has been acknowledged.

What destructive commands are blocked to ensure safe operations in critical environments?

Destructive commands blocked to ensure safe operations include patterns like 'rm -rf', 'DROP TABLE', and 'git reset --hard', which may cause data loss or system instability in critical environments.

How do I temporarily disable bash script safety prevention during a session?

To temporarily disable bash script safety prevention during an active session, you can end the current conversation, which resets the session-scoped hooks and removes the command validation checks.

Does command validation work for non-bash scripts or commands?

No, command validation does not work for non-bash scripts, as the session-scoped hooks apply exclusively to bash commands to identify and halt destructive operations in critical environments.