Buildr: Instructions file for Codex

AGENTS.md

Buildr AGENTS.md is an instructions file for Codex, OpenCode from BuildrAI/Buildr. It costs 2,622 tokens per session, scanned A, original, MIT.

Project instructions for BuildrAI, written mainly for agents working on Buildr itself. They define the required language style, product boundaries, self-bootstrap process, and approved commands.

In plain words
What is it for?
Use them when developing or synchronizing Buildr, checking its self-bootstrap environment, updating product services, or producing user-facing documentation.
Why use it?
They prevent changes from being made in the wrong product directory or with the wrong command-line installation, and explain how Chinese-language responses should handle English terms.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/buildrai/buildr/agents-md"><img src="https://agentmods.dev/badge/instructions/buildrai/buildr/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,622 This file is loaded in full into every session.
When invoked 2,622 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.02622 $0.02622
Opus 5.5 $0.01049 $0.01049
Sonnet 5.5 $0.00524 $0.00524
Haiku 4.5 $0.00262 $0.00262

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

Security

Grade A, and why

Buildr 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 5d 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.

AGENTS.md

Buildr 工作空间规则

Buildr 产品及其生成的工作空间(Workspace)共同遵守本规则。

智能体优先原则

本节指导智能体参与的工作协作;用于产品与架构设计时,适用于引入智能体交付产品结果的部分。软件引入智能体(Agent),参与理解用户目标、判断或执行工作并交付产品结果,就开始向智能体软件(Agentic Software)演进,不要求所有功能同时改造。仅使用智能体开发软件,不自动要求该产品采用智能体优先架构;尚未引入智能体的功能沿用适合自身目标的设计,既有业务规则、安全与授权边界保持有效。

智能体(Agent)是软件能力的主要执行者;人负责目标、约束、判断、授权和结果验收。

产品原则

  1. 以目标驱动协作。人负责表达目标、约束、判断和授权;智能体在授权边界内理解目标并持续推进。不得把本可由智能体完成的过程重新拆成人工操作步骤。
  2. 以真实工作现场为中心。对话用于表达和解释,界面用于认知和直接操作。真实工作现场由代码、文档、数据、环境和外部系统等工作对象的当前事实构成。智能体每次继续工作时,应重新核对当前事实,不能只依赖历史对话。
  3. 以产物为核心组织协作。产物(Artifact)包括工作过程中形成或改变的中间成果与最终结果。产品应围绕这些成果组织交互、执行与验收,使其能够被独立查看、修改和接续,不依附于某次对话。不同入口的变化应可被其他参与者发现,人和智能体应依据当前成果继续工作;成果一致不等于目标完成,仍须按目标验收。

架构原则

  1. 提供确定性能力,开放组合方式。软件能力应明确作用对象及其身份或版本、输入、输出、副作用、授权和失败边界。智能体根据现场动态组合这些能力;重复且稳定的组合再沉淀为确定性工作流(Workflow)。
  2. 多种入口共享同一当前事实。人、智能体、界面和接口都可能改变工作现场。所有入口必须对齐同一对象身份和已观察版本;冲突必须显式处理,不得静默覆盖。各入口应能发现相关变化,继续判断或修改前核对当前事实,写入时校验已观察版本;人应能查看同一成果及必要变化,无需阅读完整执行过程。对话会话(Session)不能成为产品状态的唯一权威。不要求所有操作属于同一次执行(Run),也不要求每次变化立即唤醒智能体。
  3. 约束局部化,失败影响隔离。每项能力只校验自身正确执行所必需的条件。局部缺陷只能阻止相关动作,不得扩大为整个目标或其他安全工作的阻塞;产品内部错误不得否定已经成立的事实,包括内部登记、派生证据或自动化信心不足,不得否定可从权威来源验证的事实。

性能原则

  1. 以可信完成目标的效率衡量性能。首先保证目标正确、真实地完成,再减少完成目标所需的时间、步骤、词元(Token)、工具调用、重复尝试和人工介入。新增状态、门禁和流程必须证明其收益大于成本。验证范围应与改动影响匹配;已有检查仍适用于当前成果且必需检查已通过时,只有新改动、失败或明确未解决的风险才补充相关验证。

责任与治理

  • Buildr 负责治理长期工作资产与少量确定性边界,不成为另一个智能体或通用许可层。
  • 智能体(Agent)向用户说明目标、结果、影响与必要决定,不把 Buildr 内部术语和流程问题转交用户。
  • 除非用户明确在开发 Buildr,发布版 Buildr 的用户不承担 Buildr 内部问题的诊断、修复或操作责任;只有涉及用户授权或业务判断时,才向用户请求决定。
  • 用户明确指令优先于技能(Skill)的一般做法;业务约束、授权边界与实际权限继续有效。同一任务中已取得的授权,在对象、范围和副作用未改变且未被撤回时继续适用,不因换轮次重复确认。
  • 用户明确要求“收尾”或等价的本轮交付,即授权当前任务范围内可核验的常规 Git 提交、集成和普通推送;不得仅因未逐项列出这些动作而重复询问。同意实施、开始或继续修改只授权实施范围内的持久修改与常规验证,不构成“收尾”、交付或等同指令。每次写入仍须核验真实仓库、内容归属、目标引用、完整推送范围和实际副作用;范围或目标不明时只停止受影响的写入。强推、merge commit、改写共享历史、丢弃内容、覆盖他人工作、删除远端分支、发布和语义冲突取舍不属于该授权。
  • 任务级临时引用(如任务分支(Branch))的远端生命周期全程受明确授权约束:没有用户指令、任务声明的交付方式或适用于该仓库的持续授权时,不得把任务分支推送到远端;收尾必须处置本任务实际存在的远端任务引用——归属、交付保全与删除授权均证明时按实时观察提交删除,授权或安全条件不满足时逐项报告保留原因,不得静默残留。仓库声明的常驻引用与发布引用不适用本条,后者由发布能力按绑定政策处理。
  • 只有继续推进会造成越权、错误对象写入、未经授权的外部或不可逆副作用、证据失真、完成误报或覆盖他人工作时,才关闭式失败。需要决定时,先完成不依赖该决定的已授权工作,再展示具体影响;若技能(Skill)要求暂停,链接对应 SKILL.md 并引用适用条款,区分明文要求与自身判断。

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. 5d ago Changed · +35 tokens per session c0f55dc8c9a6
  2. 10d ago Changed · +1 lines · +107 tokens per session 618bbb0cdfd7
  3. 25d ago Changed · +1 lines · +165 tokens per session 0f1ec3729cc6
  4. 1mo ago Changed · +1 lines · +136 tokens per session f5022d92f63e
  5. 1mo ago Changed · +30 tokens per session 570e8a1cc294
  6. 1mo ago Changed · +43 tokens per session f534941df840
  7. 1mo ago Changed · -1 lines · +74 tokens per session d33ba28f21d1
  8. 1mo ago Changed · +55 lines · +1,635 tokens per session 8e6827dc5144
  9. 1mo ago First seen · 18 lines · 397 tokens per session scan A 22bc62fd2523

Subscribe to this mod's changes

Buildr AGENTS.md is an instructions file published in the GitHub repository BuildrAI/Buildr (28 stars, last pushed yesterday), licensed MIT. It adds 2,622 tokens to every session, about $0.0105 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

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,581 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,731 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