Codex CLI Documentation
Codex CLI is OpenAI's coding agent that runs locally in your terminal. It can read, change, and run code on your machine. Built in Rust for speed and efficiency.
Quick Reference
| File | Title | Description |
|------|-------|-------------|
| using-codex/cli/overview.md | CLI Overview | Introduction to Codex CLI and setup |
| using-codex/cli/features.md | CLI Features | Interactive mode, models, reasoning, image inputs |
| using-codex/cli/command-line-options.md | Command Line Options | All CLI flags and options |
| using-codex/cli/slash-commands.md | Slash Commands | Available slash commands in TUI |
| configuration/agents-md.md | AGENTS.md | Custom instructions with AGENTS.md files |
| configuration/config-file/basic-configuration.md | Basic Config | Codex configuration file basics |
| configuration/config-file/sample-configuration.md | Sample Config | Example configuration files |
| configuration/custom-prompts.md | Custom Prompts | Create and use custom prompts |
| configuration/mcp.md | MCP | Model Context Protocol integration |
| configuration/rules.md | Rules | Define rules for Codex behavior |
| configuration/skills/overview.md | Skills Overview | Introduction to agent skills |
| configuration/skills/create-skill.md | Create Skills | How to create custom skills |
When to use
Use this skill when the user asks about:
- Codex CLI installation and setup
- Configuration files and options
- Creating skills or custom prompts
- AGENTS.md and rules
- MCP integration with Codex
How to find information
- Check the Quick Reference table above
- Read from
references/{filename}