careful

Warn before executing destructive Bash commands with user override options.

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

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".

Core Features & Use Cases

  • Warns before destructive commands in Bash such as rm -rf, git reset --hard, kubectl delete, and DROP TABLE.
  • Users can override each warning to proceed when truly needed.
  • Suitable for production work, live debugging, and shared environments to prevent accidents.

Quick Start

Enable careful mode before running 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 accidental data loss from destructive bash commands?

Safety guardrails detect destructive bash patterns like rm -rf and DROP TABLE, warning before execution to prevent accidental data loss. You can override each warning to proceed when truly needed.

What destructive operations should I protect against when debugging live systems?

When debugging live systems, protect against rm -rf, DROP TABLE, git reset --hard, force-push, and kubectl delete operations. Pattern detection warns before execution, preventing accidental data loss in shared environments.

Can I override the warning if I truly need to run a destructive command in production?

Yes, you can override each warning to proceed when truly needed. Safety mode intercepts destructive commands and prompts for confirmation, ensuring intentional execution while maintaining guardrails in production environments.

When should I enable safety mode for bash command execution?

Enable safety mode when touching production, debugging live systems, or working in shared environments where guardrails are needed. It activates pattern detection for operations like rm -rf, git reset --hard, and kubectl delete to prevent accidents.

Does this guardrail tool work with kubectl delete and git reset --hard commands?

Yes, the guardrail tool works with kubectl delete and git reset --hard by implementing pattern detection for these and similar destructive operations. It warns before execution, with user override options available when needed.