← Back to Skills Marketplace
bderiel

open-ralph

by Bderiel · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
1849
Downloads
4
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install open-ralph
Description
Run an autonomous Open Ralph Wiggum coding loop using OpenCode Zen with free models and automatic fallback.
README (SKILL.md)

\r \r

What this skill does\r

\r This skill runs an autonomous Ralph Wiggum coding loop using the ralph CLI with OpenCode as the agent provider.\r \r It repeatedly executes the same coding prompt until:\r \r

  • The success criteria are met, OR\r
  • The completion promise is printed, OR\r
  • Max iterations are reached\r \r The loop is optimized for free OpenCode Zen models and includes a fallback chain in case models are rate-limited, disabled, or removed.\r \r ---\r \r

When to use\r

\r Use this skill when you want autonomous coding execution such as:\r \r

  • Fixing failing tests\r
  • Implementing scoped features\r
  • Refactoring codebases\r
  • Resolving lint/type errors\r
  • Running build-fix loops\r
  • Multi-iteration debugging\r \r You MUST be inside a git repository before running Ralph.\r \r ---\r \r

Free model fallback order\r

\r Always attempt models in this order:\r \r

  1. opencode/kimi-k2.5-free ← Best coding performance (limited time free)\r
  2. opencode/minimax-m2.1-free\r
  3. opencode/glm-4.7-free\r
  4. opencode/big-pickle ← Free stealth model fallback\r \r If a model fails due to availability or quota, immediately retry using the next model without changing the prompt or loop parameters.\r \r

Failure triggers for fallback\r

\r Fallback if you encounter errors like:\r \r

  • model disabled\r
  • model not found\r
  • insufficient quota\r
  • quota exceeded\r
  • payment required\r
  • rate limit\r
  • provider unavailable\r \r ---\r \r

How to run the loop\r

\r

Attempt #1 (primary model)\r

\r Run:\r \r ralph "\x3CTASK PROMPT>\r \r Success criteria:\r \r

  • \x3Clist verifiable checks>\r
  • Build passes\r
  • Tests pass\r \r Completion promise:\r \x3Cpromise>COMPLETE\x3C/promise>" \r --agent opencode \r --model opencode/kimi-k2.5-free \r --completion-promise "COMPLETE" \r --max-iterations 20\r \r ---\r \r

Attempt #2 (fallback)\r

\r If attempt #1 fails due to model issues, rerun with:\r \r --model opencode/minimax-m2.1-free\r \r ---\r \r

Attempt #3 (fallback)\r

\r If attempt #2 fails:\r \r --model opencode/glm-4.7-free\r \r ---\r \r

Attempt #4 (final fallback)\r

\r If attempt #3 fails:\r \r --model opencode/big-pickle\r \r ---\r \r

Tasks mode (for large projects)\r

\r For multi-step execution:\r \r ralph "\x3CBIG TASK PROMPT>" \r --agent opencode \r --model opencode/kimi-k2.5-free \r --tasks \r --max-iterations 50\r \r Fallback model order still applies.\r \r ---\r \r

Plugin troubleshooting\r

\r If OpenCode plugins interfere with loop execution, rerun with:\r \r --no-plugins\r \r ---\r \r

Sanity check available Zen models\r

\r If free model availability changes, check:\r \r https://opencode.ai/zen/v1/models\r \r Update fallback order if needed.\r \r ---\r \r

Safety notes\r

\r

  • Always run inside a git repo\r
  • Set iteration limits to avoid runaway loops\r
  • Ensure prompts contain verifiable success criteria\r
  • Review diffs before merging autonomous changes\r \r ---\r \r

Example usage\r

\r Fix failing TypeScript errors:\r \r ralph "Fix all TypeScript errors in the repo.\r \r Success criteria:\r \r

  • tsc passes\r
  • Build succeeds\r \r Completion promise:\r \x3Cpromise>COMPLETE\x3C/promise>" \r --agent opencode \r --model opencode/kimi-k2.5-free \r --completion-promise "COMPLETE" \r --max-iterations 20\r
