careful

Prevents destructive shell commands without explicit confirmation via Bash hook scanning and audit logs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safety checks prevent destructive commands from running unnoticed by warning users before actions like rm -rf, git reset --hard, kubectl delete, or docker prune, allowing safe overrides when necessary.

Core Features & Use Cases

  • Pre-run vulnerability detection for dangerous commands
  • Warning with optional override to proceed
  • Audit-friendly logs of attempted destructive actions

Quick Start

Activate careful mode and describe the intended destructive action to receive a safety warning and an explicit override path

Frequently Asked Questions about careful

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

FAQPage Schema
How do I add a safety guardrail to prevent destructive bash commands from executing?

To add a safety guardrail, this Skill implements a pre-run command checker as a Bash hook that scans input for dangerous patterns like rm -rf and returns a permission decision to ask for confirmation before execution.

How does the override mechanism work for commands like git reset --hard?

The override mechanism works by returning a permission decision to ask when a destructive command is detected, warning the user and providing an explicit path to proceed with the action if necessary.

Can I use this to warn against destructive kubectl delete or docker prune commands?

Yes, you can use this in testing and production debugging scenarios to warn against destructive commands including kubectl delete and docker prune, preventing them from running unnoticed.

Does this command checker log attempted destructive actions for audit purposes?

Yes, the command checker logs offenses for audit, providing audit-friendly records of attempted destructive actions that triggered the safety guardrails during your shell sessions.

What are the limitations of using a pre-run command checker for shell safety?

A limitation of this pre-run command checker is that it scans for dangerous patterns in shell input, meaning it focuses on preventing destructive commands through warnings and optional overrides rather than blocking them entirely.