boring-ui: Instructions file for Codex

AGENTS.md

boring-ui AGENTS.md is an instructions file for Codex, OpenCode from hachej/boring-ui. It costs 1,716 tokens per session, scanned A, original, MIT.

Repository instructions for working on the boring-ui project, including safety rules, branch practices, delegation, and links to detailed documentation.

In plain words
What is it for?
Use them before editing the repository to understand hard rules, where work should happen, and which project documents to read.
Why use it?
They help agents make changes safely and follow the project's required workflow.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 boring-ui AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/hachej/boring-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/hachej/boring-ui/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,716 This file is loaded in full into every session.
When invoked 1,716 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.01716 $0.01716
Opus 5.5 $0.00686 $0.00686
Sonnet 5.5 $0.00343 $0.00343
Haiku 4.5 $0.00172 $0.00172

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

Security

Grade A, and why

boring-ui 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 4d 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 · 25 lines

How it starts

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

Working here

Read README.md, INVARIANTS.md, PI-COMPLEMENT.md, SPEC.md, PRODUCT-REQUIREMENTS.md, ROADMAP.md and REDACTION.md first. Hub work also reads HUB-M1.md; UI/workspace work reads LEGACY-UI.md.

  • This repo has partial runtime implementation and build/typecheck tooling. Read docs/contracts/SCAFFOLD.md and docs/implementation/PARTIAL.md for implemented behavior and remaining qualifications. Interface/native-smoke tests alone are not runtime qualification. Import native types rather than copying them.
  • Keep decisions in their owning document; link rather than restate. Product requirements and the three reference applications are delivery targets, not optional polish.
  • Apply BORING-PI-1..6. Pi owns execution/recovery; borrow the native Harness and preserve direct native APIs. Compose optional native features, never replace the kernel/default lifecycle. The host owns policy/data/budgets/credentials. No generic multi-engine facade, mandatory composition container or second registry/scheduler.
  • One place for files: every file lives in a workspace (Pi FileSystem, plus exec when there is a shell), and every access goes through that workspace's single provider instance. "Published" is a mode of writing, not a location: the provider's conditional write (stale revision refused, operation id with lookup, history). Hosts differ only in where bytes live (disk/EFS, remote sandbox, SQLite); no mirror or sync between places. Reuse Pi's public FileSystem/Shell/ExecutionEnv; native tools never run over a dummy shell. Only conditional writes get receipts, never every scratch byte. Plan and owner: FILES-GIT-EXEC.md.
  • Pi extension points first (BORING-PI-4). Duplicates of Pi are deleted, not renamed. Review checklist: "Which Pi extension point does this use? If none, why doesn't Pi cover it?"
  • Views and lifecycles follow BORING-PI-6 and BORING-PI-2: closing a viewer must not stop a task or dispose another consumer's resource.
  • Current hub owns control/composition; Factory/app Artifacts repos own development claims, approvals and release. Read the current owner map above the historical Hub M1 text. Business dispatch is not Pi scheduling or a fixed native task graph. Report cancellation intent separately from confirmed termination; preserve private payloads at their data-owning runtime. Missing public seams block only the guarantee requiring them, not unrelated native capability.
  • Virtual workspace composes one view, just-bash and optional isomorphic-git; no native fallback or second remote checkout. Code mode reuses upstream pi-codemode with normal native registration, no Boring interpreter/VM recovery. Default canvas is tldraw.
  • Runtime/frontend features are trusted host code; agent-written or generated code is never imported into a host process; agents may run code they wrote only through their conversation's ExecutionEnv, as SELF-EVOLUTION.md specifies. Registration/viewing cannot manufacture permission, durable decisions or commit evidence. Viewer human actions and native tool adapters share resource semantics, with browser-only commands target-bound.
  • Preserve concrete controller types; do not erase flush/custom capabilities. Handle async owner teardown separately from sync unsubscribe. Keep native shell-only providers valid and concurrent cwd facades distinct.
  • Keep the headless UI root free of files/Pi/agent imports; select optional resource/Pi subpaths deliberately. Use native tool/factory/watch contracts, not a second HostOperation or subscription model. Compose writer/lookup and acquisition/recovery separately. Boring callback contracts use function properties to avoid unsafe method bivariance. Validate isolated consumers, not only the monorepo.
  • Change ARCHITECTURE.json before new packages/edges/dependencies. Native environment/resource type reuse is permitted where declared; no kernel or server FS in browser UI bundles (an opt-in agent worker bundle may run the unchanged kernel, see BORING-PI-5). Allowed package edges do not require pure adapter entry points to load agent implementations. Laws have one owner/index entry. Keep global VERIFY.json deferrals until their actual guarantees are proven; runtime packages also need test/packages/.test.mjs importing and exercising public output; no placeholder proof, duplicate law, private Pi import/fork/patch or relabelled legacy evidence.
  • npm run verify:repo is the repository layout/reachability front door and is included in npm run check (therefore CI). Its one config is scripts/verify-repo.config.json: allowed top-level directories, explicit additional source roots for dynamically referenced browser shims, and warning-only line budgets. It checks package source reachability from declared exports and test imports; reuses the Pi boundary, registry block/cycle and feature-map owners instead of duplicating their rules. Size warnings are prompts for review, not failures. Package exports and deprecated registry compatibility items are not removed without a fresh boring-factory consumer search.
  • Run npm run check, npm test and npm run verify before and after spec/tooling changes. Build/typecheck, native smoke and package-export tests now exist. Full lint/browser/provider/integration gates still land with their implementations, never as no-op scripts. Erased declarations need no behavior test; runtime packages require their own executed test entry. Global VERIFY.json deferrals are backlog, not release blockers (NPM-RELEASE); they do not block incremental package implementation.
  • One integrating owner per cross-package contract. Task packets name revision, allowed edges, owned files, consumer tests and non-goals; builders use isolated worktrees and reviewed candidates. Behavior lands with tests, driven controls, records and a feature map. Raw evidence stays under ignored .cache/evidence/; separate static review, fake-model journeys, hard crashes and real-model judgment.
  • Use fictional fixtures only. Never read/copy patient evals, credentials or licensed corpus into this repository. Never test against production or automate a person's own browser.
  • Do not edit/sync consumer source, vendor, data or deployments as part of specification work. Consumer migration is separate issue/branch/PR work under that repository's instructions. A v4 compatibility requirement is not a claim that the hub is already fixed.
  • Pin dependencies/references. Port v2 lifecycle/files/chat behavior and v3 viewer/shadcn recipes deliberately; retain licenses and replace obsolete runtime coupling. tldraw licensing/assets/CSS and vendor/egress guarantees need separate qualification. Keep full requested P01–P14/A01–A47 scope and additive current-hub A48 visible; the first composed fixture is not full release completion.
  • Fail-first tests: a test added with a fix must be shown to fail on the pre-fix code and must drive the real path (the public entry point or native tool), not a direct call to a library; reviews check this.
  • Feature map: features/README.md lists what the kit does, one file per feature with sub-feature IDs, where it lives and how to drive it. A change that adds or changes a feature updates its file in the same change (a new block, prop or behaviour gets an ID and a driving step); npm run check runs scripts/check-features.mjs. Skills under skills/ point to the map and do not repeat it.

Read the full file on GitHub · 25 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. 4d ago Changed · +2 lines · +229 tokens per session 3ad368d2dfe7
  2. 9d ago Changed · -75 tokens per session 55e34e420d2a
  3. 13d ago Changed · +25 tokens per session ce2e2b47d0ee
  4. 19d ago Changed · +1 lines · +49 tokens per session 8fb81dcebecb
  5. 20d ago Changed · +55 tokens per session 1e1c919b87fa
  6. 21d ago Changed · +1 lines · +119 tokens per session f01f0e14352d
  7. 22d ago Changed · -74 lines · +23 tokens per session scan C → A 336b21493edc
  8. 1mo ago Changed · -8 lines · -179 tokens per session e63e49dc06c1
  9. 1mo ago First seen · 103 lines · 1,470 tokens per session scan C ae37eb031bde

Subscribe to this mod's changes

boring-ui AGENTS.md is an instructions file published in the GitHub repository hachej/boring-ui (49 stars, last pushed yesterday), licensed MIT. It adds 1,716 tokens to every session, about $0.0069 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens