codex-cli
Installation
SKILL.md
Wrap the local codex CLI (codex --version ≥ 0.128.0) so Claude Code can hand off three kinds of work without leaving the conversation:
- review — second-opinion code review on a diff
- impl — non-interactive coding task in a sandbox
- image — image generation via Codex's built-in
image_gen.imagegentool (no API key, ChatGPT login is enough)
Verify once per session
codex --version # codex-cli ≥ 0.128.0
codex login status # must say "Logged in"
If not logged in, tell the user to run ! codex login from the prompt. Do not log in on their behalf.
Pick the mode
Parse $ARGUMENTS. The first token selects the mode (review | impl | image); everything after it is the prompt or flags. If the user invoked /codex-cli with no subcommand, infer: