Borrowing it
Nothing to install: this file belongs to akillness/jeo-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/akillness/jeo-skills/main/.agent-skills/artex/skills/patch-diff/SKILL.mdgit clone --depth 1 https://github.com/akillness/jeo-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/akillness/jeo-skills/patch-diff)<a href="https://agentmods.dev/skills/akillness/jeo-skills/patch-diff"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/patch-diff/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/akillness/jeo-skills/patch-diff"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/patch-diff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00086 | $0.01589 |
| Opus 5.5 | $0.00034 | $0.00636 |
| Sonnet 5.5 | $0.00017 | $0.00318 |
| Haiku 4.5 | $0.00009 | $0.00159 |
Grade A, and why
patch-diff scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Patch Diff (N-day recovery from vendor fixes)
Under an authorized engagement, recover a vulnerability from the fix that closed it: obtain the before and after builds, align symbols, diff the binaries, read the added checks to infer the bug class, then prove the bug with a PoC that reproduces on the unpatched build and runs clean on the patched one. The standing finding quality gates and the adversarial gate in your system prompt apply throughout: a crash you cannot reproduce on demand is a hypothesis, not a finding.
Attribution: adapted from the patch-diff-exploit playbook of zhaoxuya520/reverse-skill (MIT License).
Boundaries and authorization
| Allowed | Prohibited |
|---|---|
| Diffing and testing builds in your own lab, on machines covered by written engagement scope, or inside CTF and benchmark ranges | Running a recovered PoC against systems you do not own, even when a program covers the underlying bug |
| Writing PoCs that demonstrate the bug (crash, hang, memory-corruption evidence) | Turning a PoC into a deliverable payload |
Publishing or reporting with {target}, {host}, {user} placeholders |
Publishing unredacted hostnames, IPs, or usernames |
If the environment lacks a tool a step needs (see Environment notes), report the gap and stop. Never simulate diff output or fabricate crash evidence.
When to use
- Known CVE, no public PoC. The advisory names the component and bug class but ships only the fix.
- Patch Tuesday triage. Rank the month's kernel and driver fixes by likely exploitability before committing to deep analysis.
- Backport gap. The mainline fix is merged but a distribution, LTS branch, or OEM kernel has not picked it up.
- Closed-source security patches. Drivers, engines, virtualization components where the advisory is the only documentation.
Core method
patched build (after) unpatched build (before)
│ │
└───────── binary diff ─────────┘
│
function-level diff (matched / unmatched / changed)
│
focus on functions with moderate match scores (0.5 to 0.95)
│
read the new guards: bounds checks, locks, zeroing, refcounts
│
infer the bug class: OOB, race, UAF, info leak, int overflow
│
PoC on the unpatched build
│
verify: unpatched crashes, patched runs clean → bug confirmed
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 111 lines · 86 tokens per session scan A 51f822cee68a
patch-diff is a skill published in the GitHub repository akillness/jeo-skills (63 stars, last pushed today), licensed MIT. It adds 86 tokens to every session and 1,589 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.
patch-diff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| patch-diffakillness/jeo-skills | Skill | 63 | today | MIT | A | 86 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| verus-query-timinglbx154/Argus | Skill | 337 | yesterday | MIT | A | 28 | Claude Code, Codex |