Run an autonomous Open Ralph Wiggum coding loop using OpenCode Zen with free models and automatic fallback.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install open-ralph或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install open-ralph⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/open-ralph/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: ralph-opencode-free-loop description: Run an autonomous Open Ralph Wiggum coding loop using OpenCode Zen with free models and automatic fallback. metadata: { "openclaw": { "emoji": "🔁", "homepage": "https://github.com/Th0rgal/open-ralph-wiggum", "requires": { "bins": ["opencode", "ralph", "git"] }, }, } user-invocable: true ---
This skill runs an autonomous Ralph Wiggum coding loop using the ralph CLI with OpenCode as the agent provider.
It repeatedly executes the same coding prompt until:
The loop is optimized for free OpenCode Zen models and includes a fallback chain in case models are rate-limited, disabled, or removed.
---
Use this skill when you want autonomous coding execution such as:
You MUST be inside a git repository before running Ralph.
---
Always attempt models in this order:
opencode/kimi-k2.5-free ← Best coding performance (limited time free)
opencode/minimax-m2.1-free
opencode/glm-4.7-free
opencode/big-pickle ← Free stealth model fallback
If a model fails due to availability or quota, immediately retry using the next model without changing the prompt or loop parameters.
Fallback if you encounter errors like:
---
Run:
ralph "
Success criteria:
Completion promise:
---
If attempt #1 fails due to model issues, rerun with:
--model opencode/minimax-m2.1-free
---
If attempt #2 fails:
--model opencode/glm-4.7-free
---
If attempt #3 fails:
--model opencode/big-pickle
---
For multi-step execution:
ralph "" \ --agent opencode \ --model opencode/kimi-k2.5-free \ --tasks \ --max-iterations 50
Fallback model order still applies.
---
If OpenCode plugins interfere with loop execution, rerun with:
--no-plugins
---
If free model availability changes, check:
https://opencode.ai/zen/v1/models
Update fallback order if needed.
---
---
Fix failing TypeScript errors:
ralph "Fix all TypeScript errors in the repo.
Success criteria:
Completion promise:
安装 open-ralph 后,可以对 AI 说这些话来触发它
Help me get started with open-ralph
Explains what open-ralph does, walks through the setup, and runs a quick demo based on your current project
Use open-ralph to run an autonomous Open Ralph Wiggum coding loop using OpenCode Zen ...
Invokes open-ralph with the right parameters and returns the result directly in the conversation
What can I do with open-ralph in my developer & devops workflow?
Lists the top use cases for open-ralph, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/open-ralph/ 目录(个人级,所有项目可用),或 .claude/skills/open-ralph/(项目级)。重启 AI 客户端后,用 /open-ralph 主动调用,或让 AI 根据上下文自动发现并使用。
open-ralph 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
open-ralph 可免费安装使用。请查阅仓库了解许可证信息。
Run an autonomous Open Ralph Wiggum coding loop using OpenCode Zen with free models and automatic fallback.
open-ralph 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using open-ralph
Identifies repetitive steps in your workflow and sets up open-ralph to handle them automatically