Blueprint: Instructions file for Codex

AGENTS.md

Blueprint AGENTS.md is an instructions file for Codex, OpenCode from Magolor/Blueprint. It costs 682 tokens per session, scanned A, original, MIT.

A project instruction file for the Blueprint TypeScript branch, defining its authority order, development workflow, architecture, package-manager rules, and checks.

In plain words
What is it for?
Use it when working on Blueprint to follow its pnpm workflow, preserve worktree changes, update task records and documentation, and run the required checks.
Why use it?
It gives coding agents consistent project-specific rules for planning, editing, testing, documentation, and task tracking.

Instructions file for CodexOpenCode

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

This is Magolor/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 Magolor/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/Magolor/Blueprint/typescript/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Magolor/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/magolor/blueprint/agents-md/github.svg)](https://agentmods.dev/instructions/magolor/blueprint/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/magolor/blueprint/agents-md"><img src="https://agentmods.dev/badge/instructions/magolor/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/magolor/blueprint/agents-md"><img src="https://agentmods.dev/badge/instructions/magolor/blueprint/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 682 This file is loaded in full into every session.
When invoked 682 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.00682 $0.00682
Opus 5.5 $0.00273 $0.00273
Sonnet 5.5 $0.00136 $0.00136
Haiku 4.5 $0.00068 $0.00068

Measured 1mo ago against content hash a608330fda58, 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 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 · 75 lines

How it starts

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

Blueprint Agent Guide

Purpose and authority

The typescript branch is the active Blueprint product line. It is a strict starter for a small Node SDK and CLI package.

Use this authority order:

  1. Current user instructions and this guide.
  2. Shipped code, tests, package artifacts, and CI.
  3. README.en.md and docs/README.md.
  4. Current plans and reports.

package.json owns direct dependencies and commands. pnpm-lock.yaml owns resolved dependency state. Use pnpm only.

Work loop

  1. Run rtk pnpm tasks --ready for non-trivial work.
  2. Claim an existing task before you create one.
  3. Keep resumable state only in docs/tasks.yaml.
  4. Use one linked plan for architectural or multi-slice work.
  5. Preserve unrelated changes and other worktrees.
  6. Run focused checks during implementation.
  7. Run rtk pnpm check before closeout.
  8. Update canonical docs and docs/DEVLOG.md.
  9. Remove completed or canceled queue rows.

The queue supports draft, ready, active, blocked, and postponed. Record cancellation during closeout, then remove the row.

TypeScript architecture

  • Keep one cohesive native ESM package until a real boundary earns another package.
  • Use src/index.ts as the only public SDK boundary.
  • Use src/cli.ts as a thin adapter over the SDK.
  • Validate external values from unknown.
  • Use direct functions for stateless behavior. Do not invent a template-domain object.
  • Keep strict compiler options enabled.
  • Add no framework, GUI, service, database, plugin, or workspace without a concrete requirement.

Commands

Prefix local agent commands with rtk.

rtk pnpm install --frozen-lockfile
rtk pnpm check:fast
rtk pnpm check
rtk pnpm build
rtk pnpm package:check

pnpm check is the complete code, documentation, and package gate.

Authoring

Before creating PRs, issues, comments, docs, or reports, read authoring rules and the matching template. Use English for Blueprint. Start with the reader-visible summary and explain system context before internal identifiers.

Read the full file on GitHub · 75 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 · +6 lines · +99 tokens per session a608330fda58
  2. 2mo ago First seen · 69 lines · 583 tokens per session scan A 70c95cad98da

Subscribe to this mod's changes

Blueprint AGENTS.md is an instructions file published in the GitHub repository Magolor/Blueprint (5 stars, last pushed 8d ago), licensed MIT. It adds 682 tokens to every session, about $0.0027 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

Blueprint AGENTS.md compared with instructions from other repositories

Blueprint AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Blueprint AGENTS.mdMagolor/BlueprintInstructions file58d agoMITA682Codex, OpenCode
agent-ready copilot-instructions.mdvb-nattamai/agent-readyInstructions file63mo agoMITA578GitHub Copilot
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