ralph
यह क्या करती है
यह स्किल एजेंट को बार-बार के चक्रों में एक काम पर लगाए रखती है, जब तक यूज़र-स्टोरी की सूची पूरी और सत्यापित न हो जाए। यह उन लोगों के लिए है जो चाहते हैं कि काम सिर्फ़ शुरू न हो, बल्कि पूरा हो और जाँचा जाए।
कब इस्तेमाल करें
- ✓जब आप चाहें कि काम तब तक चलता रहे जब तक वह पूरी तरह पूरा और जाँचा न जाए।
- ✓जब किसी काम में यूज़र-स्टोरी की सूची हो और सभी को पास होना हो।
- ✓जब आप चाहें कि जाँच फ़ेल होने पर एजेंट रुकने के बजाय फिर से कोशिश करे।
Skill का लिंक
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ralph/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“लॉगिन फ़ीचर पर तब तक काम करते रहिए जब तक सूची की हर स्टोरी जाँच में पास न हो, और तैयार होने पर मुझे बताइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट स्टोरी की सूची पर काम करता है, ट्रैक करता है कि कौन-सी स्टोरी पास हुई, और हर चरण से पहले और बाद में अनिवार्य फ़ीडबैक जाँच चलाता है। असफल प्रयासों के बावजूद वह चलता रहता है और सिर्फ़ तब पूरा होता है जब हर स्टोरी सत्यापित हो।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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,
अक्सर पूछे जाने वाले सवाल
क्या एक प्रयास फ़ेल होने पर यह रुक जाती है?
नहीं। वह फ़ेल होने के फ़ीडबैक का इस्तेमाल करके तब तक फिर कोशिश करती है जब तक जाँच पास न हो।
स्टोरी की सूची क्या है?
एक संरचित फ़ाइल, जिसमें हर यूज़र-स्टोरी और उसका पास या बाकी होने का हाल लिखा होता है।
काम कौन जाँचता है?
एक समीक्षक हर स्टोरी को पास घोषित करने से पहले उसकी पुष्टि करता है।
जानकारी
लेखक का मूल विवरण
Self-referential loop until task completion with configurable verification reviewer
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #7017
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-doc-discipline
41kयह आपके एजेंट को ऐसे निर्देश लिखना सिखाती है जिन्हें दूसरे AI एजेंट बिना अतिरिक्त समझ के फ़ॉलो कर सकें।
ai-slop-cleaner
41kयह आपके एजेंट को AI से लिखे गए ऐसे कोड को साफ़ करने में मदद करती है जो चलता है पर फूला हुआ या दोहराव वाला है, बिना उसका व्यवहार बदले।
architecture-survey
41kयह आपके एजेंट को कोडबेस की संरचना देखकर उन हिस्सों की सूची बनाने में मदद करती है जिन्हें बदलना कठिन होता जा रहा है, सबूत के साथ, बिना खुद कुछ बदले।
ask-navigator
41kयह आपके एजेंट को एक धुंधले प्रोजेक्ट को साफ़ फ़ैसले वाले सवालों के नक्शे में बदलने में मदद करती है, फिर उन्हें एक-एक करके हल करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।