careful

Monitor bash scripts for destructive commands and prompt for user confirmation.

3|Updated Oct 12, 2025
One-click install
npx skills add https://github.com/mostafasudo/warpy --skill careful-mostafasudo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: careful
Source: https://github.com/mostafasudo/warpy/tree/main/.codex/skills/gstack/careful
Command: npx skills add https://github.com/mostafasudo/warpy --skill careful-mostafasudo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Prevents accidental damage to critical systems and data through destructive command execution by providing warnings for dangerous operations.

Core Features & Use Cases

  • Prevent Destructive Commands: Monitors for risky commands like 'rm -rf', 'DROP TABLE', 'git reset --hard', and 'kubectl delete'.
  • User Confirmation: Asks for user approval before executing such commands.
  • Use Case: Use this Skill in a production environment to prevent accidental deletion of data or system components.

Quick Start

Before executing a destructive command, say 'be careful'.

Frequently Asked Questions about careful

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

FAQPage Schema
How do I prevent accidental execution of destructive bash commands in production?

Preventing destructive bash commands requires a monitoring mechanism that prompts for user confirmation before execution. This Skill acts as a guardrail, detecting risky operations like 'rm -rf' or 'git reset --hard' and asking for approval to enhance system safety.

What is the best way to add a safety prompt before running 'rm -rf' or 'DROP TABLE'?

The best way to add a safety prompt is using a command execution monitor that intercepts high-risk operations. This Skill automatically detects commands like 'DROP TABLE' and 'kubectl delete', pausing execution to ask for explicit user confirmation.

Can I use command execution guardrails to protect data during high-risk operations?

Yes, you can use command execution guardrails to protect data during high-risk operations. This Skill monitors your bash scripts for destructive commands, providing a warning prompt that prevents accidental deletion of critical data or system components.

How do I set up user confirmation for risky commands like 'git reset --hard'?

Setting up user confirmation for risky commands involves deploying a script monitor that watches for specific destructive patterns. When commands like 'git reset --hard' are detected, the Skill halts execution and asks for user approval before proceeding.

When do I need a command monitor for destructive operations?

You need a command monitor for destructive operations when working in production environments where accidental data loss is a risk. It is essential when executing bash scripts containing commands like 'kubectl delete' or 'rm -rf' that could damage critical system components.