ardur-agent: Instructions file for Codex

AGENTS.md

ardur-agent AGENTS.md is an instructions file for Codex, OpenCode from ArdurAI/ardur-agent. It costs 1,263 tokens per session, scanned A, original, Apache-2.0.

A session guide for Ardur Agent, including a required read-only startup check and rules for finding and claiming work.

In plain words
What is it for?
Use it before planning, editing, testing, or handing off work in the ardur-agent project.
Why use it?
It prevents agents from working on the wrong task or interfering with parallel sessions by defining which project records and files are authoritative.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 ardur-agent AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ardurai/ardur-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/ardurai/ardur-agent/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,263 This file is loaded in full into every session.
When invoked 1,263 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.01263 $0.01263
Opus 5.5 $0.00505 $0.00505
Sonnet 5.5 $0.00253 $0.00253
Haiku 4.5 $0.00126 $0.00126

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

Security

Grade A, and why

ardur-agent 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 · 146 lines

How it starts

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

Ardur Agent Session Instructions

These instructions apply to every LLM, coding agent, and human-assisted agent session that works in this repository.

Mandatory Bootstrap

Before planning, editing, testing, or creating a handoff, run:

python3 scripts/agent_bootstrap.py

Use --json only when a tool needs machine-readable output:

python3 scripts/agent_bootstrap.py --json

The bootstrap is read-only. It reports current Linear status, project progress, Git/worktree state, provider and memory posture, unowned parallel:ready candidates, the Plan Corpus verification backlog, and the required non- interference rules for parallel sessions.

If the generic Linear connector shows a workspace or team other than ardur-agent / ARD, do not claim that work. The private architect/tools/linear_graphql.py helper is preferred when present, but the public bootstrap must degrade cleanly: it may use LINEAR_ARDUR_AGENT_KEY / LINEAR_API_KEY or the matching Keychain item to query ARD directly, and when no ARD credential is available it reports GitHub/public contribution fallback steps instead of blocking checkout-level bootstrap.

Source Hierarchy

  1. Linear ARD is the internal source of truth for work scope, active state, priority, acceptance criteria, progress, blockers, and verification evidence.
  2. EXTENDED drive is the primary file/evidence source for plans, journals, audits, local branches, and implementation evidence.
  3. GitHub ArdurAI/ardur-agent is the verified public code surface for PRs, CI, releases, and public collaboration.
  4. Notion is a knowledge projection, useful for durable explanation and navigation, but it is not the authority for whether work is complete.

Session Ownership Rule

Before code edits, a session must claim one unowned parallel:ready Linear issue. After claiming it, update Linear to parallel:owned or In Progress and record:

  • one Linear issue,
  • one branch or isolated worktree,
  • one EXTENDED-drive session journal,
  • one explicit file/module scope.

Read the full file on GitHub · 146 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 · +3 lines · +53 tokens per session e078f7c0b10d
  2. 2mo ago First seen · 143 lines · 1,210 tokens per session scan A ee1cddc86322

Subscribe to this mod's changes

ardur-agent AGENTS.md is an instructions file published in the GitHub repository ArdurAI/ardur-agent (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 1,263 tokens to every session, about $0.0051 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

ardur-agent AGENTS.md compared with instructions from other repositories

ardur-agent AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ardur-agent AGENTS.mdArdurAI/ardur-agentInstructions file22d agoApache-2.0A1,263Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot