一键导入
ralph-loop
Start Ralph Loop - auto-continues until task completion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start Ralph Loop - auto-continues until task completion
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | ralph-loop |
| description | Start Ralph Loop - auto-continues until task completion |
Start an iterative development loop that automatically continues until the task is complete.
The Ralph Loop creates a continuous feedback cycle for completing complex tasks:
Your previous work remains accessible through files and git history, enabling progressive refinement across iterations.
When you invoke this skill, create the state file in the project directory:
mkdir -p .opencode && cat > .opencode/ralph-loop.local.md << 'EOF'
---
active: true
iteration: 0
maxIterations: 100
---
[The user's task prompt goes here]
EOF
Then inform the user and begin working on the task.
When you have FULLY completed the task, signal completion by outputting:
<promise>DONE</promise>
IMPORTANT CONSTRAINTS:
<promise>DONE</promise> when the task is COMPLETELY and VERIFIABLY finishedThe loop can only be stopped by:
/cancel-ralphCheck current iteration:
grep '^iteration:' .opencode/ralph-loop.local.md
The state file at .opencode/ralph-loop.local.md uses YAML frontmatter:
---
active: true
iteration: 3
maxIterations: 100
sessionId: ses_abc123
---
Your original task prompt
Add .opencode/ralph-loop.local.md to your .gitignore.