patch SKILL.md skillA
patch from air-gapped/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add air-gapped/skills/patch@git:20261027.60509f4Pins git:20261027.60509f4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- air-gapped/skills
- Path
.claude/skills/patch/SKILL.md- Versions recorded
- 9
- Latest version
- git:20261027.32864de, committed Oct 27, 2026
- First version recorded
- Aug 15, 2026
- Size
- 25,841 bytes
- Repository stars
- 6
- License
- MIT
[4/4 defending-code] Generate candidate fixes for verified security findings. Last step of the find-and-fix loop (/threat-model -> /vuln-scan -> /triage -> /patch); run /triage first so fixes aren't written for false positives. Consumes TRIAGE.json (preferred), VULN-FINDINGS.json, or an execution-harness results directory. Static-analysis input gets a per-finding patch subagent + an independent reviewer and is written as inert diffs for human review; results-directory input from an external…
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
# patch Last leg of the defending-code loop (`/threat-model` → `/vuln-scan` → `/triage` → **`/patch`**). Turns a ranked list of verified findings into candidate diffs. Nothing consumes this skill's output automatically — a human reviews and applies the diffs. The skill **never applies a diff** to the target repo. Output is inert text in `./PATCHES/` for a human to review and apply out-of-band — see § "Reviewing generated patches" at the end of this file. There is no `--apply` or `--approve` flag by design: the capability isn't present, so it can't be prompt-injected into use. Invoke with `/patch <findings-path> [--repo PATH] [--top N] [--id fNNN] [--model M] [--fresh]`. **Arguments** (parse from `$ARGUMENTS`): - findings path (first positional, required): `TRIAGE.json`, `VULN-FINDINGS.json`, a pipeline `results/<target>/<ts>/` directory, or any JSON the `/triage` ingest table recognizes. - `--repo PATH`: target codebase, read-only (default cwd). Required for static mode; the skill stops if cited files don't resolve under it. - `--top N`: patch only the N highest-severity true positives (static mode). - `--id fNNN`: patch only the finding with this id. …
Read the whole file at its exact version.
How to install
mdr add air-gapped/skills/patch@sha256:fc9d1bc18c035f93The line at the top of this page pins the label git:20261027.60509f4, 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_p54de5k6q4tjthza)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 9 versions of this file, between Aug 15, 2026 and Oct 27, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261027.32864de latest | 2026-10-27 | 32864de | 25,841 B | A | view · diff |
| git:20261027.3dcbe43 | 2026-10-27 | 3dcbe43 | 26,110 B | A | view · diff |
| git:20261027.60509f4 | 2026-10-27 | 60509f4 | 26,345 B | A | view · diff |
| git:20261027.7ecbbd1 | 2026-10-27 | 7ecbbd1 | 26,470 B | A | view · diff |
| git:20260915.8fcf78b | 2026-09-15 | 8fcf78b | 25,685 B | A | view · diff |
| git:20260915.34767df | 2026-09-15 | 34767df | 25,701 B | A | view · diff |
| git:20260819.8a081a6 | 2026-08-19 | 8a081a6 | 25,692 B | A | view · diff |
| git:20260815.1d5ff48 | 2026-08-15 | 1d5ff48 | 25,099 B | A | view · diff |
| git:20260815.f146a07 | 2026-08-15 | f146a07 | 23,974 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 (25841 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
air-gapped/skills · 6 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_p54de5k6q4tjthza GET https://markdownregistry.com/api/v1/resolve?ref=air-gapped/skills/patch GET https://markdownregistry.com/api/v1/blob/fc9d1bc18c035f9323f3e478547a36cd9022a49a10fa3d041f88c805b18483c1
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.