Langsung ke konten
Skillpedia
Agen15k ยท #11009

ralph-loop-help

Fungsinya

Skill ini menjelaskan cara kerja Ralph Loop dan cara memakainya. Untuk orang yang baru mengenal loop agent yang berulang dan ingin contoh sederhana.

Kapan dipakai

  • โœ“Saat Anda bertanya apa itu Ralph Loop atau cara kerjanya.
  • โœ“Saat Anda ingin contoh cara memulai Ralph loop.
  • โœ“Saat Anda perlu tahu pilihan batas iterasi atau frasa penyelesaian.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/cursor/plugins/blob/main/ralph-loop/skills/ralph-loop-help/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œApa itu Ralph Loop dan bagaimana cara memulainya dengan batas maksimal dua puluh putaran?โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menjelaskan bahwa prompt yang sama dimasukkan kembali berulang kali, dan agent melihat pekerjaan sebelumnya di dalam file-file. Agent menunjukkan pilihan dan cara menghentikan loop.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

Pertanyaan umum

Apa fungsi opsi iterasi maksimal?

Opsi ini membatasi berapa putaran loop berjalan sebelum berhenti sendiri.

Apa itu frasa penyelesaian?

Frasa yang dipakai agent untuk menandakan bahwa tugas selesai, sehingga loop berakhir.

Siapa pencipta tekniknya?

Skill ini menyebut Geoffrey Huntley sebagai perintis teknik ini.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
15k
Peringkat
#11009
Lisensi
โ€”
Diperbarui
31/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa