air-gapped/skills · .claude/skills/patch/SKILL.md

patch skillA

patch is agent-read markdown (skill) from air-gapped/skills: [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 exec.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add air-gapped/skills/patch@git:20260915.8fcf78b
Exact content
mdr add air-gapped/skills/patch@sha256:574f5e4a557438cb

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_p54de5k6q4tjthza.svg)](https://markdownregistry.com/a/art_p54de5k6q4tjthza)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260915.8fcf78b latest2026-09-15 8fcf78b 25,685 BA view · diff
git:20260915.34767df2026-09-15 34767df 25,701 BA view · diff
git:20260819.8a081a62026-08-19 8a081a6 25,692 BA view · diff
git:20260815.1d5ff482026-08-15 1d5ff48 25,099 BA view · diff
git:20260815.f146a072026-08-15 f146a07 23,974 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (25685 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

GitHub

air-gapped/skills · 5 stars · license MIT · pushed 2026-09-15 · 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/574f5e4a557438cb008f2ce2b997ce31e6727108b1acc588bdde287798bc7bfc