Omega Codex CLI
Use the shared headless wrapper to run Codex from this project without MCP.
Run
From project root:
node .claude/skills/omega-codex-cli/scripts/ask-codex.mjs "USER_PROMPT"
Supported options:
--model MODEL— forwarded tocodex exec --model(seereferences/models.md)--json(runs Codex with JSONL events; prints extracted final response text)--sandbox(usesworkspace-write)--timeout-ms N
Models
For current model IDs and deprecation notes, read references/models.md. As of August 2026, start with gpt-5.6-sol; use gpt-5.6-luna for fast scans.
Setup and troubleshooting
- Run:
node .claude/skills/omega-codex-cli/scripts/verify-setup.mjs
- If Codex is missing, install
@openai/codexglobally or usenpx -y @openai/codex. - If auth is required, run
codex login(orcodex) once. - If model selection fails, run
codex doctorand update the CLI (npm install -g @openai/codex@latest).
See references:
references/models.mdreferences/headless.mdreferences/installation.mdreferences/auth.mdreferences/copy-and-run.md