The Codex Orange Book (alchaincyf/codex-orange-book, CC BY-NC-SA 4.0, ~162 stars as of May 18, 2026) is a bilingual (Chinese + English) practitioner book on OpenAIβs Codex coding agent, written by θ±ε (HuaShu) β an AI-native indie developer behind the Kitty Light iOS app (the author and huasheng.ai claim a former #1-paid spot on the App Store; Appleβs current listing only confirms the app and provider). The current GitHub release is v2.0.1, dated May 15, 2026 to document the mobile companion (which itself shipped May 14, 2026). The book covers all five Codex deployment forms (CLI, Desktop App, Cloud, IDE extension, Chrome extension), AGENTS.md, the /goal system, Automations, Skills, MCP, and β distinctively β a data-backed comparison with Claude Code in Β§10 that documents Claude Opus 4.7 leading GPT-5.5 on SWE-Bench Pro (64.3% vs 58.6%). In my opinion, it is one of the more thorough free Codex references currently available in either Chinese or English.
| *Source: github.com/alchaincyf/codex-orange-book (CC BY-NC-SA 4.0) | Whole series free at huasheng.ai/orange-books | Author: @AlchainHust (X/Twitter), θ±εv (Bilibili)* |
What it actually covers
The book is structured as 10 chapters + 3 appendices (the GitHub repoβs table of contents):
| Section | Chapters | Whatβs in it |
|---|---|---|
| Foundations | Β§1-Β§3 | The five Codex forms; 10-minute setup; first project |
| Daily Workflow | Β§4-Β§6 | CLI deep dive, AGENTS.md (Codexβs CLAUDE.md equivalent), Desktop app, Mobile companion |
| Beyond Local Machine | Β§7-Β§8 | Codex Cloud, Chrome extension, Skills, MCP, Automations, the /goal system |
| Building Real Things | Β§9-Β§10 | Idea-to-launch flow, the dual-tool mental model (Codex + Claude Code) |
| Appendices | A-C | Command reference, three-tier pricing, FAQ |
The βfive formsβ framing is the bookβs distinctive organizing idea: Codex isnβt one product, itβs a CLI + a desktop app + a cloud agent + an IDE extension + a browser extension, and the right one depends on the task. Most tutorials cover only the CLI; this book covers all five plus the mobile companion.
Why this book matters (beyond just being βanother Codex tutorialβ)
| Distinctive feature | What it gives you |
|---|---|
| Author writes from a non-engineerβs seat | HuaShu states he never hand-codes; he ships production apps (the iOS app Kitty Light; huasheng.ai claims a former #1-paid spot) with AI agents alone. The book is therefore grounded in shipping experience rather than theory |
| Bilingual editions | English alongside the Chinese original. The repo describes the English as βnative-prose translation, not a literal oneβ; whether it reads fluently is my editorial impression β verify against the version you download |
| Honest cross-tool comparison | Β§10 admits where Claude Code wins (Opus 4.7 SWE-Bench Pro leadership) and recommends the dual-tool workflow β rare in vendor-aligned tutorials |
| Updates with Codex releases | v2.0.0 published mid-May; v2.0.1 within 24 hours to document the mobile launch. Treats the book as living code, not a static PDF |
| Multi-format | PDF (1.7-4.2 MB), EPUB (5.6 MB), and HTML β pick the form that fits how you read |
How it compares to other resources
| Resource | What itβs good for | Where this book is different |
|---|---|---|
| Anthropic Academy (wiki) β 13 free courses | Claude-side onboarding, official | Anthropic-side; covers Claude not Codex |
| OpenAIβs official Codex docs | Authoritative, fast-moving | Reference-style, not narrative; no opinion on tool selection |
| Random YouTube Codex tutorials | Quick orientation | Fragmented; no consistent voice or scope |
| Codex Orange Book (this entry) | Full bilingual narrative + opinionated workflow + cross-tool framing | In my opinion, the dual-tool mental model in Β§10 is one of the more useful chapters for someone already on Claude Code who is evaluating Codex |
The five-Codex-form mental model (the bookβs anchor)
βββββββββββββββ βββββββββββββββ βββββββββββββββ βββββββββββββββ βββββββββββββββ
β CLI β β Desktop App β β Cloud β β IDE Plugin β β Browser β
β (terminal) β β (Mac/Win) β β (long runs) β β (VS Codeβ¦) β β (Chrome) β
ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ
β β β β β
ββββββββββββββββββ΄βββββββββββββββββ΄βββββββββββββββββ΄βββββββββββββββββ
β
βββββββββββΌβββββββββββ
β Mobile companion β
β (iOS / Android) β
ββββββββββββββββββββββ
The bookβs argument: each form fits a different task shape. CLI for focused coding, Desktop for ambient work, Cloud for long-running /goal-style jobs, IDE for inline edits, Browser for βcode while browsing.β Picking the right form matters more than picking the right prompt β a lesson most Codex documentation misses.
The Codex vs Claude Code chapter (Β§10) β what it actually says
The book doesnβt pretend Codex is universally better. Per Β§10βs data-backed comparison:
- Claude Opus 4.7 leads GPT-5.5 on SWE-Bench Pro (64.3% vs 58.6%) β explicitly stated
- Recommendation: dual-tool workflow. Use Claude Code for the hardest debugging / multi-file refactoring; use Codex for orchestration breadth, long-running cloud jobs, and mobile-companion convenience
- The book treats the choice as task-shape-dependent, not vendor-loyalty-dependent β which fits Qβs own cross-model code review entryβs argument
The broader Orange Book series
The Codex book is part of HuaShuβs Orange Book series β practitioner books, free, bilingual where applicable. Source conflict: the Codex repo README refers to the series as βeight books,β but the current huasheng.ai/orange-books collection lists 11 published books:
| Books currently on huasheng.ai (collection page, May 2026) |
|---|
| Claude Code Β· Claude Code Source Code Analysis Β· Harness Engineering Β· Agent Skills Β· OpenClaw Β· Hermes Agent Β· Cursor Β· Gemma 4 Β· Polymarket Β· Claude Opus 4.7 System Card (Chinese edition) Β· OpenAI Codex |
Obsidian AI also exists as a GitHub repo (alchaincyf/obsidian-ai-orange-book) but is not currently on the huasheng collection page.
Claude Code Orange Book is the closest sibling (per huasheng.ai/orange-books/claude-code/): 102 pages, 12 chapters + an appendix.
The series is a recognizable βChinese-English bilingual practitioner bookβ pattern worth studying as an artifact in its own right β fast iteration, multi-format, opinionated, free. The pattern could be adapted for technical writing in academic settings.
Install / read instructions
git clone https://github.com/alchaincyf/codex-orange-book
cd codex-orange-book
# Open the latest version in your reader of choice:
open Codex-Complete-Guide-en-v2.0.1.pdf # English edition
open Codex-Complete-Guide-zh-v2.0.1.pdf # Chinese edition
# or open index.html in a browser; EPUB editions are also available
GitHubβs PDF preview can fail on the larger files β download and open locally for the best rendering.
How LearnAI Team Could Use This
- Recommended reading for any LearnAI member who uses Codex for code review (which is most of us, given the cross-model review workflow). The CLI + AGENTS.md chapters alone are worth the time.
- Tool-selection guide for new colleagues β when a colleague asks βClaude Code or Codex for this?β point them to Β§10. The bookβs framing is task-shape-dependent rather than vendor-loyalty-dependent, which I find more useful than typical vendor blog posts.
- CS-310 / CS-336 reference β for students who need to learn Codex (e.g., for cross-model review labs), the bookβs βfive Codex formsβ section is a clean introduction. Bilingual edition helps international students.
- As a writing model for our own wiki entries β HuaShuβs structure (foundations β daily workflow β beyond local β building real things β appendices) is a clean pattern for any tool-deep-dive we author. Steal the structure.
Real-World Use Cases
| Scenario | How to use the book |
|---|---|
| Evaluating Codex for a team | Read Β§1-3 (foundations) + Β§10 (Codex vs Claude Code). 60 minutes total; informed decision at the end |
| Standing up cross-model review (wiki) | Read Β§4 (CLI + AGENTS.md) + Β§10. Sufficient to wire Codex review into a Claude Code workflow |
Setting up /goal runs (wiki) |
Β§8βs /goal section + the orchestrator-headless pattern in the linked entry covers most of what youβd want |
| Onboarding a non-engineer collaborator to AI coding | Start with Β§1-3; the bilingual edition helps Chinese-speaking team members |
| Picking which Codex form fits a task | The five-forms framing in the bookβs TOC is genuinely useful; most other resources only cover the CLI |
Limitations and honest caveats
- CC BY-NC-SA 4.0 = non-commercial only. You can share, adapt, redistribute, but not for commercial use. Re-publishing or selling derivatives is out.
- Single-author point of view. HuaShu is opinionated; the book reflects his workflow choices (heavy use of
/goal, AGENTS.md, multi-form Codex). Read alongside official OpenAI docs for completeness. - Versions move fast. v2.0.0 β v2.0.1 in 24 hours when the mobile companion launched. The version of the book you read in three months wonβt be the same β re-check the repo for updates.
- Authorβs framing assumes you trust agentic coding. HuaShuβs βI never hand-codeβ stance is a methodology claim, not a universal recommendation. Readers who want hand-coded fallbacks will find less guidance.
- Star count is modest (~162 as of May 18, 2026) β the audience is largely Chinese-speaking dev community + early international adopters, not the broad Codex user base. Quality is high; visibility is still catching up.
- Source-version ambiguity to watch for. The GitHub repo has v2.0.1 artifacts, but the βDownload PDFβ link on huasheng.ai/orange-books/codex/ currently serves a v2.0.0 PDF whose TOC still says βfour formsβ in one place β even though the body, the GitHub release, and the Chrome Web Store Codex extension confirm five forms. Cross-check the version you actually have before quoting numbers from it.
- No formal community forum. Issues track on GitHub; deeper Q&A happens on the authorβs social channels.
Important things to know
- The dual-tool model in Β§10 is one of the most practically useful chapters for someone already comfortable with Claude Code β itβs an honest task-shape-based comparison rather than a vendor pitch (my editorial impression).
- The Orange Book series is itself a teaching artifact. The βfast-moving practitioner book, bilingual, multi-format, freeβ pattern is rare and worth studying β useful for anyone writing technical content (including LearnAI wiki entries).
- AGENTS.md is Codexβs equivalent of CLAUDE.md. Β§4βs coverage of AGENTS.md is a solid practitioner-level walkthrough of how Codex consumes project-level context. Worth reading even if you stay on Claude Code, to understand the cross-tool parallel.
- The mobile companion is new (May 15, 2026). Most Codex coverage online doesnβt yet cover it β this book does (v2.0.1 documents it).
- Companion deep-dives in this wiki:
- Cross-Model Code Review β Why Claude Canβt Catch Its Own Bugs β the practical workflow that motivates Codex adoption for many teams
- Codex + Claude Code for Research β A Practical Tutorial β research-context dual-tool usage
- Beyond /goal β The Orchestrator + Headless Pattern β deeper dive into the
/goalsystem the book covers in Β§8 - What is Agentic Engineering? A Teaching Primer β the conceptual scaffold; the Orange Book is the Codex-specific worked instance
- Anthropic Academy β 13 Free AI Courses β the Claude-side counterpart to this resource
- Claude Code 101 β start here for the Claude side; then read this book for the Codex side