Skip to content
Back to skills

Careful

BSecurity

Activates destructive command warnings for the current session. Use when working in sensitive environments.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 9, 2026
ai-agentspythonbashnodedockergit

Security analysis

B85/100
  • highPerforms destructive filesystem operations

Pro scans all 2 files and shows the line behind each finding

Scanned October 9, 2026

npx -y skills add pillip/claude-dev-kit --skill careful --agent claude-code

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.

Security grade badge for Careful
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/pillip-careful/badge)](https://www.skillsdirectory.com/skills/pillip-careful)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`.

Files in this skill

  • SKILL.md1.2 KB
  • careful_guard.py2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.