forge SKILL.md skillA
forge from mohammedatya/guardrail-forge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mohammedatya/guardrail-forge/forge@git:20261015.9f8712fPins git:20261015.9f8712f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mohammedatya/guardrail-forge
- Path
skills/forge/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261015.9f8712f, committed Oct 15, 2026
- First version recorded
- Sep 27, 2026
- Size
- 11,526 bytes
- Repository stars
- 7
- License
- MIT
Forge a user's correction into an enforced never-rule (hook, permission deny, or stop gate) proven by fixtures, instead of a CLAUDE.md line. Use when the user types /forge, corrects a repeated mistake ("don't do that again", "never X", "stop doing Z"), or asks to audit, list, or remove guardrails. For "always do X after/before Y", use the /always skill.
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
# Forge
Turn a **correction** into a **guardrail**: the strongest cheap enforcement that will not misfire, proven **red/green** by fixtures before it is installed, and logged to a **ledger** every time it fires.
A guardrail works in one of two directions:
- **Never-rule** (this skill): "never X", "stop doing X". Claude is blocked, asked about, or nudged when it tries X.
- **Always-rule** (the `/always` skill, `<skill-dir>/../always/SKILL.md`): "after X, always do Y", "before X, do Y". Claude cannot finish its reply, or take the next step, until Y is really done. When a correction is really a standing task ("you forgot to rebuild again"), follow that skill instead; it uses the same engine.
`<skill-dir>` below is the base directory shown when this skill loads. `<guardrails>` is the installed scope: `<project>/.claude/guardrails/` or `~/.claude/guardrails/`.
Pick the branch:
- A correction to enforce → **Forge** (below).
- "harvest" / "what do I keep correcting" → **Harvest**.
- "audit" / "which guardrails are useless" → **Audit**.
- "list" / "remove" / "undo" / "doctor" → **Manage**.
…Read the whole file at its exact version.
How to install
mdr add mohammedatya/guardrail-forge/forge@sha256:aca2c94683757b19The line at the top of this page pins the label git:20261015.9f8712f, 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_nofr6fe7lww7apx4)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 27, 2026 and Oct 15, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261015.9f8712f latest | 2026-10-15 | 9f8712f | 11,526 B | A | view · diff |
| git:20261015.5a69d0d | 2026-10-15 | 5a69d0d | 11,434 B | A | view · diff |
| git:20260927.ba93df2 | 2026-09-27 | ba93df2 | 10,429 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 (11526 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
mohammedatya/guardrail-forge · 7 stars · license MIT · pushed 2026-10-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_nofr6fe7lww7apx4 GET https://markdownregistry.com/api/v1/resolve?ref=mohammedatya/guardrail-forge/forge GET https://markdownregistry.com/api/v1/blob/aca2c94683757b19913faacd0843bc3c2d0a1ff1bed50dc8f0efa38e4363805a
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 mohammedatya/guardrail-forge
Every file in mohammedatya/guardrail-forge