Saltar al contenido
Skillpedia
Agentes15 mil · #11009

ralph-loop-help

Qué hace

La skill explica cómo funciona el Ralph Loop y cómo usarlo. Está pensada para personas que no conocen los bucles repetidos de agentes y quieren ejemplos sencillos.

Cuándo usarla

  • ✓Cuando preguntas qué es el Ralph Loop o cómo funciona.
  • ✓Cuando quieres un ejemplo de cómo iniciar un Ralph Loop.
  • ✓Cuando necesitas conocer las opciones de límite de iteraciones o de frases de finalización.

Link de la skill

https://github.com/cursor/plugins/blob/main/ralph-loop/skills/ralph-loop-help/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/cursor/plugins/blob/main/ralph-loop/skills/ralph-loop-help/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Qué es un Ralph Loop y cómo lo inicio con un máximo de veinte rondas?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente explica que el mismo prompt se vuelve a introducir una y otra vez, y que ve su propio trabajo anterior en los archivos. Muestra las opciones y cómo detener el bucle.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Ralph Loop Help

Trigger

The user asks what Ralph Loop is, how it works, or needs usage guidance.

What to Explain

What is Ralph Loop?

Ralph Loop implements the Ralph Wiggum technique — an iterative development methodology based on continuous AI loops, pioneered by Geoffrey Huntley.

Core concept: the same prompt is fed to the agent repeatedly. The "self-referential" aspect comes from the agent seeing its own previous work in the files and git history, not from feeding output back as input.

Each iteration:

  1. The agent receives the SAME prompt
  2. Works on the task, modifying files
  3. Tries to exit
  4. Stop hook intercepts and feeds the same prompt again
  5. The agent sees its previous work in the files
  6. Iteratively improves until completion

Starting a Ralph Loop

Tell the agent your task along with options:

Start a ralph loop: "Build a REST API for todos" --max-iterations 20 --completion-promise "COMPLETE"

Options:

  • --max-iterations N — max iterations before auto-stop
  • --completion-promise "TEXT" — phrase to signal completion

How it works:

  1. Creates .cursor/ralph/scratchpad.md state file
  2. Agent works on the task
  3. Stop hook intercepts exit and feeds the same prompt back
  4. Agent sees its previous work and iterates
  5. Continues until promise detected or max iterations reached

Cancelling a Ralph Loop

Ask the agent to cancel the ralph loop. It will remove the state file and report the iteration count.

Completion Promises

To signal completion, the agent outputs a <promise> tag:

<promise>TASK COMPLETE</promise>

The stop hook looks for this specific tag. Without it (or --max-iterations), Ralph runs indefinitely.

When to Use Ralph

Good for:

  • Well-defined tasks with clear success criteria
  • Tasks requiring iteration and refinement
  • Iterative development with self-correction
  • Greenfield projects

Not good for:

  • Tasks requiring human judgment or design decisions
  • One-shot operations
  • Tasks with unclear success criteria

Learn More

Output

Present the above information clearly to the user, tailored to their specific question.

Preguntas frecuentes

¿Qué hace la opción de iteraciones máximas?

Fija un límite de cuántas rondas ejecuta el bucle antes de detenerse por sí mismo.

¿Qué es una frase de finalización?

Una frase que el agente usa para indicar que la tarea ha terminado, lo que pone fin al bucle.

¿Quién creó la técnica?

La skill atribuye su creación a Geoffrey Huntley como pionero.

Detalles

Descripción original del autor

Explain the Ralph Loop plugin, how it works, and available skills. Use when the user asks for help with ralph loop, wants to understand the technique, or needs usage examples.

repo: cursor/plugins

Popularidad

Estrellas en GitHub
15 mil
Posición en el ranking
#11009
Licencia
—
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas