I Ran Claude Code and Codex Head-to-Head, Then Had a Third AI Blind-Judge the Results
Aug 2026 · AI & BuildingOn 2026-07-04 I ran a bake-off on my own work. The task was to add inline SVG diagrams to eight of my blog posts, following a written spec that already lived in this repo (tools/INLINE_GRAPHICS.md). Four posts went to Claude Code: sonnet subagents (the mid-tier model that did the drawing) with a top-tier controller session running QA. Four went to Codex CLI, which I prompted directly and which checked its own work. Then I had a third AI score all eight against the spec's own rubric, so I wasn't relying on either agent's report or my own gut. That judge was a blind opus (top-tier) subagent that never saw which post came from which stack.
Quick answer: it was a statistical tie. Claude scored 76 out of 80 and Codex 75 out of 80, across four posts and four scoring criteria each. Since the scores tied, how each tool worked mattered much more. Claude's controller setup gave me checked QA (screenshots, a scripted audit, live curl checks) plus a fix for an unrelated site bug it happened to find. Codex stuck to the task and needed less of my attention once I'd prompted it.
The Setup: One Spec, Two Agents, Blind Scoring
I wrote the spec, tools/INLINE_GRAPHICS.md, before the bake-off. An earlier audit had found that all 34 posts on this site had exactly one image (the hero), and six ran 1,900–3,100 words of unbroken text. The spec sets the format (inline SVG in a <figure>, no build step), the palette, minimum text sizes, and a QA checklist. Any agent, Claude or Codex, should be able to pick a post off the work table and convert it without more instructions.
I split eight posts across the two stacks. Claude got four longer posts (2.5k–3.1k words): three conceptual pieces plus one how-to (the OBS Mac screen-recording post), run as sonnet subagents with a controller doing QA. Codex got four shorter posts (1.6k–1.9k words): governance, MDM, an OBS how-to and the RFP-TCO piece. I ran those through Codex CLI, prompting it myself, and Codex reported on its own QA. Claude made 19 figures across its four posts; Codex made 12.
The Blind Judge and the Score
The judge was a fresh opus subagent. It got the spec and the HTML and SVG markup of all eight posts. It scored each post 1–5 on four criteria taken from the spec's own Why / Format / Visual-grammar sections: claim fidelity (does the diagram show the section's main argument, or is it decoration), placement (does it sit where the claim lands), caption quality (does the caption add a takeaway or just repeat the heading), and composition (palette, density, legibility from the markup).
Totals: Claude 76/80 (average 19.0 per post), Codex 75/80 (average 18.75). That's a one-point gap on an 80-point scale, or 0.25 per post. It's a statistical tie, and I wouldn't make a decision on it alone.
Each criterion below adds up four per-post scores of 1–5, so the most a stack can get on one criterion is 20.
What the Score Doesn't Show
A scripted spec audit (separate from the opus judge) found both stacks 100% clean on captions, role="img", aria-labels, minimum font sizes, palette, no adjacent figures, and zero phone overflow. So both followed the spec. The difference was in how each stack got to a clean result, and how much of my attention that took.
The score also hid two other things. First, Codex deleted an existing HTML widget on the RFP-TCO post and replaced it with its own SVG diagram, which breaks the spec's insert-only rule. I can see why it did it, since keeping both would have shown the same thing twice, and that post still scored 20/20, tied for the top score with Claude's local-LLM setup post. Second, the judge caught a duplicate neither stack could have known about. Both OBS how-to posts, Claude's Mac screen-recording post and Codex's audio-routing post, were converted separately and ended up with nearly the same BlackHole audio-routing diagram. Neither agent could see the other's work, so this one comes from running conversions in parallel without a shared list of diagrams.
So Which Tool for Which Job
With the scores tied, I looked at how each tool worked. Codex needed less of my attention per post once I'd prompted it, and it stuck to the task without going after nearby problems. Claude's controller setup took more of my attention up front, but it checked its own work. It backed up its QA claims with screenshots and a scripted audit, found and fixed a bug outside the task, and took the work all the way to a live deploy confirmed with curl.
The Method Matters More Than the Winner
A one-point gap on four posts per stack, with a Claude-family judge and a Claude-written spec, isn't a result I'd bet on either way. These are the steps I'd reuse.
-
Write the spec first. Put it in the repo before any agent touches the task: format, constraints, and a QA checklist an agent can follow without asking you questions.
-
Run similar work through both agents. Same spec, same rubric. Log which posts went to which agent, and say so if the split was uneven.
-
Let each agent check its own work, but verify at least one yourself. An agent saying it checked its work means nothing until you look at the output.
-
Score blind. The judge shouldn't see git history, authorship, or which model shipped what.
-
Score against the spec's own criteria. I took mine from the spec's Why / Format / Visual-grammar sections.
-
Disclose bias in the writeup. Who wrote the spec, who ran the judge, and how big the sample was.
-
Write the counter-case before you publish the number. Say what would make the result wrong, near the top of the page where people will see it.
-
Decide who does what from how each agent worked. The tie told me almost nothing. The QA pattern, how each stuck to scope, and how each handled deploy told me what to send where next time.
Building your own agent bake-offs?
I run a free community for people building data and AI pipelines: warehouse modeling, analytics, and AI-assisted workflows. We share what we're building.
Join the free AI community →Frequently Asked Questions
Related reading: Multi-Model Verification: Catching LLM Hallucinations in Enterprise Reports covers the same habit of checking work with a second model, which is why the blind judge was worth running. Codex Goal Mode Took My Funnel App to Launch-Ready is an earlier, deeper look at Codex working with more independence on a single codebase. For the hardware side of running AI locally, see Blendlogic Tech.
What would make this wrong
- Only 4 posts per stack, not randomized. Claude's sample leaned toward longer, more conceptual posts (with one how-to mixed in); Codex's leaned shorter. The spec's per-post figure targets also changed with post length. A one-point gap on a sample this small and uneven could hide a gap in either direction.
- Home-field bias. Claude wrote the spec, the rubric, and the reference examples. Codex played on someone else's rubric and still tied, which may flatter Claude more than it seems.
- The judge is a Claude-family model (opus). It didn't know which stack made which post, but hiding the names can't rule out a preference for its own family's style. A GPT-family re-score would be a better check.
- Single judge, single run. This was one bake-off, scored once. My own read of the eight live posts matters more than the judge's number.
Get the build notes
My AI experiments: what worked, what didn’t, and how I set them up. Sent to your inbox.
No spam, unsubscribe anytime · Privacy
You're in. Check your inbox for a welcome note.