careful

Warn before executing destructive commands via a pre-execution Bash hook.

37|2|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/DariusCorvus/iqualize --skill careful-dariuscorvus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: careful
Source: https://github.com/DariusCorvus/iqualize/tree/main/.claude/skills/gstack/careful
Command: npx skills add https://github.com/DariusCorvus/iqualize --skill careful-dariuscorvus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safety guardrails that warn before executing destructive commands like rm -rf, DROP TABLE, force-push, git reset --hard, and kubectl delete, helping teams avoid catastrophic mistakes.

Core Features & Use Cases

  • Pre-execution warnings for dangerous commands and destructive operations.
  • User override capability to proceed after reviewing the warning.
  • Integrates with a PreToolUse hook to enforce safety checks in automation flows and logs usage analytics.

Quick Start

Enable careful mode and run risky commands only after reviewing the warning prompts.

Frequently Asked Questions about careful

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

FAQPage Schema
How do I add safety prompts to prevent destructive bash commands like rm -rf?

To prevent destructive bash commands like rm -rf, you need a pre-execution hook that detects risky patterns and issues safety prompts. This approach intercepts dangerous operations before they execute, allowing you to review the warning and proceed only if the override is permitted.

Can I get a warning before running destructive git reset or force-push commands?

Yes, you can get a warning before running destructive git commands like git reset --hard or force-push. A pre-execution safety guardrail detects these specific risky patterns, logs the usage analytics, and prompts you to confirm before the command executes on your live environment.

How do I guard against accidental kubectl delete on production environments?

You can guard against accidental kubectl delete commands on production environments by implementing a pre-execution bash hook. This hook enforces safety checks by detecting risky kubectl patterns, warning you of the destructive action, and allowing an override only after reviewing the prompt.

Does a pre-execution hook work with bash to log usage analytics for dangerous commands?

Yes, a pre-execution hook integrates directly with bash to log usage analytics for dangerous commands. It detects risky patterns like DROP TABLE or rm -rf, logs the attempted execution, and issues a warning prompt to prevent catastrophic mistakes on shared workstations.

Can I override safety warnings for destructive commands when permitted?

Yes, you can override safety warnings for destructive commands when permitted. After the pre-execution hook detects a risky pattern and displays the warning, you have the capability to bypass the guardrail and proceed with the execution after reviewing the prompt.