Raven: Instructions file for Codex

AGENTS.md

Raven AGENTS.md is an instructions file for Codex, OpenCode from EverMind-AI/Raven. It costs 5,914 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Raven, an AI collaboration project with rules for comments, branches, commits, dependencies, tests, terminology, and repository files. They require tools such as uv for Python dependencies and pytest for tests.

In plain words
What is it for?
Use them before editing Raven, especially when adding comments, naming branches, creating commits, installing dependencies, running tests, or choosing domain terms.
Why use it?
They prevent common contribution mistakes, such as using the wrong dependency tool, branch format, commit style, or project vocabulary. They also keep unnecessary files and comments out of changes.

Instructions file for CodexOpenCode

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

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

About the project

Raven is an open-source agent harness for running long-term AI work with terminal execution, tracing, memory, skills, evaluation, and reusable workflows. People use the current release to operate and improve persistent AI workflows, while its described future direction is a multi-agent system that combines specialized harnesses.

EverMind-AI/Raven · 6,047 stars · on GitHub · raven.evermind.ai

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/evermind-ai/raven/agents-md"><img src="https://agentmods.dev/badge/instructions/evermind-ai/raven/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,914 This file is loaded in full into every session.
When invoked 5,914 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.05914 $0.05914
Opus 5.5 $0.02366 $0.02366
Sonnet 5.5 $0.01183 $0.01183
Haiku 4.5 $0.00591 $0.00591

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

Security

Grade A, and why

Raven 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 · 427 lines

How it starts

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

AGENTS.md

Raven AI-collaboration spec. Read this file before making any code change in this repo.

Scope: Codex / Claude Code / Claude API / any AI-assisted work. When a rule here conflicts with an ad-hoc instruction in conversation, this file wins — unless the user explicitly says "ignore rule X in AGENTS.md".

Hard constraints only (violations get reverted / rejected). Soft suggestions and style preferences belong in personal notes or conversation, not here. See the Maintenance note before adding sections — shorter is better.

# Section Gist
1 Code comments Don't comment unless necessary; source in English (named exemption zones)
2 Branch naming <type>/<snake_desc>; confirm base before cutting
3 Commits Conventional Commits, all-English, Co-authored-by trailer
4 Dependencies uv only — never pip / hand-edit lockfile
5 Tests uv run pytest; strict file-naming
6 Domain terms Consult CONTEXT-MAP.md before naming; use canonical terms
7 Repository assets No report assets, web artifacts, or large files in PRs

1. Code comments

§1.1 Top rule: don't add comments unless necessary

  • Every new code file must document its purpose in English with an appropriate module docstring or equivalent file-level documentation. Inline comments still follow the necessity rules below.
  • Match the style of surrounding lines. If neighboring code has no comments, don't add one to your new line.
  • Comment only when:
    • the logic is non-obvious;
    • there's a hidden constraint (e.g. call-order sensitivity, a caller must do X first);
    • you need to explain why, not what (the name already says what).
  • Don't add comments that:
    • describe what the code does (# Increment counter next to counter += 1);
    • mark edits (# ← new / # changed this line);
    • reference a PR / Issue / locally-visible-only doc path (# Refs: ... — invisible to others);
    • describe transient task context (# For the X bug — stale once the task is done).

Read the full file on GitHub · 427 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. 2d ago Changed · +1 lines · -58 tokens per session 2edc925b8135
  2. 1mo ago Changed · +12 lines · +205 tokens per session 28ddc5af6aec
  3. 1mo ago Changed · +3 lines · +60 tokens per session 8fbda536c7f5
  4. 1mo ago Changed · +35 lines · +829 tokens per session a37b56493a29
  5. 2mo ago First seen · 376 lines · 4,878 tokens per session scan A 3606e3db3b29

Subscribe to this mod's changes

Raven AGENTS.md is an instructions file published in the GitHub repository EverMind-AI/Raven (6,047 stars, last pushed today), licensed Apache-2.0. It adds 5,914 tokens to every session, about $0.0237 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

Raven AGENTS.md compared with instructions from other repositories

Raven AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Raven AGENTS.mdEverMind-AI/RavenInstructions file6.0ktodayApache-2.0A5,914Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode