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.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/instructions/hoangsonww/diffuse-native-apps/agents-md)<a href="https://agentmods.dev/instructions/hoangsonww/diffuse-native-apps/agents-md"><img src="https://agentmods.dev/badge/instructions/hoangsonww/diffuse-native-apps/agents-md/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/instructions/hoangsonww/diffuse-native-apps/agents-md"><img src="https://agentmods.dev/badge/instructions/hoangsonww/diffuse-native-apps/agents-md.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.01284 | $0.01284 |
| Opus 5.5 | $0.00514 | $0.00514 |
| Sonnet 5.5 | $0.00257 | $0.00257 |
| Haiku 4.5 | $0.00128 | $0.00128 |
Grade A, and why
Diffuse-Native-Apps AGENTS.md 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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diffuse is a local-first device-history product. Five native apps (macOS, iOS, iPadOS, watchOS, Android) answer one question on the device that observed it. The four Apple apps share a capability-driven Swift engine. Android is a fully native Kotlin implementation. Snapshots never leave the device. There is no account, no cloud, and no telemetry. GitHub is the only backend.
Read this first
Documentation/README.mdthenDocumentation/Architecture.mdDocumentation/adr/- Nested
AGENTS.mdinPackages/,Apps/,Tests/,Tools/(closest file wins)
Adding a capability: Documentation/CapabilityGuide.md and .agents/skills/add-capability/SKILL.md.
Writing tests: Documentation/Testing.md. CLI: Documentation/CLI.md. Scripts/CI: Documentation/Repository.md.
Stack inventory: Documentation/TechStack.md. Build failures: Documentation/Troubleshooting.md. Tagging: Documentation/Releasing.md.
Layout
Packages/ domain engine (Swift)
Apps/ four native Apple apps + widgets/complications
Android/ native Kotlin app + domain engine
Tools/ diffuse-dev CLI
Tests/ Domain, Invariants, Integration, Support
Fixtures/ golden snapshots and expected diffs
.agents/ canonical skills (copied to .claude/skills/)
ARCHITECTURE.md repository-wide Swift + Kotlin map
Apps → DiffuseUI → DiffuseCapabilities / DiffuseCore → DiffuseModels
→ DiffuseDiff
→ DiffuseStorage
Core packages have no UIKit/AppKit imports. They type-check against iOS and watchOS via ./Scripts/crosscheck.sh.
Hard rules
- No third-party Swift packages.
- No signing identities, team IDs, or provisioning profiles in this repo.
- CI must stay able to produce unsigned artifacts.
- Do not add CodeQL, Super-Linter, Scorecard, Semgrep, Trivy, Sonar, or other noisy static scanners.
- Do not add Dependabot, Renovate, or any other dependency bot. Bumps are deliberate and human.
- Do not weaken a golden fixture to make a test pass.
- Swift 6, complete concurrency checking.
- One concern per change.
- Procedural workflows live in skills, not in this file.
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 · 110 lines · 1,284 tokens per session scan A c0750f34c664
Diffuse-Native-Apps AGENTS.md is an instructions file published in the GitHub repository hoangsonww/Diffuse-Native-Apps (11 stars, last pushed 1mo ago), licensed MIT. It adds 1,284 tokens to every session, about $0.0051 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.
Diffuse-Native-Apps AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Diffuse-Native-Apps AGENTS.mdhoangsonww/Diffuse-Native-Apps | Instructions file | 11 | 1mo ago | MIT | A | 1,284 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |