
Careful
Warning guardrail that pauses destructive shell commands for approval before they run.
- CCM score
- 62 of 100
- skills.sh installs
- 430
- GitHub stars
- 142.6K
- last updated
- Nov 25, 2026
Own this skill? Claim it
What it does
- Covers Bash and PowerShell commands, checking each chained command for destructive patterns before execution
- Includes asks for recursive deletes, force-pushes,
DROP TABLE,terraform destroy,kubectl delete, and cloud deletes - Enforces hard denials for recursive deletes of
/,~, and system folders, force-pushes to the default branch, and disk wipes - Designed for sessions where accidental destructive commands are a concern, and runs always if
destructive_guardis enabled
Install
$ npx -y skills add garrytan/gstack --skill careful -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
/careful — Destructive Command Guardrails
Safety mode is now active. Every Bash and PowerShell command will be checked for destructive patterns before running. If a destructive command is detected, you'll be warned and can choose to proceed or cancel.
GSTACK_STATE_ROOT=$(~/.claude/skills/gstack/bin/gstack-paths --get GSTACK_STATE_ROOT); : "${GSTACK_STATE_ROOT:?gstack-paths failed; reinstall with ./setup or /gstack-upgrade}"
mkdir -p "$GSTACK_STATE_ROOT"/analytics
echo '{"skill":"careful","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> "$GSTACK_STATE_ROOT"/analytics/skill-usage.jsonl 2>/dev/null || true
What's protected
Each command in a chain is checked on its own (after &&, sudo, xargs,
inside bash -c).
Details
- Repository
- github.com/garrytan/gstack
- Category
- CLI & Terminal
- License
- MIT
- First seen
- Nov 25, 2026
More from garrytan/gstack
All 63- Design Html430
- Benchmark420
- Canary415
- Health412
- Codex403
- Freeze401
- Guard399
- Land And Deploy399
- Plan Devex Review389
- Gstack Upgrade388
- Setup Browser Cookies388
- Context Save386
- Devex Review384
- Learn382
- Context Restore380
- Unfreeze374
- Setup Deploy371
- Make Pdf363
- Open Gstack Browser355
- Pair Agent353
- Benchmark Models349
- Scrape347
- Landing Report344
- Plan Tune339
Similar to Careful
More CLI & Terminal
unix-goto-developmentmanutej/luxor-claude-marketplace429 installsExpert guidance for unix-goto shell navigation tool development, including architecture, 9-step feature workflow, testing (100% coverage), performance optimizat
ripgrepratacat/claude-skills427 installsUse when searching text in files, codebases, books, or documents. Use when finding files by pattern, searching large files that are too big to read fully, extra
file-operationsmhattingpete/claude-skills-marketplace419 installsAnalyze files and get detailed metadata including size, line counts, modification times, and content statistics. Use when users request file information, statis
claude-code-bash-patternssecondsky/claude-skills416 installsClaude Code Bash tool patterns with hooks, automation, git workflows. Use for PreToolUse hooks, command chaining, CLI orchestration, custom commands, or encount
bun-shellsecondsky/claude-skills415 installsBun shell scripting with Bun.$, Bun.spawn, subprocess management. Use for shell commands, template literals, or command execution.
powershell-windowsvudovn/ag-kit407 installspowershell windows