assay: Instructions file for Codex

AGENTS.md

assay AGENTS.md is an instructions file for Codex, OpenCode from Rul1an/assay. It costs 2,837 tokens per session, scanned A, original, MIT.

Repository instructions that define how coding agents should work on the Assay project, including trusted project records, branches, worktrees, and handoffs.

In plain words
What is it for?
Following the agent contract, recording handoffs, managing branch and worktree ownership, and keeping development work tied to the correct programme.
Why use it?
They keep different agents aligned and prevent chat notes, stale branches, or closed work items from being mistaken for current project truth.

Instructions file for CodexOpenCode

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

This is Rul1an/assay's own configuration. It tells Codex and OpenCode how to work on assay 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 assay configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Rul1an/assay. 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/Rul1an/assay/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Rul1an/assay

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 assay AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rul1an/assay/agents-md/github.svg)](https://agentmods.dev/instructions/rul1an/assay/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rul1an/assay/agents-md"><img src="https://agentmods.dev/badge/instructions/rul1an/assay/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 assay AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rul1an/assay/agents-md"><img src="https://agentmods.dev/badge/instructions/rul1an/assay/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,837 This file is loaded in full into every session.
When invoked 2,837 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 original No closer match found 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.02837 $0.02837
Opus 5.5 $0.01135 $0.01135
Sonnet 5.5 $0.00567 $0.00567
Haiku 4.5 $0.00284 $0.00284

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

Security

Grade A, and why

assay 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 1mo 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.

AGENTS.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Assay Agent Contract

This file is the shared operating contract for Codex, Claude Code, Cursor, Antigravity, and automated PR reviewers. Tool-specific instruction files may add mechanics, but they must not restate or weaken this contract.

Canonical State

  • Repository truth is the checked-in code and documentation.
  • The public execution ledger for the active programme is named on this line. No programme is active. The previous one, issue #2863, closed on 2026-09-09.
  • Keep the number to the ledger line; everywhere else the contract names the role, so the next programme costs one edit here rather than one in every section. Name the new ledger there when one opens, and say so plainly there when none is active. Nothing enforces that, so it is an instruction and not a guarantee — and the way it fails is quiet: the line kept pointing at a finished programme, which reads as an active ledger and sends handoffs to a closed issue.
  • Agent chats, local plans, memories, and unpushed branches are not authoritative project state.
  • Every handoff for a programme slice records the branch, PR, exact head SHA, verification, reviews, non-claims, and open findings in that programme's ledger. Work outside a programme — a standalone fix, a documentation change — has no ledger to record to, and inventing one or appending to a closed one is worse than the omission.
  • The accepted launch definition is recorded in docs/LAUNCH.md.

ADR-042/043 Scope

Read these before changing evidence ingestion, evidence verification, or MCP authorization:

The ADR-042 stop list is normative:

  • no scalar trust score;
  • no whole-action verdict;
  • no generic agent identity, delegation, or federation layer;
  • no provider-outcome verification;
  • no detector catalogue or broad MCP scan;
  • no compliance or safe-agent claim;
  • no certification or partnership status without a checkable basis.

Read the full file on GitHub · 200 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. 1mo ago Changed · +1 lines · +21 tokens per session a175e8ab399a
  2. 1mo ago Changed · +4 lines · +64 tokens per session 286a4bae8732
  3. 1mo ago Changed · +16 lines · +307 tokens per session a5c20bcdbbd8
  4. 1mo ago Changed 0b5cca387b25
  5. 2mo ago Changed · +21 tokens per session 9bc4b9b4f1bb
  6. 2mo ago Changed · +6 lines · +104 tokens per session 23ee87902a06
  7. 2mo ago Changed · -1 lines · -23 tokens per session 14bef8d43368
  8. 2mo ago First seen · 174 lines · 2,343 tokens per session scan A b2fb44ef2e57

Subscribe to this mod's changes

assay AGENTS.md is an instructions file published in the GitHub repository Rul1an/assay (15 stars, last pushed yesterday), licensed MIT. It adds 2,837 tokens to every session, about $0.0113 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-31.

Related

assay AGENTS.md compared with instructions from other repositories

assay AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
assay AGENTS.mdRul1an/assayInstructions file15yesterdayMITA2,837Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode