careful
A safety skill from gstack, Garry Tan's Claude Code setup, that adds a check before every Bash or PowerShell command for the rest of the session.
What the skill teaches
A safety skill from gstack, Garry Tan's Claude Code setup, that adds a check before every Bash or PowerShell command for the rest of the session. A bundled shell script looks for destructive commands, such as recursive deletes, dropping or truncating database tables, force pushes, hard git resets, kubectl delete, forced Docker removal and recursive PowerShell deletes, and asks the user to confirm before they run. Deleting the root or home folder and force pushes to the default branch are refused outright, while clearing common build and cache folders such as node_modules or dist is allowed. Users can add their own warning patterns. The source says PowerShell matching is only approximate and suggests permission deny rules for a hard stop.
Capabilities
- Warn before destructive shell commands
- Refuse deleting the root or home folder
- Allow cleaning common build folders
- Accept custom warning patterns
About
- Publisher
- Garry Tan
Works with
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- SKILL.md.tmpl
- bin/check-careful.sh
- bin/hook-extract.sh
- bin/mask-commit-message.awk
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Not stated in its documentation | |
| Publisher | Garry Tan | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code | source |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026141,174 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Other copies of this skill (2)
These differ from this skill's text. They may be adapted copies or older versions.
More from Garry Tan
35 skills
All 35 from Garry Tan →Sources
- Skill file (SKILL.md)github.com/garrytan/gstack · Backs: AI clients, Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/garrytan/gstack · Backs: Licence, Publisher, ActivityNov 11, 2026
- Folder in the repository (careful)github.com/garrytan/gstack · Backs: Includes scriptsNov 10, 2026