Installs into .claude/skills of the current project.
Are you the author of Careful?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/pillip-careful)
---
name: careful
description: Activates destructive command warnings for the current session. Use when working in sensitive environments.
allowed-tools: Read, Glob, Grep, Write, Edit, Bash
hooks:
PreToolUse:
- matcher: Bash
hooks:
- type: command
command: "bash -c 'for D in \"$CLAUDE_PLUGIN_ROOT/skills/careful\" \"$CLAUDE_SKILL_DIR\" \"${CLAUDE_PROJECT_DIR:-.}/.claude/skills/careful\"; do [ -n \"$D\" ] && [ -f \"$D/careful_guard.py\" ] && exec python3 \"$D/careful_guard.py\"; done; true'"
---
Careful mode is now **active**. All Bash commands are screened for destructive patterns before execution.
Detected patterns will be blocked with an explanation. You can re-invoke the command to confirm.
**Covered patterns**: rm -rf, git push --force, git reset --hard, git branch -D, DROP TABLE, DELETE without WHERE, TRUNCATE, mkfs, dd, chmod -R 777, kubectl delete, docker system prune.
**Safe exceptions**: Removing common build artifacts (node_modules, dist, .next, __pycache__, .cache, build, .turbo, coverage) is always allowed.
**Bypass**: Commands with `--dry-run` are always allowed.
To deactivate, end this conversation or start a new one without `/careful`.