ralph
Fungsinya
Skill ini membuat agent terus mengerjakan sebuah tugas dalam putaran berulang sampai daftar cerita pengguna selesai dan terverifikasi. Skill ini untuk orang yang ingin tugas diselesaikan dan diperiksa, bukan sekadar dimulai.
Kapan dipakai
- βSaat Anda ingin tugas terus berjalan sampai benar-benar selesai dan diperiksa.
- βSaat sebuah tugas punya daftar cerita pengguna yang semuanya harus lolos.
- βSaat Anda ingin agent mencoba lagi setelah pemeriksaan gagal, alih-alih berhenti.
Link skill
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ralph/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTerus kerjakan fitur login sampai setiap cerita dalam daftar lolos pemeriksaan, lalu beri tahu saya kalau sudah selesai.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengerjakan daftar cerita, melacak cerita mana yang lolos, dan menjalankan pemeriksaan umpan balik yang wajib sebelum dan sesudah setiap langkah. Agent terus melanjutkan melewati percobaan yang gagal dan hanya selesai setelah setiap cerita terverifikasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
[RALPH - ITERATION {{ITERATION}}/{{MAX}}]
Your previous attempt did not output the completion promise. Continue working on the task.
<Purpose> Ralph is a PRD-driven persistence loop that keeps working on a task until ALL user stories in prd.json have passes: true and are reviewer-verified. It combines session persistence, automatic retry on failure, structured story tracking, and mandatory verification before completion. </Purpose> <Precondition_Feedback_Gate> NON-NEGOTIABLE, runs before any story work and at every verification gate:- FIRST ITERATION, before picking a story: run
omc ralph verify --write-baseline --session <sessionId>(session id: read OMC_SESSION_ID if set βomc ralph afkexports it β else the one in the Ralph continuation context / active PRD path; use the SAME id for every call in this run). This records the feedback baseline. If the command is unavailable or denied, STOP and report the failure β do not fall back to hand-rolled judgment. - EVERY verification gate (story verification, post-deslop re-verification): run
omc ralph verify --session <sessionId>and obey the exit code β 0 = pass (baseline-only failures are recorded warnings, never a story failure), 1 = new failures to fix. - NEVER hand-roll the feedback diff (running the suite yourself and eyeballing the output is exactly the failure mode this gate exists to prevent). </Precondition_Feedback_Gate>
- Task requires guaranteed completion with verification (not just "do your best")
- User says "ralph", "don't stop", "must complete", "finish this", or "keep going until done"
- Work may span multiple iterations and needs persistence across retries
- Task benefits from structured PRD-driven execution with reviewer sign-off</Use_When>
- User wants a full autonomous pipeline from idea to code -- use
autopilotinstead - User wants to explore or plan before committing -- use
planskill instead - User wants a quick one-shot fix -- delegate directly to an executor agent
- User wants manual control over completion -- delegate directly to an executor agent
- User already has an active Claude Code
/goaland only wants that native goal loop monitored -- adopt the existing/goalexplicitly or use artifact-only Ultragoal notes instead of starting Ralph as a competing persistence loop</Do_Not_Use_When>
- Structuring work into discrete user stories with testable acceptance criteria (prd.json)
- Iterating story-by-story until each one passes
- Tracking progress and learnings across iterations (progress.txt)
- Requiring fresh reviewer verification against specific acceptance criteria before completion</Why_This_Exists>
Startup gate: Ralph always initializes and validates prd.json at startup. Legacy --no-prd text is sanitized from the prompt for backward compatibility, but it no longer bypasses PRD creation or validation.
Deslop opt-out: If {{PROMPT}} contains --no-deslop, skip the mandatory post-review deslop pass entirely. Use this only when the cleanup pass is intentionally out of scope for the run.
Reviewer selection: Pass --critic=architect, --critic=critic, or --critic=codex in the Ralph prompt to choose the completion reviewer for that run. architect remains the default.
Stale-state detection & reconciliation (#3669): If a PRD is left unfinished by an abnormal/non-Step 8 exit (crash, force-kill, cancel before /oh-my-claudecode:cancel, session end), Ralph surfaces an explicit [STALE PRD WARNING] at startup/resume, in the continuation context, and at session end β with unfinished counts, last-touched age, and stale-pointer signals (PRD branchName merged/gone). Completion is NEVER inferred from PR/branch/merge status alone; git state is a warning signal only. A story is auto-reconciled to passes: true ONLY when the PRD carries configured observable evidence and every check passes:
{
"reconciliation": {
"staleAfterMs": 7200000,
Pertanyaan umum
Apakah ia berhenti saat satu percobaan gagal?
Tidak. Agent terus mencoba lagi dengan memakai umpan balik kegagalan, sampai pemeriksaan lolos.
Apa itu daftar cerita?
File terstruktur yang mencantumkan setiap cerita pengguna dan apakah sudah lolos.
Siapa yang memeriksa pekerjaannya?
Seorang peninjau memverifikasi setiap cerita sebelum ditandai lolos.
Detail
Deskripsi asli dari pembuat
Self-referential loop until task completion with configurable verification reviewer
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #7017
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-doc-discipline
41kMengajari agent Anda menulis instruksi yang bisa diikuti agent AI lain tanpa bantuan, dengan aturan yang bisa diperiksa dan alasan yang jelas di balik setiap aturan.
ai-slop-cleaner
41kMembantu agent Anda merapikan kode yang ditulis AI, yang berfungsi tetapi membengkak atau berulang, dengan menghapus kode berlebih tanpa mengubah perilakunya.
architecture-survey
41kMembantu agent Anda meninjau struktur basis kode dan mendaftar bagian yang makin sulit diubah, dengan bukti, tanpa mengubah apa pun sendiri.
ask-navigator
41kMembantu agent Anda mengubah proyek yang masih samar menjadi peta pertanyaan keputusan yang jelas, lalu menjawabnya satu per satu sampai jalurnya terang.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.