arc: Instructions file for Codex

AGENTS.md

arc AGENTS.md is an instructions file for Codex, OpenCode from howells/arc. It costs 1,113 tokens per session, scanned A, original, MIT.

An AGENTS.md instruction file for the Arc project, which is a plugin that guides work from an idea through shipped code. It defines the available commands, workflow order, and where their behaviour should live.

In plain words
What is it for?
Using Arc's ideation, review, implementation, testing, audit, improvement, refactoring, commit, release, launch, and vision workflows.
Why use it?
It helps agents follow Arc's intended process and avoid duplicating or changing behaviour in the wrong file.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/howells/arc/agents-md"><img src="https://agentmods.dev/badge/instructions/howells/arc/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,113 This file is loaded in full into every session.
When invoked 1,113 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.01113 $0.01113
Opus 5.5 $0.00445 $0.00445
Sonnet 5.5 $0.00223 $0.00223
Haiku 4.5 $0.00111 $0.00111

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

Security

Grade A, and why

arc 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 · 49 lines

How it starts

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

Arc

The full arc from idea to shipped code, shipped as a plugin for Claude Code, Codex, and Cursor. CONTEXT.md is the canonical product definition, domain language, and operating boundary - read it before changing workflow behaviour. Treat this file as contributor guidance, not a competing definition.

Shape

  • Each skill in skills/<name>/SKILL.md is one /arc:<name> command, routed by a thin commands/<name>.md. Never fork behaviour between the two.
  • Commands: /arc:ideate, /arc:review, /arc:implement, /arc:testing, /arc:audit, /arc:improve, /arc:refactor, /arc:commit, /arc:release, /arc:launch, /arc:vision.
  • Canonical flow is ideate -> (review) -> implement. audit, improve, commit, release, and refactor are cross-cutting and available anytime.
  • Skills draw on agents/ (subagents), references/ (domain knowledge, catalogued in references/index.md), rules/, disciplines/ (methodologies), and templates/ (output structures).
  • skills/using-arc/ is the session control plane; skills/detail/ is internal to implement. Neither has a command router.
  • Site work is isolated under site/ with its own Next.js scripts.
  • rules/ is Arc's internal corpus, loaded selectively by workflows. It's shipped in the plugin payload but never injected as always-on Cursor rules - tests/test-cursor-plugin.sh enforces that.

Gotchas

  • Rebuild the Codex mirror after any change to skills/, agents/, references/, rules/, disciplines/, templates/, scripts/, or commands/. Run pnpm build:codex. The pre-commit hook and tests/test-codex-mirror.sh both fail on a stale mirror, and the failure names the diffing file rather than the real cause.
  • plugins/arc/ is generated. Never edit it by hand - scripts/build-codex-plugin.sh overwrites it wholesale.
  • Version bumps touch five manifests. Use bash scripts/bump-version.sh <version>, never a manual edit: it updates package.json, .claude-plugin/, .codex-plugin/, .cursor-plugin/ (plugin and marketplace), and the generated plugins/arc/.codex-plugin/. Verify with bash scripts/bump-version.sh --check. A post-commit hook auto-bumps the patch version and amends content commits.
  • Adding a skill needs more than a SKILL.md. It also needs a commands/<name>.md router, a .agents/skills/<name> symlink, and entries in the plugin manifests - tests/test-skill-loading.sh hardcodes the expected skill list and fails on any unexpected directory.
  • Agents are not skills. Every file in agents/*/*.md keeps its own <arc_runtime> and unconditionally loads references/subagent-safety.md. That's deliberate: agents are dispatched as subagents and skip using-arc via its <SUBAGENT-STOP> block, so those local blocks are their only path grounding and injection defence. tests/test-xml-tags.sh enforces tag containment for agents but not for skills, for the same reason.
  • Skills must stay self-sufficient. audit, improve, and refactor carry context: fork and run isolated; command routers also invoke skills cold. Don't centralise a skill's <arc_runtime> into using-arc - path resolution would silently break.
  • Adding a required reference to a skill means the file must exist and the skill must say when to read it. tests/test-agents-and-refs.sh checks the first half.

Read the full file on GitHub · 49 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 First seen · 49 lines · 1,113 tokens per session scan A 672cf26fd5d6

Subscribe to this mod's changes

arc AGENTS.md is an instructions file published in the GitHub repository howells/arc (25 stars, last pushed 1mo ago), licensed MIT. It adds 1,113 tokens to every session, about $0.0045 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

Other instructions, from other repositories