Rudder: Instructions file for Codex

AGENTS.md

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

Repository instructions for RudderCode/Rudder, an experimental software project. They define protected files, guarded code sections, required checks, and commit and pull-request rules.

In plain words
What is it for?
Working safely in the repository, running type checks, tests, and builds, and identifying coding-agent changes in Git history.
Why use it?
They prevent accidental edits to protected content and ensure shared infrastructure changes are checked before review.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ruddercode/rudder/agents-md"><img src="https://agentmods.dev/badge/instructions/ruddercode/rudder/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 260 This file is loaded in full into every session.
When invoked 260 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.00260 $0.00260
Opus 5.5 $0.00104 $0.00104
Sonnet 5.5 $0.00052 $0.00052
Haiku 4.5 $0.00026 $0.00026

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

Security

Grade A, and why

Rudder 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 · 25 lines

What it actually says

Working in this repo

This is an experimental, pre-release product repo. Do not worry about things like backwards compatibility, migrating functionality for existing users, etc.

Infrastructure

almanac/README.md

General Guidance

Before editing files, read dangerfile.ts and never modify paths matched by its PROTECTED_PATHS rules. Source files can also contain comment-only agent-guard:off and agent-guard:on markers. Agents must not modify content between those markers. Treat changes to guard rules or markers as explicit policy changes, never as a workaround for a blocked edit.

Run npm run typecheck, npm test, and npm run build before changing shared infrastructure.

Use gitmoji in commit messages and PR titles.

Every coding agent that writes code for a pull request must identify itself in the pull request's commit history. Use the agent as the commit author or add a Co-authored-by: Agent Name <agent-email> trailer to at least one commit. The name must clearly identify the agent (for example, Codex Agent, Claude Agent, or Cursor Agent) because agent-only CI, including Danger agent-guard enforcement, uses this metadata.

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 First seen · 25 lines · 260 tokens per session scan A 54bdcbf17895

Subscribe to this mod's changes

Rudder AGENTS.md is an instructions file published in the GitHub repository RudderCode/Rudder (24 stars, last pushed 16d ago), licensed Apache-2.0. It adds 260 tokens to every session, about $0.0010 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

Other instructions, from other repositories