careful

Warn before executing destructive Bash commands with explicit override confirmation.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/him55710-sudo/uni-foli --skill careful-him55710-sudo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: careful
Source: https://github.com/him55710-sudo/uni-foli/tree/main/.agents/skills/gstack-careful
Command: npx skills add https://github.com/him55710-sudo/uni-foli --skill careful-him55710-sudo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safety guardrails for destructive commands. Warns before rm -rf, DROP TABLE, force-push, git reset --hard, kubectl delete, and similar destructive operations. User can override each warning. Use when touching prod, debugging live systems, or working in a shared environment. Use when asked to "be careful", "safety mode", "prod mode", or "careful mode". (gstack)

Core Features & Use Cases

  • Real-time safety checks for destructive Bash commands before execution.
  • Optional override with explicit confirmation to proceed.
  • Safe-guard across development and production workflows to minimize data loss risk.
  • Use Case: When debugging live systems or touching prod, this skill helps avoid accidental data loss.

Quick Start

Enable careful mode and begin executing your Bash commands with warning prompts before any destructive operation.

Frequently Asked Questions about careful

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

FAQPage Schema
How do I add safety guardrails to prevent destructive bash commands in production?

Safety guardrails prevent destructive bash commands by triggering warning prompts before execution in development and production environments. This pre-check mechanism intercepts operations like force-push or kubectl delete to minimize data loss risk.

Can I override the warning when executing destructive commands like git reset --hard?

Yes, you can override warnings for destructive commands like git reset --hard using an explicit confirmation mechanism. This ensures the destructive action remains deliberate, allowing you to proceed safely when modifying live systems.

What destructive operations are intercepted by the bash safety pre-check hook?

The bash safety pre-check hook intercepts destructive operations such as rm -rf, DROP TABLE, force-push, git reset --hard, and kubectl delete. It warns users before execution to prevent accidental data loss and system changes.

Does the bash safety mode work across both development and production environments?

Yes, bash safety mode works across both development and production environments. It applies real-time safety checks to destructive commands regardless of the environment, ensuring consistent data loss prevention when debugging live systems or touching prod.

When should I enable careful mode for my bash terminal workflows?

Enable careful mode for bash terminal workflows when you are touching prod, debugging live systems, or working in a shared environment. It provides proactive safety guardrails to prevent accidental data loss during these operations.