careful

Detect destructive Bash commands and require explicit user override before execution.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/jeisenback/original-curse-killer --skill careful-jeisenback
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: careful
Source: https://github.com/jeisenback/original-curse-killer/tree/main/.claude/skills/careful
Command: npx skills add https://github.com/jeisenback/original-curse-killer --skill careful-jeisenback

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

  • Warnings before destructive commands in Bash workflows
  • Per-command override option to proceed or cancel
  • Logs usage analytics for auditing and safety oversight
  • Use case: DevOps workflows risky prod operations and debugging live systems

Quick Start

Enable careful mode to warn before destructive commands and require explicit confirmation before proceeding.

Frequently Asked Questions about careful

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

FAQPage Schema
How do I add a warning prompt before executing destructive bash commands like rm -rf?

Careful mode detects destructive commands like rm -rf, git reset --hard, and kubectl delete by analyzing bash inputs through a PreToolUse hook, logging risk events, and requiring explicit user override to proceed with execution.

What destructive operations does careful mode intercept in development and deployment workflows?

Careful mode intercepts destructive operations including rm -rf, DROP TABLE, force-push, git reset --hard, and kubectl delete in bash workflows, warning before execution to prevent accidental data loss in development and deployment tasks.

Can I override the safety warning if I need to force a destructive command to run?

Yes, you can override the safety warning on a per-command basis. When careful mode intercepts a destructive command, it provides an option to proceed or cancel, allowing explicit user override to execute the operation if needed.

Does careful mode work for DevOps workflows involving risky prod operations and debugging live systems?

Yes, careful mode is designed for DevOps workflows involving risky prod operations and debugging live systems. It provides safety guardrails by warning before destructive commands in shared environments where accidental data loss could cause harm.

How are destructive command warnings logged for auditing and safety oversight?

Destructive command warnings are logged as risk events for auditing and safety oversight. The PreToolUse hook analyzes input commands and records usage analytics, ensuring traceability when operating in careful mode during sensitive workflows.