Agentuna Agentuna
Build an agent

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.

Not tested yet. Vote for it to be next ⏱ ~5 min Updated: 2026-10-29

Jump to the prompt

Steps

  1. Paste the rule below into AGENTS.md (and CLAUDE.md or Cursor rules if you use them).
  2. Before merging, run: git diff main...HEAD | grep -inE "max_tokens|retries|timeout|limit"
  3. For each hit, check it was asked for; move real defaults into config instead of hard-coded numbers.
  4. 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.

Copy & paste
## 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 )

All notes for OpenAI Codex

Sources (1): public reports, not re-tested by us

r/ChatGPTCoding: Codex quietly added restrictions

Real examples All real examples

What people actually did with these tools or for this problem, with the source.

Build apps (vibe coding) Not tested yet

Cap Cursor on-demand spend before it surprises you

Set a monthly limit on the paid usage Cursor bills after your included usage runs out, using Cursor's own settings, so an AI agent can't run up a bill you didn't plan for.

  • Cursor

8 min · Free to start · Copy-paste prompt

Build apps (vibe coding) Not tested yet

Slow Claude Code token burn: idle compaction, resume warnings and /rate-limit-options

Cut wasted weekly and 5-hour Claude Code usage by turning on Anthropic's idle compaction, heeding the Pro/Max resume warning, starting fresh sessions instead of reprocessing a huge idle thread, and stopping unattended sessions from burning the limit after you walk away.

  • Claude Code

15 min · From $20/mo · Agent template

Build apps (vibe coding) Not tested yet

Check Claude Code's local settings file for secrets

Find whether a "Yes, and don't ask again" approval saved a command that holds a secret in .claude/settings.local.json, rotate any key first, then untrack the file and stop it being committed.

  • Claude Code

15 min · From $20/mo · Copy-paste prompt