smithers: Instructions file for Codex

AGENTS.md

smithers AGENTS.md is an instructions file for Codex, OpenCode from smithersai/smithers. It costs 5,903 tokens per session, scanned A, original, MIT.

Repository instructions for an application whose chat actions acknowledge requests immediately while longer work runs in the background. They define how progress, completion, failures, repeated requests, and page reloads should be handled.

In plain words
What is it for?
They guide background research and setup jobs, progress notifications, durable run records, duplicate prevention, and reliable handling of completed or stale responses.
Why use it?
They help keep the interface usable during slow work and prevent the application from claiming that a task finished when it only started.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/smithersai/smithers/agents-md"><img src="https://agentmods.dev/badge/instructions/smithersai/smithers/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,903 This file is loaded in full into every session.
When invoked 5,903 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.05903 $0.05903
Opus 5.5 $0.02361 $0.02361
Sonnet 5.5 $0.01181 $0.01181
Haiku 4.5 $0.00590 $0.00590

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

Security

Grade A, and why

smithers 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 7d 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 · 388 lines

How it starts

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

Permanent product interaction rules

Follow the Uphill rules, which uphill rules --write rewrites from each metric's description: @.agents/uphill/rules.md

Every agent in this repository follows these rules. The source of truth for what we build is the rulings: Will's latest words, then his decision-queue answers, then the decision records in apps/mvp/docs/decisions/, then older docs. Anything that contradicts a ruling is out of date; fix it or report it (Will, 2026-10-20, SCOPE-9). Each rule below cites its ruling ID.

One core, clients and hosts (Will, 2026-11-16, vital)

Read the architecture page before designing or building anything. Will: "if we mess this up we might mess everything up". Where a section below disagrees with these rules, these rules win (rulings section 20).

  • The core works with no user interface. An interface is one type of client. The command line has feature parity with the interface, and the interface is a thin wrapper around the core (CORE-1, CORE-4).
  • A capability lands in the core first: the TypeScript API, then a command-line verb, then a screen. Don't put product logic in a view or in a server that belongs to one app (CORE-12).
  • The core runs on all platforms through Effect dependency injection. The Cloudflare deployment is one expression of it, so nothing may work only there (CORE-5, CORE-6).
  • Everything is a tree of clients and hosts. A client is a file system and a database; a sandbox or a VM is a new client whose host is the client that started it (CORE-7, CORE-8).
  • Every client is local-first. Feature code writes to the file system and to SQLite or Postgres and never mentions sync; the sync engine works in the background and handles conflicts and time offline. A record can stay private to a client or be shared with its host, like a branch (CORE-13 to CORE-16).
  • A client has five layers, like an Ethereum client: storage (files and database), execution (the durable engine), common (platform and injected services), sync (local-first, CRDT based) and the external API (one method set over any transport) (CORE-18).
  • Propose, do not leave: functionality found outside the core that belongs in it is proposed to Will with what it is, where it was found, where it goes, its Node API and its commands (CORE-17).
  • A factory such as Vibe is a configuration of Smithers in web standards, not an application. apps/vibelang is a proof of concept and reference code (CORE-9, CORE-10).
  • Smithers builds Smithers, and the minimum product has the final product's shape and starts headless (CORE-2, CORE-3).

Read the full file on GitHub · 388 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. 7d ago Changed · +2 lines · +41 tokens per session 32c6146832b3
  2. 11d ago Changed · +8 lines · +100 tokens per session eec6f657107f
  3. 18d ago Changed · +36 lines · +549 tokens per session f4d313753e88
  4. 23d ago Changed · +6 tokens per session 76aa40f345fd
  5. 1mo ago Changed · +1 lines · +22 tokens per session 40072d91bac2
  6. 1mo ago Changed · +20 lines · +280 tokens per session 1936e0ca571f
  7. 1mo ago Changed · +1 lines · +38 tokens per session 766acc721e8b
  8. 1mo ago Changed · -26 lines · -222 tokens per session ddb49fc1093e
  9. 1mo ago Changed · +40 lines · +593 tokens per session c3bb18f1c795
  10. 1mo ago First seen · 306 lines · 4,496 tokens per session scan A ac88587631b6

Subscribe to this mod's changes

smithers AGENTS.md is an instructions file published in the GitHub repository smithersai/smithers (455 stars, last pushed 4d ago), licensed MIT. It adds 5,903 tokens to every session, about $0.0236 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-09-03.

Related

smithers AGENTS.md compared with instructions from other repositories

smithers AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smithers AGENTS.mdsmithersai/smithersInstructions file4554d agoMITA5,903Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot