π¦ ClawHub
Ralph Loop (Agent Mode)
by @addozhang
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.
π― Use Cases (6)
βοΈLegal Documents & Compliance
Understand and create legal documents without a lawyer β contracts, poβ¦
πAI Legal Document Assistant
Review contracts, generate NDAs, create privacy policies, and check GDβ¦
βοΈLegal AI Agent
An AI agent that assists lawyers and legal professionals with researchβ¦
πAI Agent for Contract Drafting
Automates the creation and review of legal contracts with accuracy andβ¦
βοΈTerms of Service Assistant
AI agent that simplifies and explains legal terms for users.β¦
βοΈDraft & Review Legal Documents
Use AI to draft contracts, review agreements, check compliance, and geβ¦