Codex
OpenAI's coding agent (Codex CLI / cloud). Instruct your project via AGENTS.md, let it edit code in a sandbox, run tests, and open PRs. This section collects AGENTS.md templates, config.toml approval/sandbox modes, code review, iterative repair, and CI integration workflows (official + high-star MIT).
PROMPTS
Codex-specific tested prompts. Click through for full version, variables, and usage context. Prompt bodies are authored in Traditional Chinese.
AGENTS.md 起手式:minimal 與 advanced 兩種範本(給 Codex/任何 agent)
取自 Ischca/awesome-agents-md(CC0)的兩款 AGENTS.md 範本:minimal 是五行就上路的最小檢查清單,advanced 含環境/測試/慣例/安全/範例任務五大區塊。讓 AI 編碼 agent 一進專案就知道規則。
Codex config.toml 實戰:審批模式 × 沙箱隔離 × 設定檔
用一份可直接貼上的 ~/.codex/config.toml 範本,把 OpenAI Codex CLI 的審批策略(approval_policy)、沙箱隔離(sandbox_mode)、推理強度與多組設定檔(profiles)一次設定到位,兼顧自動化效率與安全邊界。