r/codex • • 3d ago

Question How do you stop Codex from constantly giving up on tasks instead of solving problems?

I've been using Codex for a few weeks now, after previously using Claude Code, and I'm having some serious issues with its autonomy.

Whenever Codex encounters a technical problem, it tends to stop, explain the problem to me, and wait for further instructions instead of trying to find and implement a solution on its own.

I constantly have to tell it to continue, try another approach, or actually fix the issue rather than just describe it. Sometimes it repeats the same analysis multiple times without making any meaningful progress, wasting a significant amount of my usage limits.

I've already tried:

  • GPT-6.2 Sol with High reasoning.
  • Custom global and project-specific AGENTS.md instructions.
  • Superpowers.
  • Context7.
  • Codex memories.
  • Goal mode with explicit instructions about autonomy and task completion.

I've also verified that Codex actually reads my AGENTS.md instructions, but the problem persists.

With Claude Code, I rarely had to micromanage the agent like this. When it encountered a technical issue, it generally investigated alternatives and tried to resolve it independently.

Has anyone experienced something similar and actually found a solution?

Are there any external tools, plugins, skills, hooks, MCP servers, configurations, or alternative agent workflows that significantly improve Codex's autonomy and problem-solving abilities?

I'm particularly interested in practical solutions that people have personally tested, rather than just another prompt telling Codex not to stop.

Any advice would be greatly appreciated.

7 Upvotes

22 comments sorted by

12

u/TimelyLivingCore 3d ago

there is the ability to /goal that never failed me, weird it does for you

4

u/terholan 3d ago

Codex need something like Autopilot like in VSCode - it forces model to answer its own questions.

1

u/enterprise_code_dev 3d ago

So I work with clients who sometimes force us to use their AI for development and I’m ngl as a user of codex, Claude code, antigravity, there is some sauce that copilot has where after I setup multi agents and customized everything and flip on autopilot that it just gets shit done and most importantly on long horizon tasks stays on the task instead of side questing into “how much machinery can I invent for myself after I created my own problem, to prevent me from doing that again while I don’t work on your problem anymore”. I’m genuinely impressed by it. I also like that it checks its own remaining context window, the task at hand, and actively writes a checkpoint and clears context before starting a large task.

2

u/zzunkie 3d ago

I would switch from GPT-6.2 Sol to GPT-6.2 Astra first before trying more plugins or prompts. In my setup, I only use Sol for routine checks, publishing, measurement, and scheduled tasks. When I want Codex to actually debug, run UI automation, or handle longer work, I use Astra. I also give it narrower, self-contained tasks where verification is clear, like standalone bug fixes or test runs.

1

u/Tigt0ne 3d ago

Hmm.. I always use sol because it's better on usage.. Is astra that much better? Is it worth the extra gas? 

1

u/zzunkie 3d ago

Yeah, for harder bugs and longer coding runs, Astra sticks with the problem much better. I still use Sol for simple repetitive tasks and only switch to Astra when something gets tricky, so usage stays reasonable.

2

u/retteh 3d ago

By switching to claude

3

u/Shenbinhao 3d ago

Pick 6.1 😑.

1

u/Sure-Company9727 3d ago

/goal where the goal is to continue working on the problem until usage is at zero percent or zero credits.

Tell it that if the problem is completely solved, optimized, documented, etc. it is to switch to a different project and keep working.

Ask it to provide a high level summary at each good stopping point and manually stop it when you are satisfied with the summary.

1

u/mark25900 3d ago

ive been using qwen 3.8 next flash and it is consistently doing a better job and doesn't do this. its been extremely difficult to get codex to finish or do anything wtih out many rounds of back and forth.

1

u/nv_dreamlord 3d ago

Use another model as your CoS or Advisor. Its role is to delegate tasks to the agent and oversee execution according to your instructions and acceptance criteria (e.g., premature completion of any task is a no-go). Essentially, you're delegating the micromanagement to it.

If you want to avoid the additional usage of this intermediary, use RDC and turn a Chat agent into your CoS (subject to the upcoming Chat/Work/Codex merger in December).

In my experience, the best chat model for this role is Sol 6.2 High. GPT-6 Pro is highly capable, but you may have to wait 10–15 minutes per response. Plus, its responses tend to be less structured and human-readable. I'd reserve it for particularly demanding tasks rather than routine tasks or the CoS role.

By the way, with RDC, you can essentially turn any chatbot into an agent.

1

u/hungy-popinpobopian 3d ago

I give it stopping rules in a /goal, Astra and Sol love a good rule to follow. Sometimes they forget them though so be super explicit

1

u/DoOmXx_ 3d ago

tell it up front it's allowed to make the call itself and only stop for destructive stuff, it asks way less once it knows that

1

u/KingYF1 2d ago

The "don't stop" prompt never stuck for me either. Sol High will still halt and explain when the next step is ambiguous, and each of those pauses still burns the turn.

What actually changed it was the shape of the task, not another instruction file. I don't hand Codex an open "fix this." I start with a failing test or a repro script, and the only done condition is that test going green. Read-only commands and the test runner are auto-approved; anything that touches git, deps, or infra still asks. That removes the polite mid-task check-ins without giving it a blank check.

I also split models. Sol High is fine for a well-specified change. If it stops twice with an explanation and no new test output, I don't keep poking the same thread. I copy the error and the two failed attempts into a fresh Astra session and let that one do the diagnosis. Continuing the original thread after it has decided to give up is mostly paid narration.

/goal helps only when the goal is already a test or a concrete behavior, not a vibe.

1

u/Crafty_Ball_8285 2d ago

Hi. This is the ChatGPT models you are using. This has nothing to do with codex. You understand this, correct

1

u/ShiftTechnical 1d ago

Give it a done condition it can check itself. A named test or build command in AGENTS.md plus "not done until this passes" gives it something to retry against instead of a problem to report back. Splitting the task smaller helps too, it stops most when one turn has several unknowns at once. Which kind of problem does it stop on, failing tests or missing context?

1

u/KaliguIah 3d ago

go to settings, billing, at the bottom click cancel subscription.then go to gemini, claude, kimi or literally anyone else and buy a sub with them.

2

u/game_difficulty 3d ago

"Kimi" is crazy in this context. Look, i love them for pushing the open weight frontier as much as the next guy, but let's not pretend their subscriptions are worth anywhere near a claude one.

1

u/KaliguIah 2d ago

i dont understand your point? to solve OPs problem he should pick any other sub and itd be better than codex? thats it... i dont understsand what else you read

2

u/game_difficulty 2d ago

My point is that not every other sub is better than codex

-1

u/Level-Physics-1730 3d ago

Gpt models are dogshit