codex-clilisted
Install: claude install-skill georgekhananaev/claude-skills-vault
# Codex CLI
OpenAI's local agentic coding CLI (`codex`, v0.132+). Runs the GPT-5 family by default (current default: `gpt-5.5`) and supports OSS providers (ollama, lmstudio). Use for second-opinion audits, delegated builds, review of uncommitted diffs, and non-interactive task execution.
## First: prefer the Codex Claude Code plugin when it's installed
If the user has the official `openai-codex` plugin in `~/.claude/plugins/marketplaces/openai-codex/`, the plugin's skills are the **preferred** path for Claude→Codex delegation:
| Plugin skill | Use for |
|--------------|---------|
| `codex:setup` | Check Codex is installed, configured, and ready |
| `codex:rescue` | Delegate a rescue/fix/diagnosis/research task to Codex |
| `codex:codex-result-handling` | Internal — how to present Codex output back to the user |
| `codex:gpt-5-4-prompting` | Internal — prompt drafting for Codex |
The plugin wraps `codex` with a `task` runner that handles background execution, model/effort routing, write-vs-read, and result fetching. Hand-rolling `codex exec` from Bash is fine for **direct** CLI work (e.g. the user explicitly types `codex …` or wants a one-off review), but for "delegate this to Codex" requests, prefer `codex:rescue`. Don't double-invoke.
Detect with: `ls ~/.claude/plugins/marketplaces/openai-codex/ 2>/dev/null`
## Prerequisites
```bash
codex --version # Confirm install
codex doctor # Diagnose install + auth + config + conne