Recipe · Build apps (vibe coding)
Find the limits your coding agent quietly added (token caps, retries, timeouts)
Catch new output-token caps, retry limits, timeouts and strict validation rules an agent slipped into your code before they break production.
Steps
- Paste the rule below into AGENTS.md (and CLAUDE.md or Cursor rules if you use them).
- Before merging, run: git diff main...HEAD | grep -inE "max_tokens|retries|timeout|limit"
- For each hit, check it was asked for; move real defaults into config instead of hard-coded numbers.
- Add one test with a large or slow input so a silent cap fails loudly instead of truncating.
Prompt
Replace anything in { } with your details.
## Limits rule
In every summary, list each new limit, timeout, retry cap, max_tokens value or validation rule you added or changed, with file:line and why. If you added none, write "No new limits". Expected output
Every agent summary lists new limits with file and line, and a one-line diff check catches the rest before merge.
Gotchas
- ⚠ grep only finds names; a cap can hide in a constant or a schema. Read each hit and the lines around it.
- ⚠ Source: one developer report that Codex added output-token limits, retry limits and strict field validation without saying so, and failures took days to trace. Any coding agent can do this.
Where these tools break
- The limit, from OpenAI Codex’s page: Codex shares one allowance with ChatGPT Work: on Plus and Standard Business OpenAI lists ~15–160 GPT-6.1 Sol, 5–45 GPT-6 Astra or 350–3,000 GPT-6 Luna local messages per 5 hours… (developers.openai.com, checked )
- Known problem with OpenAI Codex: Plus limit drains in minutes (, x.com)
- Watch out with OpenAI Codex: These are user reports, not our test: one user lost the Plus limit in under 20 minutes on GPT-6 Astra Medium, another spent 70% of a weekly limit on one migration. Your model and… From a recipe
- Real example with OpenAI Codex: Spent $6,671 in two weeks of extra Codex credits on top of ChatGPT Pro — plus the ~/Downloads/AGENTS.md injection warning. The catch: Public billing screenshots and security research disclosed on X (26 Oct 2026); typical developer usage on local CLI is far lower when background cloud tasks… (source dated )
Hand a GitHub issue to Claude Code and get back a tested pull request