Use Case
Ralph Loop (Agent Mode) is a powerful AI agent skill that extends your assistant with new capabilities. Guide OpenClaw agents to execute Ralph Wiggum loops using exec and process tools. Agent orchestrates coding agents (Codex, Claude Code, OpenCode, Goose) with proper TTY support via pty:true. Plans/builds code via PROMPT.md + AGENTS.md, SPECS and IMPLEMENTATION_PLAN.md. Includes PLANNING vs BUILDING modes, backpressure, sandboxing, and completion conditions. Users request loops, agents execute using tools. This guide walks you through installing Ralph Loop (Agent Mode), configuring it for your setup, and running your first commands β so you can start getting value in minutes.
Install Ralph Loop (Agent Mode): npx clawhub@latest --dir ~/.claude/skills install ralph-loop-agent
Restart your AI client (Claude Code, Cursor, Gemini CLI, or OpenClaw)
Type a natural language request related to ai agent & automation to trigger Ralph Loop (Agent Mode)
Review the output and refine your prompt for better results
Combine Ralph Loop (Agent Mode) with other skills to build multi-step workflows
Copy these prompts and use them with your AI agent after installing Ralph Loop (Agent Mode)
Help me get started with Ralph Loop (Agent Mode)
What can Ralph Loop (Agent Mode) do for my ai agent & automation workflow?
Show me an example of using Ralph Loop (Agent Mode)
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install ralph-loop-agentOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install ralph-loop-agentβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/ralph-loop-agent/π‘Extract and place the folder at the path above, then restart your agent.