Use an agent to patch a stubborn app bug
They pointed a coding agent at two annoying software behaviors and had it debug one and add a self-improvement feature to the other.
- What they did
- A developer aimed Codex and ChatGPT at software that was bothering them. In one case, the agent tracked down a Hyper-V vmconnect fullscreen problem after login and built a hook-based fix that did not alter Microsoft’s files. In another, they had Codex work on the Codex Electron app itself to add an MCP-driven setup with dynamic JavaScript userscripts.
- How it went
- Both changes reportedly worked, though the agent sometimes needed several rounds of nudging to improve the result. It still struggled to write documentation and reports that people could read easily.
- Tips
- This works best when you give the agent a narrow bug or missing feature and ask it to test the fix before any changes land. Make sure it pauses for your approval before anything that can’t be easily undone.
Try it yourself with Codex
I have a bug or missing feature in [app or tool name]: [describe the problem]. Inspect the code or install location at [path or repo] and find the smallest safe change or hook that would fix it. First, show me the likely cause, the patch plan, and how I can test it; then wait for my approval before editing, sending, deleting, or submitting anything. If your first attempt is off, revise it and explain what changed. When it works, include the diff and a quick rollback plan.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Claude for UI work and Codex for server tasks
A developer split interface work and backend work between Claude and Codex after other agents failed on real projects.
Run agent coding jobs in a sealed local box
A developer used Codex to run an almost fully self-contained build-and-deploy workflow on a locked-down spare machine.
Use Codex for clearly scoped multi-file refactors
A user had Codex handle defined refactors and admin work across network machines, then let it run on its own.
Run one agent across several sites and test upgrades first
A developer used OpenClaw with Claude Code and Codex to juggle about five websites and protect updates with a clone-and-test workflow.
Build an Android APK with two Codex prompts
A developer used Codex to create an Android app from scratch and package it as a working APK after only two prompts.
Set up a second agent to report on another agent's work
Use Codex as a separate monitor that checks an implementation task every 30 minutes and reports progress in plain language.