careful

Blocks or warns before executing destructive commands via a PreToolUse hook.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill careful-ericdahl-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: careful
Source: https://github.com/ericdahl-dev/coauthor-cleaner/tree/main/.claude/skills/gstack/careful
Command: npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill careful-ericdahl-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps prevent accidental damage to critical systems by providing guardrails for destructive commands.

Core Features & Use Cases

  • Destructive Command Blocking: Warns or blocks commands like rm -rf, DROP TABLE, git push --force, and more.
  • Custom Safety Settings: Configure to allow certain patterns without warning.
  • Integration with Bash: Acts as a PreToolUse hook to check commands before execution.

Quick Start

Enable the 'careful' skill and start using it with your regular Bash workflow.

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 bash commands like rm -rf?

Prevent accidental data loss from destructive bash commands by integrating a PreToolUse hook that blocks or warns before executing patterns like rm -rf, DROP TABLE, and git push --force. This provides guardrails against unintended system damage.

Can I configure safety settings to allow specific destructive bash commands without triggering a warning?

Yes, you can configure custom safety settings to allow specific command patterns without triggering a warning. This enables safe execution of approved destructive commands while maintaining protection against unintended data loss.

Does command blocking work as a PreToolUse hook for regular bash workflows?

Command blocking works by integrating as a PreToolUse hook that checks bash commands before execution. It functions within your regular bash workflow to warn or block destructive commands, protecting live systems and shared environments.

What is the best way to guard shared environments against unintended destruction from git push --force?

The best way to guard shared environments against unintended destruction is enabling command blocking that intercepts destructive commands like git push --force before execution. It requires integration as a PreToolUse hook to check bash commands.

What types of destructive commands are blocked to prevent unintended data loss?

Destructive commands blocked to prevent unintended data loss include rm -rf, DROP TABLE, and git push --force. The command blocking mechanism intercepts these patterns before execution to protect critical systems from accidental damage.