blueprint: Instructions file for Codex

AGENTS.md

blueprint AGENTS.md is an instructions file for Codex, OpenCode from owainlewis/blueprint. It costs 1,362 tokens per session, scanned A, original, MIT.

A set of instructions for AI coding work in the Blueprint repository, covering planning, architecture, implementation, review, and proof.

In plain words
What is it for?
Use them to decide which engineering phase is needed, prepare technical plans, update architecture records, and deliver focused pull requests.
Why use it?
They help keep decisions, code changes, and pull requests focused so another developer can understand and verify the result.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/owainlewis/blueprint/agents-md"><img src="https://agentmods.dev/badge/instructions/owainlewis/blueprint/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,362 This file is loaded in full into every session.
When invoked 1,362 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.01362 $0.01362
Opus 5.5 $0.00545 $0.00545
Sonnet 5.5 $0.00272 $0.00272
Haiku 4.5 $0.00136 $0.00136

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

Security

Grade A, and why

blueprint 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 15d 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 · 81 lines

How it starts

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

Blueprint repository policy

Blueprint is a small set of instructions for AI coding. Blueprint skills are opt-in workflows. Use them only when explicitly selected by the user or required by an already selected Blueprint workflow.

Principles

  • Give agents outcomes, constraints, and proof. Trust them with mechanics.
  • Keep one skill per meaningful engineering phase or delivery outcome.
  • Requirements define the product. Architecture defines the intended system. A spec defines one feature or major change.
  • Distinguish accepted architecture from implemented behavior. Verify claims about existing code.
  • Review technical proposals before implementation when a wrong choice could materially affect behavior, data, security, scale, performance, compatibility, operations, cost, or proof.
  • Update an existing architecture document when code changes ownership, dependency direction, protocols, stored data, trust boundaries, deployment topology, or hard limits.
  • Skip phases that add no value. Small, decided work can go straight to implementation.
  • A task is ready when a new agent can finish it without asking product or technical questions.
  • Each pull request delivers one focused outcome and its proof. A reviewer should not have to separate unrelated work to understand it.
  • Separate refactoring when it would hide the behavior change. Small local cleanup may stay when it makes that change easier to review.
  • Logic changes include automated tests for changed behavior and affected failure paths, including any named in the acceptance criteria.
  • Refactors include tests for behavior that must not change.
  • If automated tests cannot exercise the affected behavior, explain why and give other evidence.
  • Review checks correctness. Ask for a simpler design when it can deliver the same outcome and proof with less state, indirection, duplication, or operational work.
  • Do not block on personal taste. Cite technical evidence or repository conventions.
  • Browser behavior is proven in a real browser, not by reading source.
  • If the task, design, or plan is wrong, update it before changing more code.
  • Prefer the smallest complete change. Do not mix product work with unrelated cleanup.
  • Humans review decisions and normally merge. Agents may merge only when the user explicitly delegates it. Explicitly naming /factory or /codex-issue-coordinator delegates merge authority for the supplied work after its quality gates pass; an implicit skill match does not.

Read the full file on GitHub · 81 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. 15d ago Changed · +2 lines · -18 tokens per session c1a035e28eb1
  2. 21d ago Changed · +3 lines · +130 tokens per session 8b63c350ce6a
  3. 27d ago Changed · +3 lines · +78 tokens per session 860cd0628517
  4. 1mo ago First seen · 73 lines · 1,172 tokens per session scan A 836060c5245a

Subscribe to this mod's changes

blueprint AGENTS.md is an instructions file published in the GitHub repository owainlewis/blueprint (421 stars, last pushed 4d ago), licensed MIT. It adds 1,362 tokens to every session, about $0.0054 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