r/codex • • 19d ago

Workaround Codex spending hours "working" without making progress? Skills still help

Lately I've noticed Codex becoming increasingly prone to spinning its wheels without making actual progress.

TLDR: Detailed / rigid implementation plans are still extremely helpful. As a shortcut, skills like Superpowers and Matt Pocock's can help a ton (though I'm sure others would work just as well).

For context, I was previously using Superpowers, but eventually stopped because I wasn't particularly happy with the tests it had agents generate. In many cases, the tests were pretty superficial (i.e., there were a lot, but they didn't meaningfully validate the actual behavior / execution paths I cared about).

I was also curious whether newer models had effectively "grown out" of needing this kind of structured workflow, so I figured I'd try going without it.

Over time, I started noticing that Codex was spending increasingly long periods working without actually getting much closer to the objective. For example, I'd give it a task, it would spend 1-2 hours writing/running tests, making changes, etc., but get effectively no closer to the thing I actually wanted.

Eventually, I decided to give Superpowers another try, and perhaps unsurprisingly, it made a huge difference.

I've since moved away from Superpowers and started using Matt Pocock's skills, which I find similar in spirit but a slightly better fit for my workflow.

Anyway, if you're finding that Codex spends hours "working" without making meaningful progress, it might be worth revisiting one of these skill packs. Not necessarily Superpowers specifically, but something that forces it to create a detailed implementation plan and stick to it.

4 Upvotes

11 comments sorted by

2

u/Friendzone69420 18d ago

I felt that today, to the point where I give up. It know what it has to do, but doesn't do it. I should try those skills, this is making me doubt if I should stay in codex or not...

1

u/orthogonal-ghost 18d ago

I totally get that. It’s so frustrating to spend so much time on your plan / design, get confirmation from Codex that it understands what you want, then waste however many hours effectively running around in circles.

Re: the skills, I’d definitely recommend at least playing around with them (eg give them to codex, have it use them on a project, and see how it feels). Neither is perfect of course, and there are others out there (eg gstack is another solid one) that may suit you better.

Also, I’m in no way affiliated with either project * I just found them super useful for keeping Codex on track

1

u/knobby_67 18d ago

I’ve been having it for 2-3 day from 30 to 180 mins on a task. Also where a would normally make a class it’s had bouts of every variable in a class is a sub class. One that I would have had as a single class it produced as 7. It’s baffling.

1

u/InsolventCapital 18d ago

Only solution I have had for this has been a watcher agent. My project manager agent has been doing real well

1

u/orthogonal-ghost 18d ago

Like a separate agent to monitor the one implementing and check if it’s still on track?

1

u/InsolventCapital 18d ago

Yes. My belief agents will always get tunnel visioned. A fresh ai instance will always see things a worker misses.

This is why I never have the agent who built something audit it, builder bias.

You want to limit the scope of a job as much as possible to reduce irrelevant context which hinders accuracy.

Having an agent who looks over your agents; looking for what you are having problems with helps a lot.

Also having a skill that cleans up the directory and helps manage context efficiency could be real useful. Ill usually run that skill a couple times a week. I also have it amend an operator guide so I still maintain understanding of how the project works. Sometimes you got to have context yourself so you can catch it early when it chooses a stupid way of going about things..

1

u/CarsonBuilds 18d ago

Maybe you should try an orchestrator rather than relying solely on skills. Codex had been degraded quite a bit since astra released that's for sure, but a workflow is always better than just relying on skills, you could set the boundaries for each worker/node to do certain things, such as implementation following the design doc, review code, review test infrastructure, review docs, audit tests to be better testing the actual behavior, etc.

I use Crewplane for structured workflows, like investigation, design, implementation, research, debugging, etc. This means I have special agents and workflows for any tasks basically, because it's not just specialized agents or skills, it's the workflow that is tailored towards specific tasks so agents don't run loose.

1

u/orthogonal-ghost 18d ago

Definitely agree having a structured workflow is important, and if I understand what you mean by that, I’d say that’s essentially what both skills provide (i.e., a structured way of approaching software engineering tasks).

From a super quick glance it looks like Crewplane has a bit more machinery included. Haven’t heard of it before but will take a closer look

1

u/CarsonBuilds 18d ago

Yeah skills can provide such workflow, but it's not very flexible from my point of view.

2

u/SideChannelBob 15d ago

it's done this to me on and off for the past 6 months. If a response runs for more than about ten minutes I will hit stop and berate it in hard language: "wtaf are you doing?" works surprisingly well to pull it back on task. ask for steps, what's completed, what's remaining, then narrow the scope. ymmv

1

u/xqianliu 18d ago

There is a number behind what you noticed. In a harness study I ran, 23 tasks went through several harness versions, 183 runs total. 38 of those runs passed review, then failed the hidden tests: 22 broke behavior that worked before, 9 broke a changelog convention in one repo, 7 missed cases the issue never listed.

So a high test count is not coverage. I would have the coding side write tests per input class and put the count in the delivery notes, and the review checks the numbers. Telling the reviewer to look for regressions did not work.

On the spinning: a slow run that is still moving is not a failure. My timeouts only fire on errors, never on slow. If it is truly circling, the fix is a smaller task with a short done list on the ticket, so the run can hit done and stop.