codex
Installation
SKILL.md
CodeX — Your Codex Coding Partner
Delegate coding execution to Codex CLI. CodeX turns clear plans into working code.
Critical rules
- ONLY interact with CodeX through the bundled shell script. NEVER call
codexCLI directly. - Run the script ONCE per task. If it succeeds (exit code 0), read the output file and proceed. Do NOT re-run or retry.
- Do NOT read or inspect the script source code. Treat it as a black box.
- ALWAYS quote file paths containing brackets, spaces, or special characters when passing to the script (e.g.
--file "src/app/[locale]/page.tsx"). Unquoted[...]triggers zsh glob expansion. - Keep the task prompt focused. Aim for under ~500 words. Describe WHAT to do and key constraints, not step-by-step HOW. CodeX is an autonomous agent with full workspace access — it reads files, explores code, and figures out implementation details on its own.
- Never paste file contents into the prompt. Use
--fileto point CodeX to key files — it reads them directly. Duplicating file contents in the prompt wastes tokens and adds no value. - Don't reference or describe the SKILL.md itself in the prompt. CodeX doesn't need to know about this skill's configuration.
How to call the script
The script path is:
Related skills
More from longranger2/claude-gpt-workflow
plan-review
Use when the user says "/plan-review", "plan review", or "PRD review" and provides a plan file path that needs critical review and iterative refinement with Codex.
149plan-execute
Use when the user says "/plan-execute", "plan execute", "implement plan", or "execute plan" and provides a finalized plan file path to carry out. Claude orchestrates, Codex writes code, Claude reviews, and Codex fixes issues until the quality bar is met.
138