dorf: Instructions file for Codex

AGENTS.md

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

A project instruction file that explains how to work on the dorf project, including where to find guidance for architecture, product direction, deployment, and support.

In plain words
What is it for?
It is for guiding changes to dorf and directing agents to the correct documentation for topics such as providers, remote control, deployment, releases, and sandbox infrastructure.
Why use it?
It helps an agent consult the relevant project authority and follow the project’s operating and verification rules.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aphronio/dorf/agents-md"><img src="https://agentmods.dev/badge/instructions/aphronio/dorf/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 437 This file is loaded in full into every session.
When invoked 437 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.00437 $0.00437
Opus 5.5 $0.00175 $0.00175
Sonnet 5.5 $0.00087 $0.00087
Haiku 4.5 $0.00044 $0.00044

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

Security

Grade A, and why

dorf 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 · 39 lines

How it starts

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

Dorf Guidance

Authorities

Start with the documentation map. Read the owner of the boundary you are changing and update it when its documented behavior changes. Follow CONTRIBUTING.md for setup, verification, contribution licensing, and consequential decisions.

Before changing Dorf Core or product direction, apply the North Star product boundary. Push back on violations, even when a native workflow ships in the Dorf repository or binary.

For delegated installation or operation, follow the Agent Guide.

Development

  • Use repository-managed commands. For fast Go feedback, run mise run lint and mise run complexity; follow their remediation rather than editing complexity ceilings by hand.
  • For PostgreSQL changes, edit schema and query sources, then use sql:generate and sql:check. Do not hand-edit generated dbsql files.
  • Durable storage, SQL, transaction, and sequencing changes require PostgreSQL-backed integration coverage before pushing. Match live Sandbox, Harness, Provider Gateway, or external-authority proof to the boundary changed.
  • Use gh for GitHub repository operations, not the Codex GitHub app. Write Markdown issue and PR bodies to a temporary file and pass it with --body-file.

Public repository confidentiality

This repository is public. Commit only reusable product code, documentation, and synthetic verification data. Keep private application or customer names, repository and issue links, conversation or task details, operational identifiers, deployment addresses, and cleanup records out of tracked files and commit messages. Store deployment-specific evidence in the owning private repository or untracked local receipts; describe the reusable behavior here in generic terms.

Before committing, review the staged diff for confidential information. Before pushing, review all unpublished commits, including earlier versions of changed files. Removing private details from the latest tree alone does not remove them from Git history. If unpublished history contains private details, sanitize that history before publication. Never publish credentials or user content.

Read the full file on GitHub · 39 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. 1mo ago Changed · -2 tokens per session e27d20dca6e1
  2. 1mo ago Changed · +13 lines · +150 tokens per session 2a90aac80cb9
  3. 2mo ago Changed · -50 lines · -637 tokens per session 7c9b548a126b
  4. 2mo ago First seen · 76 lines · 926 tokens per session scan A 37ac610ce9b3

Subscribe to this mod's changes

dorf AGENTS.md is an instructions file published in the GitHub repository aphronio/dorf (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 437 tokens to every session, about $0.0017 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-31.

Related

dorf AGENTS.md compared with instructions from other repositories

dorf AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dorf AGENTS.mdaphronio/dorfInstructions file24d agoApache-2.0A437Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode