Codex CLI adds /goal
Key point
Codex CLI 0.128.0 adds /goal, which repeats execution until the goal is achieved.
Details
Codex CLI 0.128.0 has added /goal. When a user specifies a goal, Codex repeats execution until it evaluates for itself that the goal is complete, a kind of Ralph loop approach. The task stops once the set token budget is used up.
The implementation is handled by prompts that are automatically injected at the end of each turn.
goals/continuation.mdcarries the work over to the next turn.goals/budget_limit.mdsignals termination when the budget limit is reached.
This was introduced via a link post by Simon Willison, and it means OpenAI's Codex CLI now has a goal-based iterative execution flow.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.