scaffold: Instructions file for Codex

AGENTS.md

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

Project instructions for scaffold, a standard for starting or organising Howells projects, including repository layout, technology choices, package boundaries, and release checks.

In plain words
What is it for?
Use them when creating or standardising a project, deciding where applications and packages belong, choosing the default web stack, and following the repository’s development and deployment rules.
Why use it?
They give a project a consistent structure and define which files and generated outputs are the source of truth.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/howells/scaffold/agents-md"><img src="https://agentmods.dev/badge/instructions/howells/scaffold/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 418 This file is loaded in full into every session.
When invoked 418 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.00418 $0.00418
Opus 5.5 $0.00167 $0.00167
Sonnet 5.5 $0.00084 $0.00084
Haiku 4.5 $0.00042 $0.00042

Measured today against content hash 4e17b1947392, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scaffold 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 today.

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 · 38 lines

What it actually says

Scaffold

The house baseline for starting or standardising a project: repo shape, stack, package boundaries, deployment and launch checks. It is a standard, not a template.

docs/ is the source of truth. skills/scaffold is a distribution surface generated from it. Start at docs/README.md and open only the page the task needs. Deviations live in docs/adr/.

Generated, never hand-edited

  • docs/principles.md comes from src/content/principles.ts via pnpm generate:principles.
  • skills/scaffold/references/ comes from docs/ via pnpm sync:skill. Edit the docs, then sync.
  • pnpm test runs both with --check, so a docs edit without a regenerate fails.

Editing

  • Baseline policy goes in docs/reference/; project-specific guidance belongs in that project's AGENTS.md. Search before adding a page.
  • Terms in GLOSSARY.md (Scaffold Baseline, Project Docs, Agent Skill, Agent Skill Distribution, Skill Wrapper) are fixed.
  • Lint config trap: see docs/reference/config-snippets.md before wiring lint anywhere.
  • Production deploys are local (pnpm deploy:prod: vercel pull, build and deploy --prebuilt); nothing ships from hosted CI.
  • Don't overwrite others' uncommitted work.

Commands

pnpm dev (docs site), pnpm typecheck, pnpm lint, pnpm lint:fix, pnpm build, pnpm test.

Agent skills

Issue tracker

Linear, workspace howells, team Howells (key HOW), through the linear-howells MCP server. See docs/agents/issue-tracker.md.

Triage labels

Default triage labels. See docs/agents/triage-labels.md.

Domain docs

Single-context. See docs/agents/domain.md.

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. today Changed · +14 lines · +83 tokens per session 4e17b1947392
  2. yesterday Changed · -8 lines · -191 tokens per session a1733cf908a5
  3. 1mo ago Changed · -13 lines · -372 tokens per session de8989a5a63e
  4. 1mo ago Changed · +1 lines · +187 tokens per session ee6f638221e5
  5. 2mo ago First seen · 44 lines · 711 tokens per session scan A e0d33d05d0c4

Subscribe to this mod's changes

scaffold AGENTS.md is an instructions file published in the GitHub repository howells/scaffold (2 stars, last pushed today), licensed MIT. It adds 418 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

scaffold AGENTS.md compared with instructions from other repositories

scaffold AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold AGENTS.mdhowells/scaffoldInstructions file2todayMITA418Codex, 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