# Send open-ralph to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "open-ralph",
    "name": "open-ralph",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Bderiel/open-ralph",
    "canonicalUrl": "https://clawhub.ai/Bderiel/open-ralph",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/open-ralph",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=open-ralph",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "open-ralph",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T02:03:51.292Z",
      "expiresAt": "2026-05-12T02:03:51.292Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=open-ralph",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=open-ralph",
        "contentDisposition": "attachment; filename=\"open-ralph-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "open-ralph"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/open-ralph"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/open-ralph",
    "downloadUrl": "https://openagent3.xyz/downloads/open-ralph",
    "agentUrl": "https://openagent3.xyz/skills/open-ralph/agent",
    "manifestUrl": "https://openagent3.xyz/skills/open-ralph/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/open-ralph/agent.md"
  }
}
```
## Documentation

### What this skill does

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 success criteria are met, OR
The completion promise is printed, OR
Max iterations are reached

The loop is optimized for free OpenCode Zen models and includes a fallback chain in case models are rate-limited, disabled, or removed.

### When to use

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

Fixing failing tests
Implementing scoped features
Refactoring codebases
Resolving lint/type errors
Running build-fix loops
Multi-iteration debugging

You MUST be inside a git repository before running Ralph.

### Free model fallback order

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.

### Failure triggers for fallback

Fallback if you encounter errors like:

model disabled
model not found
insufficient quota
quota exceeded
payment required
rate limit
provider unavailable

### Attempt #1 (primary model)

Run:

ralph "<TASK PROMPT>

Success criteria:

<list verifiable checks>

Build passes
Tests pass

Completion promise:
<promise>COMPLETE</promise>" 
--agent opencode 
--model opencode/kimi-k2.5-free 
--completion-promise "COMPLETE" 
--max-iterations 20

### Attempt #2 (fallback)

If attempt #1 fails due to model issues, rerun with:

--model opencode/minimax-m2.1-free

### Attempt #3 (fallback)

If attempt #2 fails:

--model opencode/glm-4.7-free

### Attempt #4 (final fallback)

If attempt #3 fails:

--model opencode/big-pickle

### Tasks mode (for large projects)

For multi-step execution:

ralph "<BIG TASK PROMPT>" 
--agent opencode 
--model opencode/kimi-k2.5-free 
--tasks 
--max-iterations 50

Fallback model order still applies.

### Plugin troubleshooting

If OpenCode plugins interfere with loop execution, rerun with:

--no-plugins

### Sanity check available Zen models

If free model availability changes, check:

https://opencode.ai/zen/v1/models

Update fallback order if needed.

### Safety notes

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

### Example usage

Fix failing TypeScript errors:

ralph "Fix all TypeScript errors in the repo.

Success criteria:

tsc passes
Build succeeds

Completion promise:
<promise>COMPLETE</promise>" 
--agent opencode 
--model opencode/kimi-k2.5-free 
--completion-promise "COMPLETE" 
--max-iterations 20
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Bderiel
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-05T02:03:51.292Z
- Expires at: 2026-05-12T02:03:51.292Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/open-ralph)
- [Send to Agent page](https://openagent3.xyz/skills/open-ralph/agent)
- [JSON manifest](https://openagent3.xyz/skills/open-ralph/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/open-ralph/agent.md)
- [Download page](https://openagent3.xyz/downloads/open-ralph)