careful

A skill in garrytan/gstack · 142,098 stars on GitHub

Safety guardrails for destructive commands. (gstack)

Security grade of this SKILL.md: SAFE · how we grade

How to install careful

npx skills add garrytan/gstack --skill careful -a claude-code

The skills CLI copies this one skill into Claude Code (use -a for another agent). Or read its SKILL.md on GitHub.

What the SKILL.md says

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. Pattern Example Risk rm -rf / rm -r / rm --recursive rm -rf /var/data Recursive delete DROP TABLE / DROP DATABASE DROP TABLE users; Data loss TRUNCATE TRUNCATE orders; Data loss git push --force / -f git push -f origin main History rewrite git reset --hard git reset --hard HEAD~3 Uncommitted work loss git checkout . / git restore . git checkout . Uncommitted work loss kubectl delete kubectl delete pod Production impact docker rm -f / docker system prune docker system prune -a Container/image loss The hook also checks the PowerShell tool (Claude Code's main Windows shell) and any pwsh/powershell/cmd launched from Bash.

Other skills in garrytan/gstack

  • autoplan Auto-review pipeline — reads the full CEO, design, eng, and DX review skills from disk and runs them sequentially with auto-decisions using…
  • benchmark Web performance regression detection. (gstack)
  • benchmark-models Cross-model benchmark for gstack skills. (gstack)
  • browse Drive a real browser through Aside: open a page, read it, click through a flow, take screenshots, check console errors. (gstack)
  • canary Post-deploy canary monitoring. (gstack)
  • captain Run a crew of coding agents from one controller (also /crew): lanes send READY blocks and never merge; the controller merges through trains…
  • codex OpenAI Codex CLI wrapper — three modes. (gstack)
  • context-restore Restore working context saved earlier by /context-save. (gstack)
  • context-save Save working context. (gstack)
  • cso Security audit: supported static findings; qualified profiles add reproduction and repair candidates. (gstack)
  • design-consultation Design consultation: understands your product, researches the landscape, proposes a complete design system (aesthetic, typography, color, l…
  • design-html Design finalization: generates production-quality Pretext-native HTML/CSS. (gstack)
  • design-motion Design motion: animate an approved design into a seamless MP4 and GIF loop. (gstack)
  • design-review Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems, AI slop patterns, and slow interactions — then fixes the…
  • design-shotgun Design shotgun: generate multiple AI design variants, open a comparison board, collect structured feedback, and iterate. (gstack)
  • deslop-shared-libs Find worthwhile shared-code extractions in recent work. (gstack)
  • devex-review Live developer experience audit. (gstack)
  • diagram Turn an English description (or mermaid source) into a diagram triplet: the source, an editable .excalidraw file you can open on excalidraw…
  • document-generate Generate missing documentation from scratch for a feature, module, or entire project. (gstack)
  • document-release Release documentation audit. (gstack)