Independent English edition of the local Codex CLI wiki.
Clone the repository and open the local wiki launcher:
git clone https://github.com/milord-x/Codex-CLI-Wiki.git
cd Codex-CLI-Wiki
wiki codexIf you only want to rebuild the static HTML output:
wiki codex --build-only- structured daily-use documentation for Codex CLI;
- an offline HTML site with search and section filters;
- launch command
wiki codex; - examples for prompts,
AGENTS.md, and skills.
- Primary source of truth: official OpenAI Codex documentation.
- Local verification:
codex --help,codex <command> --help,codex --version. - Locally verified version on this machine:
codex-cli 0.115.0.
- 01-installation.md — installation and first verification.
- 02-auth-and-plans.md — ChatGPT sign-in and API key auth.
- 03-basic-commands.md — minimum command set for day one.
- 04-interactive-workflow.md — practical interactive workflow.
- 05-command-reference.md — command and flag reference.
- 06-config.md —
~/.codex/config.toml, profiles, and project overrides. - 07-models-and-modes.md — models, sandbox, approvals,
--oss. - 08-skills.md — skills,
SKILL.md, and examples. - 09-agents-md.md — how
AGENTS.mdworks. - 10-best-practices.md — operational best practices.
- 11-prompting.md — how to prompt Codex well.
- 12-debugging-recovery.md — safe bug fixing, validation, recovery.
- 13-anti-patterns.md — common mistakes and anti-patterns.
- cheatsheet.md — quick commands and recipes.
- playbooks.md — ready-made workflows.
- examples/prompts.md — prompt examples.
- examples/agents.md.example —
AGENTS.mdexample. - examples/skills/ — skill examples.
- INDEX.md — compact file index.
- If you are new to Codex CLI, start with
01and02. - If Codex is already installed, read
03,04,05, and06. - Keep cheatsheet.md nearby for day-to-day work.
- Use playbooks.md and examples/prompts.md for real tasks.
- Before risky runs, review 05-command-reference.md and 07-models-and-modes.md.
- Local HTML build output:
site/index.html - Open from terminal:
wiki codex - Rebuild only:
wiki codex --build-only - Print HTML path only:
wiki codex --print-path
- Local
codex-cli 0.115.0exposescodex login --with-api-key, reading the key fromstdin. - Some official examples still show
codex login --api-key .... - When docs and local help disagree, prefer
codex login --help.
- Official Codex docs: https://developers.openai.com/codex
- Codex auth docs: https://developers.openai.com/codex/auth
- Local
@openai/codexpackage README - Local CLI help:
codex --help
