Audit your agent history for reinvented PR-watching scripts
- Source
- x.com
- Publisher
- Theo Browne
- Date
My agents wrote over 200 bad "watch pr" scripts over the last few months. If you have a "babysit" skill for watching PRs, send the following prompt to your agent: I want you to audit my history with Claude Code, Codex and other agents on this machine. Look for every time I asked for a PR to be watched or babysat. 1. How many times was the "babysitting" logic re-invented? 2. How many of these implementations had flaws you can see? 3. Roughly how many tokens (and how much $ at API prices) was wasted on these implementations? Both building them and dealing with their shortcomings.

Context
Theo reports that coding agents wrote more than 200 bad scripts over a few months for one recurring chore: watching a pull request, the proposed code change that waits for checks and review before merging. The post's point is that asking an agent to "babysit" a pull request can mean the agent writes the watching logic from scratch each time, so flawed versions can pile up.
The post includes a for anyone with a similar babysitting to run. It asks an agent to search the user's history with Claude Code, Codex and other agents on the same machine for every request to watch a pull request, then answer three questions: how many times the logic was reinvented, how many of those versions had visible flaws, and roughly how many , and how much money at prices, went into building them and dealing with their shortcomings.
The 200 figure describes Theo's own history, and the post does not say how it was counted; an attached image was not available as text for this explanation. The value of the prompt is that it turns one failed script into a question about accumulated, repeated work, which other developers can check against their own agent logs.
- Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
- agent skill — A reusable instruction file that teaches an agent how to do one job well — the procedure, the tools, and what counts as done.
- Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
- API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.

