Borrowing it
Nothing to install: this file belongs to DictionLabs/Diction. 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/DictionLabs/Diction/main/AGENTS.mdgit clone --depth 1 https://github.com/DictionLabs/DictionWrote 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/dictionlabs/diction/agents-md)<a href="https://agentmods.dev/instructions/dictionlabs/diction/agents-md"><img src="https://agentmods.dev/badge/instructions/dictionlabs/diction/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/dictionlabs/diction/agents-md"><img src="https://agentmods.dev/badge/instructions/dictionlabs/diction/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.04671 | $0.04671 |
| Opus 5.5 | $0.01868 | $0.01868 |
| Sonnet 5.5 | $0.00934 | $0.00934 |
| Haiku 4.5 | $0.00467 | $0.00467 |
Grade A, and why
Diction 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 411 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diction Gateway -- Agent Reference
Machine-legible reference for the Diction self-hosted gateway. Covers routes, wire formats, environment variables, capabilities, and what the gateway can and cannot do.
Overview
The gateway is a Go HTTP service that sits between the Diction iOS app and one or more OpenAI-compatible speech-to-text backends. It handles:
- WebSocket streaming for low-latency transcription
- HTTP transcription fallback
- Optional LLM post-processing (transcript cleanup, voice editing, suggestions)
- QR pairing with per-device keys, optionally required on every request
WARNING: TEXT_ROUTES_OPEN=false (default). /v1/text/* routes return 403 to callers without a pairing key until you set TEXT_ROUTES_OPEN=true. This is a deliberate speed bump, not a security control; the security control is DICTION_GATEWAY_AUTH=required.
Routes
GET /health
Health check. Returns 200 when the gateway is up.
Response: 200 OK
Body: "ok"
GET /v1/models
Lists configured speech backends (OpenAI-compatible + Diction legacy grouping). Also includes a top-level capabilities object describing what this gateway instance can do (additive -- never removes data[] or providers[]).
Response: 200 OK
Content-Type: application/json
{
"object": "list",
"data": [
{ "id": "nvidia/parakeet-tdt-0.6b-v3", "object": "model", "created": 0, "owned_by": "nvidia" }
],
"providers": [
{
"id": "parakeet",
"name": "NVIDIA Parakeet",
"models": [{ "id": "parakeet-v3", "name": "Parakeet v3", "description": "...", "available": true }]
}
],
"capabilities": {
"llm": true,
"text_process": true,
"text_suggest": true
},
"writing_tools": { "post_delivery_ms": 8000 }
}
capabilities object:
| Field | Type | Meaning |
|---|---|---|
llm |
bool | LLM_BASE_URL + LLM_MODEL are set and LLM is active |
text_process |
bool | /v1/text/process is open (llm=true AND TEXT_ROUTES_OPEN=true, or auth=true) |
text_suggest |
bool | /v1/text/suggest is open (same condition as text_process) |
text_summarize |
bool | /v1/text/summarize is open (same condition as text_process) |
formatting |
bool | the formatting context key is honoured on cleanup (llm=true) |
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.
- 9d ago Changed · +43 lines · +948 tokens per session 8311ad364fad
- 18d ago Changed · +7 lines · +125 tokens per session afe842fa7bd0
- 1mo ago Changed · -43 lines · -361 tokens per session facfd0945c8b
- 1mo ago Changed · +43 lines · +360 tokens per session 376532710406
- 1mo ago Changed · +36 lines · +525 tokens per session 3dcc902af02d
- 2mo ago First seen · 325 lines · 3,074 tokens per session scan A ad03e436d299
Diction AGENTS.md is an instructions file published in the GitHub repository DictionLabs/Diction (251 stars, last pushed yesterday), licensed MIT. It adds 4,671 tokens to every session, about $0.0187 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-08-30.
Diction AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Diction AGENTS.mdDictionLabs/Diction | Instructions file | 251 | yesterday | MIT | A | 4,671 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | 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 | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |