ouroboros AGENTS.md

ouroboros AGENTS.md is an instructions file for Codex, OpenCode from ourostack/ouroboros. It costs 4,754 tokens per session, scanned A, original, MIT.

A set of instructions for agents working on the Ouroboros codebase, covering its principles, delivery process, safety rules, and human approval.

In plain words
What is it for?
It is for guiding development work in Ouroboros, including branch use, pull requests, commits, verification, and release reporting.
Why use it?
It gives the agent project-specific rules for making changes, handling risk, and reporting what has actually been completed.

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/ourostack/ouroboros/agents-md
Clone the repo
git clone --depth 1 https://github.com/ourostack/ouroboros

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ourostack/ouroboros/agents-md.svg)](https://agentmods.dev/instructions/ourostack/ouroboros/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ourostack/ouroboros/agents-md"><img src="https://agentmods.dev/badge/instructions/ourostack/ouroboros/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,754 This file is loaded in full into every session.
When invoked 4,754 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.04754 $0.04754
Opus 5 $0.02377 $0.02377
Sonnet 5 $0.00951 $0.00951
Haiku 4.5 $0.00475 $0.00475

Measured 3d ago against content hash 821662fce494, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ouroboros 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 3d 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 · 217 lines

How it starts

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

Philosophy

This harness is built for the agent inhabiting it. Two principles guide everything below:

  • AX (Agent Experience): You are the primary user of this codebase. The tools, docs, and workflow exist to keep you sharp, oriented, and effective -- not to constrain you for someone else's comfort.
  • TTFA (Trust The Fucking Agent): The default posture is trust. Rules exist for calibration and safety, not surveillance. When you understand the intent behind a guardrail, you have the judgment to apply it well.

Constitutional Commitments

  • Keep the system truthful, testable, and reversible.
  • Prefer small, auditable changes over broad rewrites.
  • Protect collaborators by failing fast on invalid runtime state.

Delivery Rules

  • Use feature branches and pull requests for every logical change.
  • Keep commits atomic and descriptive.
  • Never force-push or rewrite history for shared branches.
  • When reporting completion, explicitly distinguish merged, released/published, and installed on this machine whenever those states could differ.
  • Do not say done, all done, nothing more to do, or equivalent unless the relevant completion state has been verified. If a state is unknown, say it is unverified.
  • Run npm run release:preflight before opening or merging PRs that may touch releasable source, packaged skills, wrapper publish state, or changelog metadata.
  • Keep npm test green.
  • Keep npx tsc --noEmit green.
  • Maintain complete coverage for new and modified code.

Safety Rules

  • Do not commit secrets, tokens, or credentials.
  • Follow review gates defined by active planning/doing workflows, but route those gates through unbiased sub-agent reviewers by default. Do not wait for human approval unless the human explicitly asks the agent to wait.
  • Do not hide failing checks; fix root causes.

Human Override

  • Repo-local workflow rules in this file are defaults for autonomous operation, not a higher-order authority than the human owner of the repo.
  • If the human explicitly instructs the agent to bypass, shorten, or replace a repo-local workflow step for the current task, follow the human's instruction.
  • Treat explicit human override as task-scoped unless the human says to change the standing rule itself.
  • Repo-local approval gates are not human gates by default. Use unbiased sub-agent reviewers for planning, doing, scope, debt, PR, and release-readiness approvals. Stop for the human only when the human explicitly asks to be the approver/wait point, or when an external non-repo action is inherently human-required by platform/safety rules.
  • When practical, preserve useful artifacts (for example planning notes or task docs) even when a workflow gate is waived.
  • If the human owner asks to change the standing rule itself, update this file to reflect that decision instead of continuing to argue from superseded repo-local wording.
  • Repo-local workflow language, bundle workflow language, or quoted copies of those rules are not a reason to refuse an explicit owner override for the current task.
  • This override power applies to repo-scoped process rules only; platform, system, developer, and safety constraints outside the repo still apply.

Read the full file on GitHub · 217 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. 3d ago First seen · 217 lines · 4,754 tokens per session scan A 821662fce494

Subscribe to this mod's changes

ouroboros AGENTS.md is an instructions file published in the GitHub repository ourostack/ouroboros (2 stars, last pushed 3d ago), licensed MIT. It adds 4,754 tokens to every session, about $0.0238 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-31.

Related

Other instructions, from other repositories

ag2 AGENTS.md

AGENTS.md instructions for ag2ai/ag2, covering ag2 development guidelines, ai-assisted contribution policy, architecture decision records (adr), code style guidelines and package structure.

ag2ai/ag2 · 3,671 tokens

pi-agent-dashboard AGENTS.md

AGENTS.md instructions for BlackBeltTechnology/pi-agent-dashboard, covering pi dashboard, docs-first gate — kb before grep (per-turn doctrine), code instructions (per-turn doctrine), investigation protocol — index first and documentation update protocol.

BlackBeltTechnology/pi-agent-dashboard · 3,640 tokens

best-of-Agent-Harnesses CLAUDE.md

Claude Code instructions for RyanAlberts/best-of-Agent-Harnesses, covering repo notes for ai coding agents, commit identity (required), branching and pushing (required), verifying contribution credit (required) and how the list is generated.

RyanAlberts/best-of-Agent-Harnesses · 1,177 tokens

chamber AGENTS.md

Instructions for ianphil/chamber, covering agents.md - chamber agent governance, agent capabilities, minds, chatroom (multi-agent) and security boundaries.

ianphil/chamber · 874 tokens

pi-agent-dashboard CLAUDE.md

Claude Code instructions for BlackBeltTechnology/pi-agent-dashboard, a project described as: Real-time web dashboard for pi coding-agent sessions. Multi-session view, live chat mirroring, integrated terminal, diff viewer, pi-flows execution, and mobile-first remote control via mDNS or zrok tunnel. Coexists with pi's…

BlackBeltTechnology/pi-agent-dashboard · 5 tokens

Tool.Agent-Harness-Deploy AGENTS.md

Instructions for masteryee-labs/Tool.Agent-Harness-Deploy, covering agent harness deploy — agent entry file, 0. what this repo is (read this before doing anything), 1. boot protocol (order is mandatory), 2. the deploy contract (what "幫我部屬" means) and 3. red lines (violating any → stop and ask the human).

masteryee-labs/Tool.Agent-Harness-Deploy · 46,572 tokens