<< All versions
Skill v1.0.0
Automated scan1molchuan/oh-my-ccg/ralph
──Details
PublishedMarch 26, 2026 at 11:33 AM
Content Hashsha256:e3b0c44298fc1c14...
Git SHAdiscovery:87
──Files
Files (1 file, 1.4 KB)
SKILL.md1.4 KBactive
SKILL.md · 55 lines · 1.4 KB
version: "1.0.0" name: ralph description: 持久化执行-验证-修复循环,直到任务完成
oh-my-ccg Ralph Mode
"The boulder never stops." Persistent loop that keeps working until verification passes.
Activation
Trigger: "ralph", "don't stop"
Loop Structure
Start (iteration 0)│├─ Execute: Run the task (executor agent)├─ Verify: Check results (verifier agent)│ ├─ Tests pass?│ ├─ Build succeeds?│ └─ LSP clean?│├─ All pass? → COMPLETE ✅└─ Any fail? → Fix issues → Next iteration└─ Max iterations (10)? → STOP with report
Implementation Steps
- Initialize ralph state: iteration=0, maxIterations=10
- Execute the current task using executor agent
- Run verification:
npm testor equivalenttsc --noEmit- LSP diagnostics check
- If verification passes: mark complete, deactivate ralph
- If verification fails:
- Increment iteration
- Analyze failures with debugger agent
- Apply fixes
- Return to step 2
- If max iterations reached: stop, report remaining issues
State
Tracked in .oh-my-ccg/state/ralph-state.json:
- iteration, maxIterations
- lastVerification (tests, build, lsp, issues)
- active flag
Integration
- Works inside autopilot (auto-impl uses ralph per task)
- Works standalone for any execution task
- Stop hook prevents Claude from stopping while ralph is active