A quick reference guide with everything you need to install, configure, and use OpenAI's Codex CLI: commands, flags, slash commands, AGENTS.md, approval modes, MCP, and scripting.