The flaky-test hunt loop
engineering
Run [test suite] N times and collect every test whose result changes between runs. Fix the most frequent flake at its root cause (shared state, timing, ordering, or an external dependency), never with a blind sleep or retry.
Re-run the fixed test N times, then the whole suite once, and confirm the flake is gone and nothing else regressed.
Stop when N consecutive full-suite runs pass clean, or progress stalls for two rounds.
by Loops.fyi
The dependency upgrade loop
engineering
Upgrade [dependency] to [target version]. Read the changelog and migration guide first, then make the smallest set of changes needed, one package at a time.
After each change run the full build, type-check, and tests, and confirm no new failures versus the baseline you recorded first.
Stop at a green build on the target version, or when a breaking change needs a product decision.
by Loops.fyi
The two-model review loop
evaluation
Review [change] against [quality bar]. Have a model from one provider review it, verify and apply only necessary fixes, then hand the revised version to a model from a different provider.
A round only counts when the findings from each reviewer are independently verified against the actual code or spec, not taken on faith.
Stop when both models approve the same unchanged version, the round limit is hit, or they oscillate on the same disagreement.
by Loops.fyi
The claim-to-evidence loop
evaluation
List every factual claim [artifact] makes. For each, find primary-source evidence and label it proven, weak, or unsupported.
Re-verify each weak or unsupported claim against a second independent source before changing anything.
Stop when no unsupported high-risk claim remains, or return the rest as needing a human decision.
by Loops.fyi
The queue triage loop
operations
For [inbox or queue], process one item at a time: classify it, take the single highest-value action allowed within your permissions, and log a one-line note.
Before closing an item confirm the action actually completed (reply sent, ticket moved, task created), not just attempted.
Stop when every item is actioned, deferred with a reason, or blocked needing the user. Ask before anything irreversible.
by Loops.fyi
The weekly status loop
operations
On each [window], read the configured sources, update the project files, and write STATUS.md with focus, deadlines, open threads, and evidence-backed wins.
Carry every prior thread forward: prove it finished or mark it stale, never silently drop one.
Stop when the snapshot verifies. If evidence or access is missing, return a thinner snapshot and flag what is blocked.
by Loops.fyi
The doc-drift loop
content
Compare [documentation] against the current behavior of [project]. Find the largest place the docs and the code disagree and fix the docs to match reality.
Verify each fix against the actual code path or a runnable example, not against older docs.
Stop when no high-impact mismatch remains, or a fix needs a product decision.
by Loops.fyi
The accessibility blocker loop
design
Check [scope] against WCAG 2.2 AA with automated scans plus keyboard and screen-reader passes, then fix the single highest-harm blocker.
Re-run the same checks and the affected flow, and keep the fix only if the blocker is gone and nothing regressed.
Stop when no blocker remains, progress stalls, or verification is unavailable; never silence a check to pass.
by Loops.fyi
The first-run UX loop
design
Act as a brand-new user of [product] from a clean session with no saved login or data, complete onboarding using only visible guidance, and fix the worst obstacle with the smallest safe change.
Discard the session and retry the whole flow from scratch to confirm the fix actually helped.
Stop after one uninterrupted success, no safe fix remains, or access is blocked.
by Loops.fyi
Superpowers
Brainstorming, TDD, and subagent-driven development loops.
Jesse Vincent
Plugin
Claude Code
Ralph Loop
Official plugin; a stop-hook re-feeds your prompt until the task is done.
Anthropic
Plugin
Claude Code
Ralph Wiggum Loop
Canonical autonomous loop; fresh context each iteration to avoid context rot.
Geoffrey Huntley
Harness
Claude Code
ralph-claude-code
Ralph loop with intelligent exit detection.
Frank Bria
Harness
Claude Code
TDD Loop
Red-green-refactor loop the agent runs until tests pass.
Matt Pocock
Plugin
Claude Code
cwc-long-running-agents
Primitives for long-running agents: hooks and a subagent.
Anthropic
Harness
Claude Agent SDK
learn-claude-code
A ~30-line nano agent harness; bash is all you need.
shareAI-lab
Harness
Standalone
Hermes Agent
Self-improving CLI agent with memory and automated skill creation.
Nous Research
Harness
Standalone
Codex Goal Mode
OpenAI's built-in autonomous loop — /goal runs until the objective is met.
OpenAI
Built-in
Codex
Ralph (PRD loop)
Drives Amp or Claude Code through a PRD task list; learnings persist in AGENTS.md.
snarktank
Harness
Claude Code
ralph-loop-agent
Continuous autonomy for the Vercel AI SDK, in TypeScript.
Vercel Labs
Harness
Vercel AI SDK
ralph (minimal)
Minimal file-based loop: fresh context, one story per iteration.
iannuttall
Harness
Claude Code
ralph-loop (sandboxed)
Long-running loops in parallel Docker sandboxes.
PageAI
Harness
Claude Code
The Ralph Playbook
The principles behind Ralph: context, backpressure, oversight.
Clayton Farr
Config
Any
Awesome Ralph
Curated index of Ralph implementations and writing.
snwfdhmp
Config
Any
autoresearch
Karpathy's autonomous research loop, released March 2026: give an agent one editable file, a frozen evaluator, and a scalar metric, and it runs a keep-or-revert experiment loop overnight, keeping only changes that beat the best result. The pattern has spread to prompt optimization, kernel tuning, and build-time reduction.
Andrej Karpathy
Harness
Any
Claude Code /loop
Claude Code's native scheduler loop (March 2026): describe a task and cadence in plain English and Claude runs it on repeat from your terminal — deploy checks, PR review, continuous tests.
Anthropic
Built-in
Claude Code
claude-review-loop
Cross-agent review loop: Claude Code writes, Codex reviews, hooks manage the lifecycle until the review passes.
Hamel Husain
Plugin
Claude Code
Autoloop
GitHub Next's metric-driven loop: pick a program, propose a change, evaluate, keep only if the metric improves — all state in human-readable markdown on a memory branch.
GitHub Next
Harness
Any
OpenHarness
Open agent harness from HKUDS with a built-in personal agent (Ohmo) — a research-grade foundation for building your own loops.
HKUDS
Harness
Standalone
autoresearch-skill
Karpathy's autoresearch pattern packaged as an installable skill: define a goal and evaluator and let any LLM agent iterate.
wjgoarxiv
Plugin
Any
Ralph for Gemini CLI
Official Gemini CLI extension for Ralph loops: the agent iterates on a task, self-correcting over multiple turns without manual intervention.
gemini-cli-extensions
Plugin
Gemini CLI
Cowork Scheduled Tasks
Cowork's recurring-task engine is the GTM /loop: describe a workflow in plain English and it runs on a daily, weekly, or custom schedule, with file access plus CRM, email, and calendar connectors.
Anthropic
Built-in
Cowork
Cowork Sales plugin
Anthropic's official sales plugin for Cowork: /call-prep, /pipeline-review, and /forecast commands plus auto-triggering skills for account research, competitive intelligence, and outreach drafting, wired to CRM and Outreach connectors.
Anthropic
Plugin
Cowork
Cowork Finance plugin
Anthropic's official finance plugin for Cowork: analyze financials, build models, and track key metrics from your files and connectors.
Anthropic
Plugin
Cowork
Sales Skills Pack
Agent skills for sales, marketing, and GTM: CRM workflows, outbound, enrichment, note-takers, email marketing, influencer marketing, social listening, and directories.
sales-skills
Plugin
Any
SuperSEO Skills
11 SEO skills: page audits, content briefs, article writing, E-E-A-T audits, semantic gap analysis, topic clusters, and link building, with an anti-AI-slop ruleset.
InhouseSEO
Plugin
Claude Code
GitHub Agentic Workflows
GitHub's continuous-AI loops in CI/CD: scheduled agentic workflows that triage and label issues, update docs, and write reports, defined in markdown with safe outputs.
GitHub
Built-in
Any
Claude Code /goal
Claude Code's built-in goal loop: unlike /loop (a scheduler), /goal keeps the agent iterating until a verifiable condition holds — the native Ralph pattern with no bash required.
Anthropic
Built-in
Claude Code
iteratr
A long-running agent loop manager that drives OpenCode with auto-approve permissions: the agent executes, edits, and iterates without manual confirmation, supervised across iterations.
mark3labs
Harness
OpenCode
OCLoop
Loop-driven development with OpenCode: executes tasks from PLAN.md iteratively, each iteration in a fresh isolated session — Ralph-style context hygiene for OpenCode.
d3vr
Harness
OpenCode
Vibe-Trading
A trading-research agent loop from HKUDS: iteration budgets with a wrap-up nudge at 80 percent of budget and a forced final answer, applied to market analysis.
HKUDS
Harness
Any
Cowork Self-Improving Loop
Karpathy's keep-or-revert autoresearch pattern rebuilt in Claude Cowork: a measurable goal, an iteration step, and keep-only-what-improves — no terminal, no code, about 7 minutes to set up.
Karo Zieminski
Config
Cowork