moq-dev/moq is an implementation of Media over QUIC, a protocol for delivering live media and other real-time data over QUIC with WebTransport, WebCodecs, and WebAudio. It is intended for live streaming and other applications that need low latency and large-scale fan-out, with Rust and TypeScript libraries. The catalogue add-ons teach coding agents how to build with MoQ.
Borrowing it
Nothing to install: this file belongs to moq-dev/moq. 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/moq-dev/moq/main/AGENTS.mdgit clone --depth 1 https://github.com/moq-dev/moqWrote 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/moq-dev/moq/agents-md)<a href="https://agentmods.dev/instructions/moq-dev/moq/agents-md"><img src="https://agentmods.dev/badge/instructions/moq-dev/moq/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/moq-dev/moq/agents-md"><img src="https://agentmods.dev/badge/instructions/moq-dev/moq/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.00766 | $0.00766 |
| Opus 5.5 | $0.00306 | $0.00306 |
| Sonnet 5.5 | $0.00153 | $0.00153 |
| Haiku 4.5 | $0.00077 | $0.00077 |
Grade A, and why
moq 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 today.
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.
This is a copy
100% identical to skills AGENTS.md — 58 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MoQ (Media over QUIC) is a live media delivery protocol providing real-time latency at massive scale.
Context
Start with doc/setup/repository.md to locate a feature, its examples, and its tests.
Trust this checkout's source over published API references, which may describe another version.
doc/ is for end-users and advertising the available features.
Required
- Immediately disable a flaky test and plan a follow-up to investigate.
- The same identity (ex. broadcast+track+group+frame) always has the same content. Use a new identity for new content.
- Never match on errors; it's brittle.
- moq-lite and moq-net take priority over moq-transport and other IETF drafts, which are a low-effort compatibility layer. Ignore their requirements (even MUSTs) that add cost without a clear behavioral benefit, and never add API for functionality only they have.
Guidelines
- Impair networks with bufferbloat, queuing until packets drop, instead of random loss.
- Anything that fans out gets a benchmark swept over both axes.
Public API
The API is the most important thing to get right: a bad shape costs a breaking change in every language.
- Feature PRs add migration notes under
## Unreleasedin the package'sMIGRATE.md; only the release cut writes version sections. - Replace a callback parameter with a handle, an event, or a Producer/Consumer split.
- Nest related API, configuration, and output fields under their shared role.
- Propose alternatives when a name or shape feels awkward.
- Short names under a module namespace (
encode::Config, notEncoderConfig), mirrored across Rust, JS, and the bindings. - Keep package boundaries modular and reusable; prefer a module in an existing package over a one-off package.
- Never use a huge value like
u64::MAXas a marker (it is the longest varint); use 0, a separate message or type, or a boolean.
Development
PRs target main, where breaking API changes are allowed.
release is what ships; touch it only to cut a release or backport a fix or benchmark (see CONTRIBUTING.md).
Wire changes stay backwards compatible with published drafts/versions; an unpublished -wip version changes freely.
Our libraries prefer moq-lite, so moq-transport compatibility only matters against third-party implementations.
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.
- today Changed · +1 lines · +38 tokens per session c8f27e67898e
- yesterday Changed · -71 lines · -1,979 tokens per session 11052889123c
- 2d ago Changed · +1 lines · +49 tokens per session b68147746cd7
- 3d ago Changed · -1 lines · -19 tokens per session 39bc414355e9
- 4d ago Changed · -1 lines · +40 tokens per session b93b3af463e0
- 5d ago Changed · +35 tokens per session 4267a88bd530
- 6d ago Changed 5874b3204529
- 8d ago Changed · +15 tokens per session 7cea03cb7257
- 9d ago Changed · +24 tokens per session 4b972cd70bac
- 10d ago First seen · 128 lines · 2,563 tokens per session scan A 7b9b1e66c156
moq AGENTS.md is an instructions file published in the GitHub repository moq-dev/moq (1,597 stars, last pushed today), licensed Apache-2.0. It adds 766 tokens to every session, about $0.0031 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to skills AGENTS.md, differing in 58 lines, and is treated as a copy.
moq AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| moq AGENTS.mdmoq-dev/moq | Instructions file | 1.6k | today | Apache-2.0 | A | 766 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | 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 | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |