Codex Orange Book
- Source
- huasheng.ai
- Publisher
- 花叔
- Author
- 花叔
- Date

Context
The independent Codex Orange Book gives a concrete answer to repeated project corrections: the working rules in , the that OpenAI's Codex reads when it starts. The book's chapter on project instructions recommends recording build and test commands, local pitfalls, review requirements, and what counts as finished work.
The book also describes how those instructions combine. Codex gathers a global file and then files from the project root down to the current directory, with rules closer to the working directory taking priority. This lets a repository carry its own expectations into a new . The book's test for what to include is whether the agent could work it out from the code: if not, write it down.
- Record — One unit of data in a file or table, such as one supplier's quote; distinct from a line of text.
- Repository instructions — Versioned guidance that tells agents how a repository is structured and verified.
- Instruction file — A text file whose instructions a harness loads into the model’s context, such as AGENTS.md or CLAUDE.md.
- Session — One conversation or piece of work as a harness keeps it: a record of messages, tool calls and observations that can be saved and resumed.
“这本书覆盖 Codex 的五种形态(CLI / 桌面 App / Cloud / IDE 扩展 / Chrome 扩展),从安装到独立构建产品,并诚实对比 Claude Code 给出双线开发者的心智模型。”
“粗糙之处也没回避:1M 上下文实际可用 258K、Windows Full Access 真的删过全盘、MultiAgentV2 仍有未修 bug。”



