ralph-loop

Automate iterative refinement loops for coding tasks in Claude Code.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/vagasions/DFS --skill ralph-loop-vagasions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph-loop
Source: https://github.com/vagasions/DFS/tree/main/skills/ralph
Command: npx skills add https://github.com/vagasions/DFS --skill ralph-loop-vagasions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ralph Wiggum autonomous loops enable teams to perform iterative development within Claude Code, refining work automatically until predefined completion criteria are met.

Core Features & Use Cases

  • Self-correcting iterations that re-feed outputs and progressively improve results.
  • Context-preserving prompts and feedback that carry state across iterations.
  • Use Case: Ideal for well-defined tasks requiring multiple refinement passes, such as tuning logic, tests, or documentation until all criteria pass.

Quick Start

Provide a clear task description and let the loop run automatically until completion criteria are satisfied.

Frequently Asked Questions about ralph-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate iterative refinement inside Claude Code until tests pass?

Automated iterative refinement in Claude Code uses self-correcting loops that re-feed past outputs to progressively improve code, tests, and documentation until predefined success criteria are met.

What is an autonomous loop for software development and how does it work?

An autonomous development loop is a context-preserving mechanism that carries state across iterations, automatically refining coding outputs until measurable completion criteria are satisfied.

Can I use autonomous iterative loops for documentation verification and test tuning?

Yes, autonomous iterative loops support well-defined coding tasks requiring multiple passes, including logic tuning, test verification, and documentation refinement until all criteria pass.

Does Claude Code iterative development enforce iteration limits and safety constraints?

Claude Code iterative loops enforce explicit iteration limits, clear completion signals, and safety constraints to prevent unsafe actions or data leakage during automated refinement.

What's the best way to define measurable success criteria for self-correcting code iterations?

Provide a clear task description with explicit, measurable success criteria, and let the context-preserving loop run automatically to progressively refine outputs until completion is signaled.