careful

Warn before executing destructive shell and deployment commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safety guardrails for destructive commands to prevent accidental data loss by warning before actions like rm -rf, DROP TABLE, force-push, git reset --hard, kubectl delete, and similar operations, while allowing override.

Core Features & Use Cases

  • Warns before destructive commands and allows user override.
  • Detects common dangerous patterns across shells, databases, and version control.
  • Tracks and logs warning events for auditing.

Quick Start

Enable careful mode before executing potentially destructive commands and follow 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 prevent accidental data loss from destructive shell commands like rm -rf or git reset --hard?▼

To prevent accidental data loss from destructive shell commands, you can use a pre-run hook that scans for dangerous patterns and prompts for confirmation before execution across interactive terminals and CI pipelines.

Does this warning prompt work in CI pipelines and production environments?▼

Yes, the warning prompt works in CI pipelines and production environments. The pre-run hook applies across development, staging, and production environments to guard destructive commands like kubectl delete and force-push.

Can I override the warning prompt when I know a destructive command is safe to run?▼

Yes, you can override the warning prompt when a destructive command is safe. The system provides an explicit override option and maintains a safe exceptions list to bypass warnings for approved commands.

What destructive command patterns are detected across shells and databases?▼

Detected destructive command patterns across shells and databases include rm -rf, DROP TABLE, force-push, git reset --hard, and kubectl delete. The system detects common dangerous patterns across shells, databases, and version control.

Are warning events tracked for auditing when destructive commands are blocked?▼

Yes, warning events are tracked for auditing when destructive commands are blocked. The system tracks and logs warning events, recording when dangerous patterns are detected and whether an override was applied.