moq: Instructions file for Codex

AGENTS.md

moq AGENTS.md is an instructions file for Codex, OpenCode from moq-dev/moq. It costs 766 tokens per session, scanned A, a copy of skills AGENTS.md, Apache-2.0.

Project-specific instructions for moq, a project that uses Media over QUIC to deliver real-time media with low delay.

In plain words
What is it for?
Use them when working in the moq repository; they are provided as a CLAUDE.md instruction file.
Why use it?
They give the coding agent repository-specific guidance before it changes code.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code.

This is moq-dev/moq's own configuration. It tells Codex and OpenCode how to work on moq itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything moq configures →

About the project

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.

moq-dev/moq · 1,597 stars · on GitHub · moq.dev

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/moq-dev/moq/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/moq-dev/moq

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for moq AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/moq-dev/moq/agents-md/github.svg)](https://agentmods.dev/instructions/moq-dev/moq/agents-md)
Your own site
<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.

agentmods 80×15 button for moq AGENTS.md

Your own site · 80×15
<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>
Per session 766 This file is loaded in full into every session.
When invoked 766 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured today against content hash c8f27e67898e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

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.

AGENTS.md · 57 lines

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 ## Unreleased in the package's MIGRATE.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, not EncoderConfig), 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::MAX as 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.

Read the full file on GitHub · 57 lines

Changes

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.

  1. today Changed · +1 lines · +38 tokens per session c8f27e67898e
  2. yesterday Changed · -71 lines · -1,979 tokens per session 11052889123c
  3. 2d ago Changed · +1 lines · +49 tokens per session b68147746cd7
  4. 3d ago Changed · -1 lines · -19 tokens per session 39bc414355e9
  5. 4d ago Changed · -1 lines · +40 tokens per session b93b3af463e0
  6. 5d ago Changed · +35 tokens per session 4267a88bd530
  7. 6d ago Changed 5874b3204529
  8. 8d ago Changed · +15 tokens per session 7cea03cb7257
  9. 9d ago Changed · +24 tokens per session 4b972cd70bac
  10. 10d ago First seen · 128 lines · 2,563 tokens per session scan A 7b9b1e66c156

Subscribe to this mod's changes

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.

Related

moq AGENTS.md compared with instructions from other repositories

moq AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
moq AGENTS.mdmoq-dev/moqInstructions file1.6ktodayApache-2.0A766Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode