Rudder AGENTS.md

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/ruddercode/rudder/agents-md
Clone the repo
git clone --depth 1 https://github.com/RudderCode/Rudder

Made for: Codex, OpenCode.

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. Scan, not verified.
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 $0.00260 $0.00260
Opus 5 $0.00130 $0.00130
Sonnet 5 $0.00052 $0.00052
Haiku 4.5 $0.00026 $0.00026

Measured 2d ago against content hash 54bdcbf17895, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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. 2d 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 (22 stars, last pushed 13d ago), licensed Apache-2.0. It adds 260 tokens to every session, about $0.0013 per session on Opus 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.