careful

Require explicit confirmation before executing destructive shell and deployment commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guards against destructive commands in the shell and CI environments by issuing warnings and requiring explicit confirmation before execution.

Core Features & Use Cases

  • Provides warnings for destructive operations such as rm -rf, git reset --hard, kubectl delete, and force-push attempts.
  • Allows per-command overrides to proceed when necessary, with logs of actions for auditability.
  • Suitable for prod debugging, shared environments, and any workflow where accidental data loss must be prevented.

Quick Start

Activate careful mode and review every destructive command before it runs.

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 like rm -rf or git reset --hard?

You can prevent destructive bash commands by implementing guardrails that issue warnings and require explicit confirmation before execution. This applies to operations like rm -rf and git reset --hard to ensure safe shell usage.

Can I override the warning prompt when running destructive commands in a deployment environment?

Yes, you can override the warning prompt for destructive commands when necessary. The system allows per-command overrides to proceed while maintaining an audit log of actions for accountability in deployment environments.

Does this destructive command warning system work with kubectl delete and git push --force?

Yes, the destructive command warning system works with kubectl delete and git push --force. It applies configurable guardrails across development, staging, and production environments to prevent accidental data loss.

What is the best way to add confirmation prompts for destructive shell and CI environment commands?

The best way to add confirmation prompts for destructive shell and CI commands is to activate a careful mode that reviews every potentially harmful operation. It provides a configurable warning prompt requiring explicit confirmation before running.

How do I track and audit when force-push or destructive commands are overridden in shared environments?

You can track and audit overridden destructive commands by utilizing the built-in audit log. When a user utilizes the optional override to proceed with commands like force-push, the action is recorded for review and auditability.