Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add trilwu/secskills --skill diffing-binary-patchesgit clone --depth 1 https://github.com/trilwu/secskillsWrote 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/trilwu/secskills/diffing-binary-patches)<a href="https://agentmods.dev/skills/trilwu/secskills/diffing-binary-patches"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/diffing-binary-patches/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/trilwu/secskills/diffing-binary-patches"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/diffing-binary-patches.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00108 | $0.01751 |
| Opus 5.5 | $0.00043 | $0.00700 |
| Sonnet 5.5 | $0.00022 | $0.00350 |
| Haiku 4.5 | $0.00011 | $0.00175 |
Grade A, and why
diffing-binary-patches scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sL "https://defuddle.md/<url>" # scheme in the path is optional How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diffing Binary Patches
A security patch is a description of a vulnerability written in the vendor's own code. Diffing the binary before and after the fix turns a one-line advisory into the exact function, the exact check that was added, and — reasoning backward — the input that reached the bug before the patch. This is the core of 1-day analysis: the fix tells you where to look, the diff tells you what, and the pre-patch reachability tells you how.
When to Use
- Comparing two versions of the same binary (DLL, ELF, driver) to find what a security update changed
- Turning a CVE advisory or Patch-Tuesday bulletin into the specific vulnerable code
- Extracting a Microsoft patch (MSU/MSP/cab, delta-compressed) into a full binary you can diff
- Assessing whether a "silent" fix in a new release closed a security bug
When NOT to Use
- Understanding a single binary with no patched counterpart — that is
analyzing-binaries. - Building the working exploit once the bug and trigger are understood —
that is
exploiting-memory-corruption(native) or the relevant web skill. - Source-level diffs (a GitHub commit, a changelog) — read the source with
reviewing-code-changes; binary diffing is for when you only have compiled artifacts. - Unpacking a protected binary before it can be diffed — use
unpacking-protected-binariesfirst.
Get Two Comparable Binaries
The diff is only as clean as the inputs. You need the same binary at two versions, same architecture and ideally the same compiler, so the noise is small enough that the security change stands out.
For Microsoft patches this is a step in itself. Since Windows 10, updates ship
as forward/reverse delta patches, not whole files — the MSU contains
compressed deltas, not the finished DLL. Extract the update (expand the MSU/cab)
and apply the delta to your baseline binary to reconstruct the full patched file
(the PatchExtract / delta_patch.py approach, driving the msdelta API).
Diffing the raw delta or a mismatched baseline produces garbage. For most other
software, two release builds or two package versions are directly comparable.
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.
- 1mo ago First seen · 148 lines · 108 tokens per session scan A da8bd8200924
diffing-binary-patches is a skill published in the GitHub repository trilwu/secskills (164 stars, last pushed 1mo ago), licensed MIT. It adds 108 tokens to every session and 1,751 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
claude-md-improver
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…
agent-platform-model-registry
Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.
gke-workload-security
Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…
gke-reliability
Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…
google-cloud-solution-agentic-analytics-spark-knowledge-catalog
Discovers requirements and designs an end-to-end governed agentic analytics solution using Knowledge Catalog and Managed Service for Apache Spark (Lightning Engine). Use when designing data science and analytics workflows across structured and unstructured distributed data (including in S3, Azure Blob, AlloyDB, and…
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).