A library of 42 copy-paste agent loop prompts for Cursor, Codex, and Claude Code. An agent loop is a task with a built-in check: do work, verify result, continue or stop. Some prompts are useful (“fresh-clone loop,” “devil’s advocate loop”), some are wishful thinking (“100% test coverage loop”), most land in between.
- A library of 42 copy-paste agent loop prompts, organized by category, each designed with stopping conditions.
- The collection includes useful patterns like the "fresh-clone loop" (which tests onboarding from scratch until no hidden setup assumptions remain) alongside wishful-thinking entries like the "100% test coverage loop."
- The stopping condition problem is underappreciated: most agent failures aren't capability gaps, they're agents that don't know when they're done.