u/0_2_Hero

▲ 183

Is Codex really getting better than Claude code?

I’ve been using codex for as long as I can remember.

I have always heard Claude code was better, so when I recently hit my limits in codex I thought why not give Claude Code a try.

I found it better on some tasks, like pure vibe coding a design with out any guidance, but in harder tasks like migrating a SQL database it didn’t do what codex could.

Of course in the codex sub everyone is blanket agreeing with me that codex is better, so I thought I would ask here.

In your experience, is Claude better at coding? Is the whole recent “Codex is better than Claude” just huge marketing push from OpenAI?

reddit.com
u/0_2_Hero — 1 day ago
▲ 564

Claude code is not on the same level as Codex

I hit my weekly limit using codex, so I thought $20 for a Claude sub why not?

I created a detailed build plan just like I do with codex, I set it to work in a worktree.

I did my normal /project-context-bootstrap skill to it could understand the repo and hit go.

It added 600 lines of code, not a problem. Wrote all the migration scripts and schema tables. (I was migrating a db)

Then before finishing the turn it realized whoops I’m in main, not the worktree, so it deleted all the code it just wrote. Then wrote it all again in the worktree.

After about 20 mins it finished. It said it verified everything works.

The result was that nothing worked, none of the migration scripts could run without error.

On top of that it ate up 40% of my usage in that one turn.

I went back and forth with Claude about 10 more turns, it couldn’t figure out the problem.

So I decided to review it myself, and the problem was that basic env variables were not moved over into the worktree. For some reason, it couldn’t figure this out.

I have been doing these migration scripts all week with codex, and it was one shotting them with no problem. To test things out I gave the same build plan to codex, and once again it one shotted it.

Why does everyone using Claude say it’s better? Have they just not used codex?

P.S - Codex devs, please give us a mobile app so I can code from my phone! 🙏🙏🙏

reddit.com
u/0_2_Hero — 5 days ago
▲ 380

I cut Codex token usage ~50% with one AGENTS.md rule

The problem: when researching files, Codex often pulled thousands of lines of unrelated code into context.

That polluted the context window, made the model worse at the actual task, and caused me to hit usage limits much faster.

Codex and other LLM coding agents use shell commands to inspect files. They often try to protect context with line limits, but line limits are not safe.

A simple command like:

head -n 20

can still blow up your context if the output is one giant line.

I hit this with a 5MB+ SQLite file that had no newline.

The fix: byte-cap unknown command output, I added to my AGENTS.md(short version):

## Command Output

Protect context usage. **Any command with unknown or potentially large output must be byte-capped.**

Default pattern:

```bash
COMMAND 2>&1 | head -c 4000
```

Another big saving was not to run tests, type checks, and full validation suites after every single task, I added a rule about when to run validations.

I did a few Evals on this prompt on tasks like discover, web development, and tasks like "understand this repo before we get started", and the context saving is around 50%, sometimes more, sometimes less.

I put the full AGENTS.md context engineering prompt that I use when coding in a repo, including rules for command output, using subagents, reducing complexity, and validation rules.

I also changed my system prompt in codex, using a slightly modified version of GPT5s base prompt but stripped unrelated things like coding video games, and web design instructions(it sucks at web design), you can view that here: AGENTS.md patterns for coding agents

u/0_2_Hero — 7 days ago
▲ 110

After building a lot of marketing websites and reviewing conversion data, I’ve become less convinced that “beautiful” websites are what actually drive leads.

Visual design matters, but I’ve seen the highest-performing sites usually have a few boring traits:

- Clear headline

- Obvious CTA

- **Familiar page structure**

- Minimal animation

- Clear service/location targeting

- No clever navigation

- Real photos, reviews, and proof close to the CTA

The sites that look impressive in a portfolio often add friction for real users. Visitors usually are not studying the design. They are trying to answer basic questions:

Can this company do what I need?

Do they serve my area?

Can I trust them?

How do I contact them?

My current view: the best local business websites are simple, fast, familiar, and specific. “Simple” does not mean cheap-looking. It means the user never has to think about what to do next.

Here’s an example of a “simple” design for a general contractor and home remodeling company in Bellevue, Washington: https://www.thewalldoctor.com

u/0_2_Hero — 17 days ago