Borrowing it
Nothing to install: this file belongs to hoangsonww/Diffuse-Native-Apps. 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/hoangsonww/Diffuse-Native-Apps/master/.agents/skills/diff-engine/SKILL.mdgit clone --depth 1 https://github.com/hoangsonww/Diffuse-Native-AppsWrote 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/hoangsonww/diffuse-native-apps/diff-engine)<a href="https://agentmods.dev/skills/hoangsonww/diffuse-native-apps/diff-engine"><img src="https://agentmods.dev/badge/skills/hoangsonww/diffuse-native-apps/diff-engine/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/hoangsonww/diffuse-native-apps/diff-engine"><img src="https://agentmods.dev/badge/skills/hoangsonww/diffuse-native-apps/diff-engine.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.00038 | $0.00245 |
| Opus 5.5 | $0.00015 | $0.00098 |
| Sonnet 5.5 | $0.00008 | $0.00049 |
| Haiku 4.5 | $0.00004 | $0.00024 |
Grade A, and why
diff-engine 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 yesterday.
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.
What it actually says
Diff engine
The engine is generic. Capabilities declare ComparisonRule and ChangeSeverity on property descriptors. Do not add if capability == .docker branches.
ValueComparatoris the only place two readings are judged "the same".- Identity matching is
EntityIdentity(normalized value + kind + optional scope). Path identities useEntityIdentity.path. diff(A, A)is empty. Reverse diffs swap added/removed counts. Property tests inPackages/DiffuseDiff/TestsandTests/Invariantsguard this.- Severity can escalate on a major version jump; do not special-case tools by name.
- Correlation (
ChangeCorrelator) groups by time window, not by inference.
Read Documentation/DiffEngine.md and Documentation/adr/0003-schema-driven-diff.md.
After changes: swift test --filter DiffuseDiffTests and swift test --filter DiffuseInvariantTests.
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.
- yesterday First seen · 19 lines · 38 tokens per session scan A 881a12ba08e1
diff-engine is a skill published in the GitHub repository hoangsonww/Diffuse-Native-Apps (11 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 245 once invoked, about $0.0002 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-07.
diff-engine compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diff-enginehoangsonww/Diffuse-Native-Apps | Skill | 11 | 1mo ago | MIT | A | 38 | Claude Code, Codex |
| instruments-profiling-prokelvinkosbab/AppBootstrapAI | Skill | 8 | yesterday | MIT | A | 101 | Claude Code |
| argent-react-native-app-workflowsoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| argent-react-native-optimizationsoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 71 | Claude Code, Codex |
| argent-metro-debuggersoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 104 | Claude Code, Codex |
| argent-native-profilersoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 37 | Claude Code, Codex |
| compose-performancechrisbanes/skills | Skill | 1.1k | 2d ago | Apache-2.0 | A | 42 | Claude Code |