Skip to content
latestai.eulatestai.eu
GO

/goal

by OpenAI

Codex command that keeps an agent working on a long-running goal until a verifiable or model-judged condition is met.

Updated EU status checked Last shown

/goal at a glance

What is /goal?
/goal is an app from OpenAI. Codex command that keeps an agent working on a long-running goal until a verifiable or model-judged condition is met.
Who makes /goal?
/goal is made by OpenAI.
Does /goal work in the EU?
Unverified. No explicit evidence found. The provided pages cover the third-party Loop Library and say nothing about regional availability of /goal in Codex. Last verified 14 Nov 2026.
How much does /goal cost?
Pricing unknown. Feature of OpenAI Codex; no separate pricing found in the provided material. The Loop Library prompts are free to copy.
Where was /goal shown?
In 4 creator videos by Matthew Berman. Most recently by Matthew Berman on 5 Aug 2026, at 11:31 in “Master Codex with these 15 Tips”.

Sources: the vendor's own pages (linked above) and creator videos at the linked timestamps. EU status is information, not legal advice; see how we check.

About

/goal (also called goals or loops) is a command in OpenAI's Codex that keeps a coding agent iterating toward an overarching objective instead of stopping after a single response. The agent continues until a verifiable condition or an LLM-judged goal is reached. Limits such as a time cap can be set.

According to creator Matthew Berman, goals can keep an agent running for hours or days, for example a benchmark loop that iterates until a score reaches 90%. The linked Forward Future Loop Library is a third-party collection of 85 copyable loop prompts (docs sweeps, test coverage, accessibility repair, dependency triage, source checks and others), each with a stated stopping condition. It also offers a "Loopy" agent skill for finding, writing and running loops.

The page material does not document /goal's official syntax, pricing or availability. It is accessed from within Codex. Long runs depend on well-defined, checkable stopping conditions, and loops without a clear check or limit may run indefinitely.

Key features
  • Runs the agent repeatedly until a goal is met
  • Supports verifiable or LLM-judged completion conditions
  • Optional limits such as a time cap
  • Can run for hours or days on benchmark-style tasks
  • Community Loop Library of 85 reusable loop prompts
4 moments

As seen on YouTube

Watch the moment: the exact second top creators show it. Videos load only when you press play, via youtube-nocookie.com.

MA
Matthew Berman9 Jun 2026
Live demo
Only the best are using them...

Coding technique where you design a trigger and a verifiable goal and let agents prompt themselves until the goal is met, rather than prompting manually. Caveats: hard to set up for non-deterministic goals and expensive in tokens.

Keep exploring

Similar AI tools

Closest neighbours by meaning, not just by category.