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 agentmods add skills/trilwu/secskills/diffing-binary-patchesnpx 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.svg" alt="Measured on agentmods" 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 | $0.00108 | $0.01751 |
| Opus 5 | $0.00054 | $0.00875 |
| Sonnet 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 4d 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.
- 4d 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 (134 stars, last pushed 3d ago), licensed MIT. It adds 108 tokens to every session and 1,751 once invoked, about $0.0005 per session on Opus 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-rag-engine-management
Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…
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.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.
comet-github
将 Comet GitHub 维护请求路由到基于证据的 PR 审阅、Issue 分诊、本地想法收集、CI 诊断或 Issue 实施流程。用户提到 Comet GitHub Issue/PR 但未指定流程,或询问下一步如何处理时使用。.