Official Ralph Wiggum plugin (Anthropic)
Anthropic's first-party take on the Ralph loop: a Claude Code plugin that runs the iterate-fresh-context pattern with a managed stop and iteration mechanism built in.
Implementation note
When to use: you want Ralph-style fresh-context iteration but would rather not hand-roll a bash while-loop and its stop logic — this is Anthropic's first-party packaging of the pattern. How it works: install the ralph-wiggum plugin from the anthropics/claude-code repo; it wraps the iterate-with-fresh-context loop inside Claude Code with a managed stop and iteration mechanism built in, so starting, bounding, and ending the loop are handled by the plugin rather than by shell plumbing you maintain yourself. Safety: the managed stop mechanism is the main advantage over the raw bash original, which loops forever by construction — here the halt logic is part of the tool. The usual Ralph rails still apply on top: run it against a repo where commits are cheap to revert, keep the per-iteration task small, and review the accumulated commits rather than trusting a long unattended run blindly. Hardened 2026-07-27: explicit stop/cap/verification guardrails appended; regraded D→A.
Source: anthropics/claude-code ↗
More automation loops
Ship production-grade apps autonomously
Hand an idea to Claude Code; it authors specs, designs, builds, tests, secures, and ships until enterprise done or budget exhausted.
claude-progress.txt harness pattern (Anthropic)
Anthropic's first-party file-as-memory harness for long-running agents: every fresh-context session recovers state from a progress file and the git log, does one unit of work, updates the file, commits, and exits.
Complete all tasks in tasks.md
Work through your tasks.md file, completing each task until none remain or max iterations is reached.