Best Codex use cases for coding
14 real setups where the source names Codex for coding, most-discussed first. Each one credits the person who did it and links the source.
Codex appears in 14 of the 39 coding use cases on agentsetups, and in 69 use cases overall.
Most-discussed: Plan with Claude Code, execute with Codex via MCP by Louis-François Bouchard; Replace a pro app subscription with your own build by /u/AsejereDaDeje; Have Codex build a drop-in renderer to fix perf by Simon.
Quick start (from Plan with Claude Code, execute with Codex via MCP by Louis-François Bouchard):
- Use Claude Code as the planner. It sends execution to Codex only through the Codex MCP, which Claude manages.
- Run the agents in dedicated environments so they keep working when your laptop is closed.
- Keep notes and skills in Obsidian so you can switch tools and devices.
+2 more steps in the copyable prompt.
Last updated · based on 336 use cases on agentsetups, each credited to its author.
All 14 Codex coding use cases
- Plan with Claude Code, execute with Codex via MCP
Claude Code plans and reviews, Codex executes through the Codex MCP, and notes and skills live in Obsidian.
- Use Claude Code as the planner. It sends execution to Codex only through the Codex MCP, which Claude manages.
- Run the agents in dedicated environments so they keep working when your laptop is closed.
- Keep notes and skills in Obsidian so you can switch tools and devices.
+2 more steps in the copyable prompt.
Claude, Codex, Cursor, OpenCode, Antigravity, Command Code · Coding · by Louis-François Bouchard (X post, 17 Sep 2026) · source
- Replace a pro app subscription with your own build
A Codex-built Photoshop alternative reached 20k users after $2,000+ of tokens, driven by user feedback.
- Start with the core features you use.
- Feed user feedback from every channel back into the agent.
- Keep iterating feature parity.
Codex · Coding · by /u/AsejereDaDeje (Reddit, 24 Sep 2026) · source
- Have Codex build a drop-in renderer to fix perf
A Three.js family Halloween project had load and frame-spike issues; Codex built a new renderer as a drop-in.
- Design the new renderer yourself.
- Ask Codex to build it as a drop-in replacement for the existing one.
- Let it work while you do something else.
Codex · Coding · by Simon (X post, 23 Sep 2026) · source
- Build paid web apps with an Opus front end and Codex
The founder’s playbook behind $100K MRR: one-shot a baseline, name the stack, use a quality reference per feature, self-score.
- Find ideas in tools you use every day: what is missing in Codex, Cursor or Figma?
- Use Opus 5.5 for the front end and Codex for the harness.
- One-shot a baseline, then break the work into parts.
+5 more steps in the copyable prompt.
Claude, Codex · Coding · by Meng To (X post, 7 Oct 2026) · source
- Get 2–20x faster Rust by iterating “make it faster”
Max Woolf’s guarded loop: ask agents to make Rust (PyO3) code faster, forbid unsafe, benchmark each step.
- Pick a target (e.g. reimplementing ML algorithms in Rust with PyO3 bindings).
- Set guardrails: forbid unsafe code whenever possible; keep correctness tests.
- Ask the agent repeatedly to make the code faster, benchmarking every iteration.
+1 more step in the copyable prompt.
Claude, Codex · Coding · by Max Woolf (blog, 22 Sep 2026) · source
- Gate “done” claims behind a real test run
One dev found 69% of “done” claims false, another 35% of “tests pass” claims; both re-run checks before the agent may stop.
- Measure first: scan your local transcripts for “done” / “tests pass” claims and check them.
- Add a Stop hook (Claude Code, Codex CLI and others have one) that runs checks when the agent claims completion: fast checks always, the full suite only when the claim warrants it.
- Watch for green-without-fix: skipped or deleted tests, weakened assertions.
+1 more step in the copyable prompt.
Claude, Codex, Cursor, Gemini CLI · Coding · by Raimondas Lencevicius (DEV post, 21 Sep 2026) · source
- Build a Mac utility with Figma MCP and Codex
An afternoon mp3 renamer: add covers, sanitise and format metadata, rename files. Built with the Figma MCP and Codex.
- Design the UI in Figma and expose it via the Figma MCP.
- Have Codex build the Mac app: add covers, sanitise and format metadata, rename files to your format.
Codex · Coding · by Tom Lowry (X post, 21 Sep 2026) · source
- Replace a newly paid SaaS with your own build
When OneSignal’s pricing went to ~$100/month for him, a builder and Codex built their own push-notification service.
- Ask Codex to assess what you actually use from the service.
- Build your own replacement for that subset.
Codex · Coding · by Runemir (X post, 4 Oct 2026) · source
- Ship 40 PRs a day with a chief-of-staff agent team
A ChiefOfStaff, per-project PMs and a CodeMaster that prompts claude -p / codex CLIs on a VM, looping PRs to green.
- Talk only to a ChiefOfStaff agent, which works all the other bots.
- Give each project a PM agent that understands it in depth.
- PMs send requests to a “CodeMaster” that writes prompts for claude -p and codex CLI, and runs them only on a VM.
+1 more step in the copyable prompt.
Claude, Codex, Grok Bot · Coding · by Gabe Fletcher (X post, 9 Sep 2026) · source
- Benchmark models by building one feature in your repo
Same contract, isolated envs: 47 hidden tests, 4 contract mutations and a binary check. Opus killed 4/4 mutants at 100× the cost.
- Pick a real mid-size slice of your project and write the contract.
- Have each model build it in isolated environments (Claude Code and Codex).
- Before looking at any build, write hidden tests from the contract alone (47 here).
+3 more steps in the copyable prompt.
Claude, Codex · Coding · by Damian Pala (X post, 10 Sep 2026) · source
- Build from your phone at the gym via a Mac mini
Running Claude Code and Codex on a home Mac mini from his phone, he built video-editing software during a 45-minute workout.
- Run Claude Code and Codex on a Mac mini at home.
- Control them from your phone during the workout.
- Fix bugs, then update your clip-analysis “brain” (here with Astra: slop, inconsistencies, pacing, attention score).
Claude, Codex · Coding · by darin stewart (X post, 10 Sep 2026) · source
- Watch all your coding agents in one pixel-art dungeon
Each Claude Code, Codex, Kiro or Gemini CLI session is a hero in its project’s room; click to see the console and answer prompts.
- Run your agents through Herdr so the app can listen to their events (or use the read-only fallback).
- Give each project a room and each harness its own hero.
- Click a room to see the live console, answer a prompt or permission request, or stop the agent.
+1 more step in the copyable prompt.
Claude, Codex, Kiro, Gemini CLI · Coding · by /u/NachoV125 (Reddit, 13 Oct 2026) · source
- Route by task type and make each agent review the other
Route by task type and make each agent review the other
- Install and sign in to both tools: The author's video covers install and sign-in (01:05–02:27).
- Classify each task by type, first match wins: Review, locale text, audits, research, English prose, broken, mechanical edit, feature, script, data.
- Map types to tool and model: Audits/research/content → Claude Code; bugs/features/scripts/data → Codex; lighter models for lighter jobs.
+4 more steps in the copyable prompt.
Claude, Codex, Cursor · Coding · by Mike Holp (blog, 11 Oct 2026) · source
- Let a laptop control coding agents that run on a home PC
Long jobs keep running on the PC after the laptop is closed; you verify and merge next morning (self-reported).
- Run Docker inside WSL2 Ubuntu, with limits: Not Docker Desktop; every container gets memory and CPU limits; add a Windows-side keepalive.
- Connect devices with Tailscale; browser tools via Cloudflare Tunnel + Access: No open router ports.
- Run the Herdr server on the PC, client on the laptop: Each task gets its own pane, usually in its own git worktree; panes survive closing the lid.
+4 more steps in the copyable prompt.
Claude, Codex, Pi, OpenCode, Hermes Agent · Coding · by Nadim Tuhin (blog, 1 Sep 2026) · source
Questions people ask
What is Codex used for in coding?
Real examples from the sources: Plan with Claude Code, execute with Codex via MCP (by Louis-François Bouchard); Replace a pro app subscription with your own build (by /u/AsejereDaDeje); Have Codex build a drop-in renderer to fix perf (by Simon); Build paid web apps with an Opus front end and Codex (by Meng To); Get 2–20x faster Rust by iterating “make it faster” (by Max Woolf).
How do I set up Codex for coding?
Copy a setup that already worked. Plan with Claude Code, execute with Codex via MCP by Louis-François Bouchard: 1) Use Claude Code as the planner. It sends execution to Codex only through the Codex MCP, which Claude manages. 2) Run the agents in dedicated environments so they keep working when your laptop is closed. 3) Keep notes and skills in Obsidian so you can switch tools and devices. The use-case page has the full prompt to paste into Codex.
Codex vs Claude for coding: which should I use?
agentsetups compares what people did, not which is better. In coding, Codex has 14 use cases and Claude has 24; 10 name both. See Claude vs Codex for coding.