Borrowing it
Nothing to install: this file belongs to modrexio/modrex. 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/modrexio/modrex/main/AGENTS.mdgit clone --depth 1 https://github.com/modrexio/modrexWrote 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/modrexio/modrex/agents-md)<a href="https://agentmods.dev/instructions/modrexio/modrex/agents-md"><img src="https://agentmods.dev/badge/instructions/modrexio/modrex/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/modrexio/modrex/agents-md"><img src="https://agentmods.dev/badge/instructions/modrexio/modrex/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.02239 | $0.02239 |
| Opus 5.5 | $0.00896 | $0.00896 |
| Sonnet 5.5 | $0.00448 | $0.00448 |
| Haiku 4.5 | $0.00224 | $0.00224 |
Grade A, and why
modrex 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 7d 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agents
This file is the canonical instruction set for every AI coding agent working in this
repository. Every CLAUDE.md in the repository is a one-line import of the AGENTS.md
beside it and holds nothing of its own.
How these instructions are organized
- This file holds what applies everywhere.
- A directory that carries an
AGENTS.mdowns the rules for the files under it. Read the nearestAGENTS.mdabove each file you change before changing it, whether or not your tool loads nested files on its own. .agents/rules/ai-danger-patterns.mdholds worked examples of the five dangerous patterns below.- Reusable skills live in
.agents/skills/<name>/SKILL.md. Load the relevant skill before executing it. Claude Code exposes them as slash commands through.claude/commands/. docs/README.mdroutes the contributor documentation.
Repository rules
- Never run any git command that touches the remote (push, push tag, delete tag, force push) or is destructive locally (tag -d, reset --hard). Write the command for the owner instead.
- Never commit unless the owner explicitly approves the reviewed step.
- Commit messages must follow conventional commits,
type(scope): subject, enforced bycommitlint.config.tsat commit time. - Package scripts run as
bun <script>, exceptbun run buildandbun run test: plainbun buildandbun testsilently start Bun's own bundler and test runner instead. - Deferred work is tracked in
.TODO. Do NOT act on anything in it unless the user explicitly says "do the TODO: " — never infer intent from the file on your own.
Permanent compatibility contracts
- Bare vX.Y.Z tags and GitHub Releases belong to the desktop application.
install.config.jsonstays at the repository root, and it is live install infrastructure, not local config: the modrex-site Pages Function behindmodrex.net/install.shfetches it from this repo'smainbranch on every request and prepends it (flattened toCFG_*shell exports) to the pinned mget install engine, so a push tomainthat touches it changes the live Linux installer immediately, with no release or site deploy involved. Field meanings are defined by mget's config schema (mget/README.md).- Desktop versions through 0.12.2 continue downloading the legacy monolithic
index.dbfrommodrexio/modrex-index'slatest-indexrelease. The new index pipeline stores its resumable catalog in Neon, publishes immutable per-game SQLite shards to R2 atindex.modrex.net, and the site reads its aggregate stats from R2'scatalog/latest.json. - modrexio/mget remains an independent repository and tag host.
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.
- 7d ago Changed · +2 lines · +36 tokens per session 2bff38b8ab1a
- 14d ago First seen · 205 lines · 2,203 tokens per session scan A e69fedf3d9b3
modrex AGENTS.md is an instructions file published in the GitHub repository modrexio/modrex (21 stars, last pushed today), licensed MIT. It adds 2,239 tokens to every session, about $0.0090 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-11-15.
modrex AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| modrex AGENTS.mdmodrexio/modrex | Instructions file | 21 | today | MIT | A | 2,239 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 289k | yesterday | MIT | A | 4,393 | Codex, OpenCode |