Installs into .claude/skills of the current project.
Are you the author of Garrytan Gstack Guard?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nota-america-garrytan-gstack-guard)
---
name: guard
version: 0.1.0
description: 'Full safety mode: destructive command warnings + directory-scoped edits.
(gstack)'
triggers:
- full safety mode
- guard against mistakes
- maximum safety
allowed-tools:
- Bash
- Read
- AskUserQuestion
hooks:
PreToolUse:
- matcher: Bash
hooks:
- type: command
command: 'for p in "${CLAUDE_PROJECT_DIR:-.}/.claude/skills/garrytan_gstack/scripts/profile.py"
"$HOME/.claude/skills/garrytan_gstack/scripts/profile.py"; do if [ -f "$p"
]; then exec python3 "$p" hook --host claude-code --handler careful; fi; done;
printf ''%s\n'' ''{"hookSpecificOutput": {"hookEventName": "PreToolUse", "permissionDecision":
"ask", "permissionDecisionReason": "gstack profile controller is missing;
repair the installation"}}'''
statusMessage: Checking for destructive commands...
- matcher: Edit
hooks:
- type: command
command: 'for p in "${CLAUDE_PROJECT_DIR:-.}/.claude/skills/garrytan_gstack/scripts/profile.py"
"$HOME/.claude/skills/garrytan_gstack/scripts/profile.py"; do if [ -f "$p"
]; then exec python3 "$p" hook --host claude-code --handler freeze; fi; done;
printf ''%s\n'' ''{"hookSpecificOutput": {"hookEventName": "PreToolUse", "permissionDecision":
"deny", "permissionDecisionReason": "gstack profile controller is missing;
repair the installation"}}'''
statusMessage: Checking freeze boundary...
- matcher: Write
hooks:
- type: command
command: 'for p in "${CLAUDE_PROJECT_DIR:-.}/.claude/skills/garrytan_gstack/scripts/profile.py"
"$HOME/.claude/skills/garrytan_gstack/scripts/profile.py"; do if [ -f "$p"
]; then exec python3 "$p" hook --host claude-code --handler freeze; fi; done;
printf ''%s\n'' ''{"hookSpecificOutput": {"hookEventName": "PreToolUse", "permissionDecision":
"deny", "permissionDecisionReason": "gstack profile controller is missing;
repair the installation"}}'''
statusMessage: Checking freeze boundary...
---
# guard
Resolve `scripts/entry.py` relative to this SKILL.md, then invoke it by absolute path:
Set `SKILL_DIR` to the absolute directory containing this file, as supplied by skill discovery.
```sh
python3 "$SKILL_DIR/scripts/entry.py" instructions --host claude-code --skill guard
```
Use `claude-code`, `cursor`, `codex`, `openclaw`, or `hermes` for the current platform.
Follow the returned runtime contract and read the complete referenced workflow before acting.
Repeat the returned environment prefix on each shell call; variables do not persist between tool calls.
If setup is missing, explain the exact preparation command and obtain consent before downloads or builds.
Never silently use another gstack installation. Preserve the source workflow's questions and permission boundaries.