Raven AGENTS.md

Raven AGENTS.md is an instructions file for Codex, OpenCode from EverMind-AI/Raven. It costs 4,878 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

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/evermind-ai/raven/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,878 This file is loaded in full into every session.
When invoked 4,878 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.04878 $0.04878
Opus 5 $0.02439 $0.02439
Sonnet 5 $0.00976 $0.00976
Haiku 4.5 $0.00488 $0.00488

Measured 4d ago against content hash 3606e3db3b29, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 376 lines

How it starts

The opening of the file, as written. The whole thing — 376 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; comments in English
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 · 376 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. 4d 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 (3,715 stars, last pushed 3d ago), licensed Apache-2.0. It adds 4,878 tokens to every session, about $0.0244 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.