Usage Guidance
This skill appears to do what it says: run the ralph CLI in a loop against OpenCode models. Before installing or running it: (1) ensure you have the ralph and git binaries (and opencode if your setup requires it); (2) confirm whether your OpenCode/Zen setup requires API keys or local auth (the SKILL.md doesn't document credentials) and only provide those you trust; (3) run it on a feature branch or a disposable clone so automated edits don't affect mainline unexpectedly; (4) keep max-iterations small at first and review diffs/commits before merging; (5) verify the model identifiers and the referenced GitHub homepage yourself (the registry metadata left homepage empty while SKILL.md points to a repo) to ensure the project is the expected source.
Capability Analysis
Type: OpenClaw Skill Name: open-ralph Version: 1.0.0 The skill orchestrates an autonomous coding loop using the `ralph` CLI tool with `opencode` as the agent provider. It requires `opencode`, `ralph`, and `git` binaries, which are used to modify code within the current directory. The `SKILL.md` file provides instructions to the OpenClaw agent on how to execute the `ralph` command with various models and fallback logic. There is no evidence of data exfiltration, malicious execution, persistence, or obfuscation. The instructions to the agent are focused on the legitimate operational logic of the skill, not on subverting the agent's purpose or performing unauthorized actions. While the skill enables powerful code modification capabilities, this is its stated purpose, and it includes 'Safety notes' for responsible usage.
Capability Assessment
Purpose & Capability
The name/description describe running an autonomous ralph coding loop using OpenCode models; the declared required binaries (ralph, git, opencode) broadly match that purpose. Minor note: the SKILL.md never invokes an opencode binary directly (it calls ralph with --agent opencode), so requiring a separate opencode executable may be unnecessary but is not strongly inconsistent. The SKILL.md includes a homepage URL, while registry metadata shows none — minor metadata mismatch.
Instruction Scope
The instructions are narrowly scoped to running the ralph CLI with specific models and fallbacks, require being inside a git repo, and advise safe practices (iteration limits, review diffs). They do not instruct reading unrelated files or environment variables. Note: the skill assumes the agent/system can run the ralph CLI which will perform code changes locally — the user should expect code edits/commits and explicitly review them before merging.
Install Mechanism
This is instruction-only with no install spec or archives to download, which minimizes install-time risk. No external packages or executable downloads are specified in the skill itself.
Credentials
The skill declares no required environment variables or credentials, which is coherent with the SKILL.md. However, in practice accessing OpenCode models may require API credentials or local opencode/ralph configuration (not documented in the SKILL.md). The skill does not request unrelated secrets.
Persistence & Privilege
always is false and disable-model-invocation is unset (normal). The skill does not request persistent system privileges or to modify other skills/configs. Autonomous invocation can change repo content via ralph, which is expected behavior for this skill type.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install open-ralph
  3. After installation, invoke the skill by name or use /open-ralph
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of open-ralph skill. - Enables an autonomous Ralph Wiggum coding loop using OpenCode Zen and the ralph CLI. - Optimized for free OpenCode Zen models with automatic fallback based on model availability and errors. - Supports use cases like fixing tests, implementing features, refactoring, lint/type error fixes, and build-fix loops. - Includes clear usage instructions and example commands. - Requires running inside a git repository.
Metadata
Slug open-ralph
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is open-ralph?

Run an autonomous Open Ralph Wiggum coding loop using OpenCode Zen with free models and automatic fallback. It is an AI Agent Skill for Claude Code / OpenClaw, with 1849 downloads so far.

How do I install open-ralph?

Run "/install open-ralph" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is open-ralph free?

Yes, open-ralph is completely free (open-source). You can download, install and use it at no cost.

Which platforms does open-ralph support?

open-ralph is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created open-ralph?

It is built and maintained by Bderiel (@bderiel); the current version is v1.0.0.

💬 Comments