Anyone got any good result from /goal yet?

I would like to know if anyone got something where they were happy with the result.

I have deleted a couple applications even after writing individual plans and epics and sprints…

So I really need some positivity in my life. From my current experience I would say OpenAI should remove it immediatly!

I used it when doing small module tasks and achieved my expected results

And you needed /goal for it?

There were some cases where my plans were a bit longer and usual threads would stop and ask me if it wanted me to implement the next step several times.

I first ask to make a plan with checkboxes in a .md file, revise it, then ask to implement it with /goal, and it did without stopping midway.

The difference here is that it works like a memory and ticks the progress as it goes, unlike just a big prompt where it can loose the purpose on compactions.

I am doing that for months. And no. That works for very simple stuff. As soon as you need multi dim reasoning it fails.

do you have an example that you can share on what you call multi dim reasoning?

yes, the results are there, personally using more like a rails to get to the destination when a lot of docs/research is underneath. This allows to keep the agent focused on the final target.

As a bonus, you might steer it by injecting messages while it works, and it does not get lost by sida-cars you throw at it (reasonably) keeping the goal in “mind”.

Otherwise, for smaller sprints, plan + review + plan.yaml + execute session is largely enough.

agree, I usually “export” reasoning in back-and-forth research/docs first, then a session on “bring all together to a common basis + constraints” and only then /goal → build the full implementation plan + /goal implement the plan from the file X

I have had my battles with this feature for a while before getting good results.

In my opinion, it is a good example of why simply typing a command does not do justice to the complexity needed to make it work well.

Dominik Kundel from the Codex team recently wrote a helpful article explaining in more detail what is actually needed to make /goal work.

Summary

Clear, verifiable goals

Define the goal as an exit criterion, not just an initial prompt.

Use measurable targets where possible, such as percentages, parity, or performance thresholds.

You can start without /goal, brainstorm first, then let Codex set or refine the goal.

Give Codex useful guidance

Point Codex toward likely problem areas, tools, constraints, and acceptable approaches.

Without guidance, Codex may find creative solutions but also waste time.

A plan file can help Codex work from researched options.

Make progress measurable

Codex needs tools or metrics to understand whether it is getting closer.

For ambiguous tasks, create evals, visual diffs, benchmarks, or other measurement tools.

Guard against false success, such as passing tests by reducing coverage.

Use a realistic environment

Codex needs an environment close to production for meaningful results.

Deployment, latency, and performance work should use realistic flags, data, stack, and logs.

For UI or app performance, testing on the real application or device can matter.

Be careful with visual goals

“Pixel perfect” goals can cause Codex to focus on the wrong details.

Images are useful context, but should not be the only completion criterion.

Prefer specs, checklists, and design-system adherence as clearer success criteria.

Track long-running progress

Ask Codex to commit meaningful steps and push to a draft PR.

Use artifacts such as markdown files, HTML pages, graphs, or reports to track work.

Use side chats or separate status checks to inspect progress without interrupting the goal.

Clean up before finalizing

Review the work after the goal is reached, especially for optimization tasks.

Codex may leave behind failed attempts or unnecessary changes.

Use /review or a deeper reflection pass before handing results to others.

For me, a goal should not be started if codex was not given at least 1 file in a dedicated folder (current workspace).

The file has to have clear target, background of why, adjacent values to preserve, guidelines, clear executable plan, definition of done, tests coverage plan, tests results location, related docs pointer, decision framework, escalation framework, source docs or associated research.

So realistically the goal needs the whole folder with most of the above ready and ideally a start.md with goal prompt.

Then launching a goal is

/goal c://*/start.md (or plan.md) can you start please?

The folder is done by plan research + do research + evaluate options and provide recommendations + plan + improve plan by resolving gotchas + final plan ready to implement

Yes, evals+tests are the most important things, and also what takes the longest.

Often a good spec takes me longer to write than codex spends implementing it… :sweat_smile:

The least enjoyable experience is writing a spec that appears to include everything needed for a long-running goal, only for the model to find a shortcut and exploit it.

These days, I try to run a test pass first (smoke test anyone?) to catch and fix these issues before committing to the full run.

Yes like X10 or more… But then you have something that actually works and IS MAINTAINABLE without extra headache.

So I prefer do research (most of the time reusable artefacts) and write specs + implementation plans, no matter how long it takes because it is cheaper in the long run than code now and hang yourself later.

Sure we are not talking about micro projects, where codex is totally capable to deliver on a small prompt.

good things takes time to design and build :slight_smile:

When I say I write specs, I mean I ask codex/chat questions in a “magic” sequence and suddenly the specs appear (as well as the rest of the docs codex needs to work).

So the situation you describe is basically avoided in the first dozen of questions.

Now I’m pushing that to “research plan” - so that I need to ask a shorter sequence of questions that makes codex ask the rest of the sequence on its own as a big boy.

Right.
The ‘solution’ is to understand what actually makes a good goal and what should rather be handled by a workflow that’s looping over a long list of tickets.

You mean like goal evaluation?

For me a goal is the list of achieved (measured true) desired condition.

Mostly those are defined as opposites of the current conditions I need to be false.

Which defines a gap between current true and desired false.

So solution is the algorithm that closes the gap between current and desired conditions.

Hopefully we have LLMs that (if framed wisely) can define and detail the conditions AND in case of software do the job to revert their state.

Practically: be specific describing your problem and current state, then ask codex to define the desired state even more specifically and convert that to a plan, then execute.

Long to start but fast to get there

For me codex calls those “spikes”, throw away code to confirm something is doable in principle. Those get defined automatically if the research phase does not find evidences of a working approach and sprint is expensive, or when performance/security is involved and codex cannot find docs on how to implement that properly, or is sure it will not work but I keep “c’mon you can” :joy:

Those surface as early things to do before planning the rest.

Good question. What I mean is if the answer is already known, at least in my mind, then a /goal is not the right tool but a repeated workflow based on a spec.

If the final answer is somewhat unclear and needs research and trial and error then a goal can work very well.

Otherwise, one risks of giving up control over the implementation for no good reason.

Exactly. Have you tried to split what you call “goal” in 4 phases?

  1. Search docs, related solutions, how similar problems get solved in general and/or adjacent areas: (plan research, findings evaluation criteria, deliverable format, execute research, check deliverable docs).
  2. Evaluate found context under current architecture requirements, suggest options with decision framework, evaluate options critically, provide recommendations with rationale and tradeoffs.
  3. Review recommendations and pan the implementation; review the plan for missing items, underestimated complexity, contradictions, weak logical orchestration, gotchas, and potential optimization; do additional quick research if needed; update the plan so that an agent in new session can implement it without additional context.
  4. /Goal implement the plan X

Each phase is a goal, then you chain. Agent needs good web search/url read tools, codebase access tools and clear instructions + best practices.

Most of human work is on goal 1 planning, then it’s just a workflow of more or less same short prompts as output from previous step is input to the next step (that’s why I prefer give it a dedicated “workspace folder” as the whole thing becomes self contained and all files are tracked)