Run Codex with low-touch planning and port reservation
A commenter has Codex execute mostly on its own with human planning and review, including a portbroker that reserves and injects a port.
Done withCodex
- What they did
- The commenter describes a split workflow: ChatGPT handled planning, strategy, versioning discipline, and writing the next prompt, while Codex did the implementation, with outputs manually copied back and forth between the two in extended-thinking chats. In a similar setup, another commenter added a small tool called portbroker so an agent could reserve a free port, log it, and inject it into $PORT automatically, reducing manual environment handling during parallel runs.
- How it went
- They say this cut down prompt drift and made multi-agent or parallel local development more stable and predictable. The main drawback mentioned is that the handoff is still manual, with long threads causing slowdown and occasional need to start fresh sessions.
- Worth knowing
- The practical catch is the copy-paste loop between ChatGPT and Codex, plus needing to reset when threads get "sludge" from growing too long.
Try it yourself with Codex
I've written a plan for [task] in [repo path]: [paste or point to plan file]. Carry it out mostly on your own, and before starting any dev server or test that needs a network port, pick a free port, reserve it, and pass it in through [env var or config setting] so it doesn't clash with other running jobs. When done, summarize what you changed and which checks passed so I can review, and ask me before pushing or deleting anything.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Undated
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Handle family errands and recipe sorting with Codex
A communications professional had Codex email her son's doctor for a refill and sort 240 recipes down to 62 family-fit ones into an index, spreadsheet and Drive folder.
Build and publish a BaZi chart reading agent
Built solo with coding agents, an agent computes BaZi charts, interprets them, detects language and takes on-chain payments for readings.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Investigate broken builds and merge fixes
OpenAI's internal OpenClaw agent Androidclaw uses Git, GitHub and logs to investigate broken builds, trace problems to incidents, and sometimes prepare and merge fixes.
Build a WordPress marketing site from Figma overnight
bnistordev connected Devin to a Figma file via MCP and had it build an entire WordPress marketing site overnight.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.