relarena: Instructions file for Codex

AGENTS.md

relarena AGENTS.md is an instructions file for Codex, OpenCode from PriorLabs/relarena. It costs 1,703 tokens per session, scanned A, original, Apache-2.0.

Development instructions for RelArena, a package for adding, tuning, and evaluating machine-learning models. They explain how model folders, public interfaces, shared code, optional dependencies, tests, and CPU-cache preparation should be organized.

In plain words
What is it for?
Adding or changing models, choosing where shared code belongs, using the public API, preparing expensive preprocessing caches, and running the required macOS checks.
Why use it?
They prevent models and benchmark-only code from becoming tightly coupled, and help contributors follow stable public interfaces when changing the package.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/priorlabs/relarena/agents-md"><img src="https://agentmods.dev/badge/instructions/priorlabs/relarena/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,703 This file is loaded in full into every session.
When invoked 1,703 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.01703 $0.01703
Opus 5.5 $0.00681 $0.00681
Sonnet 5.5 $0.00341 $0.00341
Haiku 4.5 $0.00170 $0.00170

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

Security

Grade A, and why

relarena 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 · 131 lines

How it starts

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

relarena — agent notes

Start with the README for what the package is and how a run works.

This repo is public

Everything committed here is published under Apache-2.0 — code, docs, and baseline_results/ alike. Nothing may reference Prior Labs–internal infrastructure, systems, names, or paths. This applies to everything pushed to the remote, not just tracked files: commit messages, branch names, and PR text included.

CI is the trust boundary

When a change touches .github/, tell the user that the PR will need approval from release-maintainers before merging. Preparing, committing, pushing, and opening the PR are allowed before that approval.

Prefer putting workflow changes in a small, separate PR so release maintainers can review them easily. This is a recommendation, not a requirement; keep related changes together when splitting would make review harder. Never bypass the required approval to merge.

Ordinary code review can be bypassed by relational maintainers, so .github/ is where secrets are guarded:

  • A workflow step with access to a secret or an OIDC token may only run pinned actions or scripts under .github/scripts/. It must not run the package, the tests, or anything else outside .github/, since all of that would execute with the secret in its environment.
  • Scripts under .github/scripts/ are standalone: standard library or explicitly pinned dependencies, no imports from relarena.
  • Scripts under workflows/ are ordinary maintenance tooling under the normal review rules. Move a script into .github/scripts/ before a secret-bearing step calls it.

Reviewers of a workflow change check every step that references secrets.* or requests id-token: write against these rules.

Adding or changing a model

Read docs/adding-a-model.md first. Model development is two things: the model folder (layout, fit/predict contract and its datatypes, search-space choices, shared-code placement, optional dependencies, vendoring, tests) and — for methods with expensive CPU pre-processing — a public cache-warm script. models/lightgbm/ is the smallest complete example to copy.

Read the full file on GitHub · 131 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 · +6 lines · +66 tokens per session d5eda82f919e
  2. 1mo ago Changed · +12 lines · +164 tokens per session a6b2b1278aac
  3. 1mo ago Changed · +19 lines · +215 tokens per session 1510d5849492
  4. 2mo ago Changed · +8 lines · +76 tokens per session f3ba91c837d0
  5. 2mo ago First seen · 86 lines · 1,182 tokens per session scan A 4453c6a82f20

Subscribe to this mod's changes

relarena AGENTS.md is an instructions file published in the GitHub repository PriorLabs/relarena (74 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,703 tokens to every session, about $0.0068 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.

Related

relarena AGENTS.md compared with instructions from other repositories

relarena AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
relarena AGENTS.mdPriorLabs/relarenaInstructions file74yesterdayApache-2.0A1,703Codex, 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