rooted: Instructions file for Codex

AGENTS.md

rooted AGENTS.md is an instructions file for Codex, OpenCode from rootbr/rooted. It costs 358 tokens per session, scanned A, original, Apache-2.0.

A repository guide for rooted, a Claude Code plugin marketplace. It requires new rules and review criteria to be backed by research, standards, or verified practical evidence, with sources that readers can check.

In plain words
What is it for?
Use it when working on rooted's rules, checklists, documentation, or evidence records.
Why use it?
It reduces unsupported guidance and makes the basis for project rules traceable. It also gives agents the project's orientation and quality requirements before they edit files.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rootbr/rooted/agents-md"><img src="https://agentmods.dev/badge/instructions/rootbr/rooted/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 358 This file is loaded in full into every session.
When invoked 358 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.00358 $0.00358
Opus 5.5 $0.00143 $0.00143
Sonnet 5.5 $0.00072 $0.00072
Haiku 4.5 $0.00036 $0.00036

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

Security

Grade A, and why

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

AGENTS.md · 27 lines

What it actually says

Rooted

Claude Code plugin marketplace — rooted in evidence.

Orientation

Read README.md, then run ./overview.sh to orient. Read individual files only if the output is not sufficient for the user's request.

Quality Gate

MUST run /auditing-ai-context on every SKILL.md or agent prompt change before committing.

python3 check-skill-layout.py passes before a commit that touches plugins/.

python3 -I plugins/evidence-based-authoring/skills/scientific-method/scripts/check_record.py --root . --staged passes before a commit that touches a provenance map or a list of hypotheses.

python3 check-private-words.py --staged passes before every commit on a clone whose git config rooted.privateWords names a word list; the list stays outside the repository, and a commit message is checked by the commit-msg hook.

Method

The repository admits rules by the scientific method: a rule that claims a technique works rests on a test that could have refuted the claim.

Before adding or changing a rule, a checklist item or a review criterion, take it through /scientific-method and write its record: a decision with its owner and goal, a definition with its term, a norm with its document opened, a claim with its refuting outcome and its test. A claim with no test yet waits in its skill's list of hypotheses, and a claim that names no refuting outcome stays out.

The full method — four kinds of statement, seven standings of a claim, seven rules, one acceptance path with a path of its own for a claim about one event — is plugins/evidence-based-authoring/skills/scientific-method/references/method.md.

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 · +2 lines · +53 tokens per session 948853b3b854
  2. 7d ago Changed · +14 tokens per session f6c9cc6644d6
  3. 9d ago Changed · -6 lines · -41 tokens per session e5a74a58ff2c
  4. 16d ago First seen · 31 lines · 332 tokens per session scan A 5b603a1ddd6f

Subscribe to this mod's changes

rooted AGENTS.md is an instructions file published in the GitHub repository rootbr/rooted (22 stars, last pushed yesterday), licensed Apache-2.0. It adds 358 tokens to every session, about $0.0014 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.

Related

rooted AGENTS.md compared with instructions from other repositories

rooted AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rooted AGENTS.mdrootbr/rootedInstructions file22yesterdayApache-2.0A358Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot