jeo-skills: Skill for Claude Code

.agent-skills/artex/skills/patch-diff/SKILL.md

patch-diff is a skill for Claude Code, Codex from akillness/jeo-skills. It costs 86 tokens per session (1,589 once invoked), scanned A, original, MIT.

A security research method that compares software before and after a vendor patch to infer the vulnerability the fix addressed. A CVE is a public identifier for a known security flaw.

In plain words
What is it for?
Use it to compare builds, identify added safety checks, infer the bug class and reproduce the flaw in an authorized lab.
Why use it?
It helps investigate a patched vulnerability when the vendor has not published a working proof of concept, while separating reproducible findings from guesses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is akillness/jeo-skills's own configuration. It tells Claude Code and Codex how to work on jeo-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything jeo-skills configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/akillness/jeo-skills/main/.agent-skills/artex/skills/patch-diff/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/akillness/jeo-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for patch-diff

README.md
[![agentmods](https://agentmods.dev/badge/skills/akillness/jeo-skills/patch-diff/github.svg)](https://agentmods.dev/skills/akillness/jeo-skills/patch-diff)
Your own site
<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.

agentmods 80×15 button for patch-diff

Your own site · 80×15
<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>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,589 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash 51f822cee68a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.agent-skills/artex/skills/patch-diff/SKILL.md · 111 lines

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

  1. Known CVE, no public PoC. The advisory names the component and bug class but ships only the fix.
  2. Patch Tuesday triage. Rank the month's kernel and driver fixes by likely exploitability before committing to deep analysis.
  3. Backport gap. The mainline fix is merged but a distribution, LTS branch, or OEM kernel has not picked it up.
  4. 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

Read the full file on GitHub · 111 lines

Changes

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.

  1. 8d ago First seen · 111 lines · 86 tokens per session scan A 51f822cee68a

Subscribe to this mod's changes

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.

Related

patch-diff compared with skills from other repositories

patch-diff next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
patch-diffakillness/jeo-skillsSkill63todayMITA86Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337yesterdayMITA28Claude Code, Codex