Codex did it again
by Sujee (@sujee) · 2026-01-28
✓ Opened via the X API on 2026-10-15
Read the original ↗When one agent loops on a bug for hours, hand it to a different agent; this developer settled on Claude Code for features and Codex for bug fixes and review.
- Saw Codex fix a SwiftUI bug Claude Code had struggled with for hours.
- Adopted a split: features in Claude Code, bug fixes and review in Codex.
Summary written by Agent Cookbook. See the original for the full context.
Adapted by us from what the source described. Fill in the [BRACKETS].
The prompt
Set it up
- Set a rule: after 30 minutes of looping, switch agents.
- Summarize what was tried (the stuck agent can write it).
- Paste into the other agent.
Common failures
- Passing along a wrong diagnosis biases the second agent; list attempts, not conclusions.
Variations
- Ask both for hypotheses in parallel and compare.