The graded index of agent loops for Claude Code & Codex.
Every entry scored A–F for safety, for Claude Code and Codex. Search, grade, and generate 198 agent loops without leaving your terminal.
Not a developer? Start with Claude Intake →
https://mcp.looprepo.dev/mcpclaude mcp add --transport http looprepo https://mcp.looprepo.dev/mcp- 1. install once
- 2. search or generate in-agent
- 3. run only what passes the gate
Curated from Forward Future, GitHub, X, Hacker News & community submissions — deduped, attributed, and safety-graded.
Browse by category
All loops →Turn any Claude workflow into the right loop
Paste a read-only intake prompt into someone's Claude context, capture the evidence, then call looprepo MCP to return ranked real loops, safety checks, and a harness-ready goal for that specific use case.
Recently added
Browse all →Triage CI failures, fix regressions
Run ci-triage on failing CI, fix clear regressions in isolation, verify before push, and update state—up to 3 attempts per cluster.
Babysit open PRs, propose fixes
Every 5m, scan open PRs for CI failures or review comments; propose minimal fixes on allowlisted ones via worktree, escalating after 3 attempts.
Ship stories from the backlog
Implement one approved story from your backlog, pass all checks, and commit with the owner's identity when done.
Migrate v1Client to v2Client
Replace all v1Client calls with v2Client, verify tests pass and TypeScript compiles clean, stopping after 20 turns.
Ship user stories, one per loop
Work through incomplete stories from prd.json, implement and test each, mark passes=true when done, repeat until all stories ship.
Get the release check green
Run static checks and git diff until both pass or hit a blocker after 6 attempts.
Top loops this week
Browse all →Watch published docs for link rot against the Internet Archive
Collect external links from docs weekly, archive dead ones via Wayback Machine, open a PR with replacements and a report of unfixed links.
Ship a PR until green
Implement a change, open the PR with gh, then keep fixing CI failures until every check passes, all in one goal loop.
Get auth tests passing
Run npm test on test/auth until it exits 0, with only src/auth files modified and no test changes.
Loops that read your inbox.
Email is the missing tool in your harness. ConnectMyEmail gives Claude Code and Codex a clean MCP into Gmail, iCloud and IMAP — triage, drafts, follow-ups, on a loop.
connectmyemail.com →Hit acceptance criteria
Drive a feature to done against explicit acceptance criteria: a working paginated endpoint, passing tests, clean lint, and a hard turn cap.
Get the build green
Run the build, fix the first error, and repeat until npm run build exits 0, with a 10-turn cap.
Triage CI failures, fix clear regressions
Run every 15 minutes to classify CI failures, fix clear regressions in a worktree with verification, and escalate infrastructure or security test failures.
Every loop here carries a Safety Score
A library tells you what a loop says. looprepo tells you whether it's safe and likely to work. Each loop in the directory is graded A-F by the same default-fail evaluator that gates submissions: exit conditions, iteration budgets, verification commands, scoping, human gates. Paste any loop — yours or one you found anywhere — and get a full review — review my loop →
The only generator that ships the full harness — free
Anyone can hand you a prompt. The looprepo Builder ships the whole thing, for Claude Code or Codex: CLAUDE.md with PreToolUse safety hooks and slash commands — or AGENTS.md with a sandboxed codex-exec runner — plus a fresh-context evaluator that fails by default, handoff notes, a prd.json, stop conditions and an iteration budget. Safe loops, not runaway agents. Try it →
Every loop is graded A–F by a default-fail evaluator before it is listed.
Every entry is checked for an exit condition, an iteration budget and a verification step.
Read the prompt, the stop condition and the grade reasons before you run anything.
Curated from Forward Future, GitHub, X, Hacker News and submissions — attributed.
Run the loop. Keep the keys.
Pick a graded loop, paste it into Claude Code or Codex, and let the stop condition do its job. Or build a full harness with hooks, budgets and an evaluator — free.
Loop of the Week, by email
One email a week. One-click unsubscribe, anytime.
