guard SKILL.md skillA
guard from garrytan/gstack is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add garrytan/gstack/guard@v0.1.0Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- garrytan/gstack
- Path
guard/SKILL.md- Versions recorded
- 11
- Latest version
- v0.1.0, committed Oct 19, 2026
- First version recorded
- May 1, 2026
- Size
- 3,824 bytes
- Repository stars
- 138,879
- License
- MIT
Full safety mode: destructive command warnings + directory-scoped edits. (gstack).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# /guard — Full Safety Mode
Activates both destructive command warnings and directory-scoped edit restrictions.
This is the combination of `/careful` + `/freeze` in a single command.
**Dependency note:** This skill references hook scripts from the sibling `/careful`
and `/freeze` skill directories. Both must be installed (they are installed together
by the gstack setup script).
```bash
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":"guard","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
```
## Setup
Ask the user which directory to restrict edits to. Use AskUserQuestion:
…Read the whole file at its exact version.
How to install
mdr add garrytan/gstack/guard@sha256:74417889d310a0c6The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_t2gfcjp7svfbr25o)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 11 versions of this file, between May 1, 2026 and Oct 19, 2026, about one every 17 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.1.0 latest | 2026-10-19 | 6237994 | 3,824 B | A | view · diff |
| v0.1.0 | 2026-10-08 | c7edf46 | 4,138 B | A | view · diff |
| v0.1.0 | 2026-10-04 | 2db0b3a | 3,685 B | A | view · diff |
| v0.1.0 | 2026-10-03 | ac20ef1 | 3,628 B | A | view · diff |
| v0.1.0 | 2026-10-01 | df89475 | 3,593 B | A | view · diff |
| v0.1.0 | 2026-09-26 | 01593aa | 3,430 B | A | view · diff |
| v0.1.0 | 2026-08-16 | 1cab5e1 | 3,401 B | A | view · diff |
| v0.1.0 | 2026-06-08 | 9cc41b7 | 3,314 B | A | view · diff |
| v0.1.0 | 2026-05-30 | 3bef43b | 3,299 B | A | view · diff |
| v0.1.0 | 2026-05-26 | 22f8c7f | 3,297 B | A | view · diff |
| v0.1.0 | 2026-05-01 | 0570ef9 | 3,277 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3824 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
garrytan/gstack · 138,879 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_t2gfcjp7svfbr25o GET https://markdownregistry.com/api/v1/resolve?ref=garrytan/gstack/guard GET https://markdownregistry.com/api/v1/blob/74417889d310a0c62cf0be65a88e056ee4709b8fcea20c73e33b323f39e8956c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.