guard SKILL.md skillA
guard from gufranco/claude-engineering-rules is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add gufranco/claude-engineering-rules/guard@git:20261013.02cb8cdPins git:20261013.02cb8cd in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- gufranco/claude-engineering-rules
- Path
skills/guard/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261013.02cb8cd, committed Oct 13, 2026
- First version recorded
- Apr 4, 2026
- Size
- 6,231 bytes
- Repository stars
- 3
- License
- MIT
Safety mode for risky operations that freezes edits to one directory, warns on destructive commands, and enforces scope.
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
## Overview Activates multiple safety protections at once to reduce the risk of accidental damage during sensitive operations. ## When to Use Activate before a sensitive operation where an edit outside one directory or an unconfirmed destructive command would do damage, such as a migration, a production config change, or a bulk rename. ### Arguments | Invocation | Action | |-----------|--------| | `/guard <directory>` | Activate guard mode, freeze edits to the specified directory | | `/guard` | Activate guard mode for the current project root | | `/guard off` | Deactivate guard mode, remove all restrictions | | `/guard status` | Show current guard state | ## Protections Guard mode enables three protections simultaneously: | Protection | What it does | |-----------|-------------| | **Freeze** | Restricts file edits to the specified directory. Writes to `~/.claude/.freeze-scope` with the frozen path. Enforcement relies on the agent respecting the freeze file. | | **Careful** | Warns before any destructive command: `rm`, `git reset`, `DROP`, `DELETE`, and patterns covered by the dangerous-command-blocker hook. | …
Read the whole file at its exact version.
How to install
mdr add gufranco/claude-engineering-rules/guard@sha256:c77a4c3aad035bdfThe line at the top of this page pins the label git:20261013.02cb8cd, 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_f7lqqanivfmtzwyp)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 4, 2026 and Oct 13, 2026, about one every 48 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261013.02cb8cd latest | 2026-10-13 | 02cb8cd | 6,231 B | A | view · diff |
| git:20261012.84ebb18 | 2026-10-12 | 84ebb18 | 5,944 B | A | view · diff |
| git:20260930.840955f | 2026-09-30 | 840955f | 4,386 B | A | view · diff |
| git:20260420.b65a5c4 | 2026-04-20 | b65a5c4 | 4,247 B | A | view · diff |
| git:20260404.8042a93 | 2026-04-04 | 8042a93 | 4,286 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 (6231 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
gufranco/claude-engineering-rules · 3 stars · license MIT · pushed 2026-10-30 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_f7lqqanivfmtzwyp GET https://markdownregistry.com/api/v1/resolve?ref=gufranco/claude-engineering-rules/guard GET https://markdownregistry.com/api/v1/blob/c77a4c3aad035bdf18a02222ebb143b068a681fe3359f6a31ef3afa8d25e892a
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.
More from gufranco/claude-engineering-rules
Every file in gufranco/claude-engineering-rules