Skip to content
Agentmart
Submit a tool

ralph-wiggum

Run Ralph Wiggum autonomous coding loops where each fresh agent iteration implements, verifies, commits, and records one task.

Skill by S3YED

IndexedMIT★ 12
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/s3yed-ralph-wiggum

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run Ralph Wiggum autonomous coding loops where each fresh agent iteration implements, verifies, commits, and records one task.

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ralph-wiggum

What's inside

Skill name
ralph-wiggum
Description
Run Ralph Wiggum autonomous coding loops where each fresh agent iteration implements, verifies, commits, and records one task.
License
MIT
Instructions
89 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • ralph-loop-codex.sh · scripts/
  • ralph-loop.sh · scripts/

SKILL.md (first lines)

# Ralph Wiggum Skill

**Purpose:** Autonomous coding loop technique for complex build tasks.

**What it does:** Runs an AI coding agent (Claude Code, Codex, etc.) in iterative loops — each iteration picks ONE spec/task, implements it, verifies, commits, and loops until done.

**Based on:** Geoffrey Huntley's Ralph Wiggum technique — fresh context each loop, persistent state via git/files.

## Setup

Already installed at: `~/.openclaw/skills/ralph-wiggum/`

Structure:
```
ralph-wiggum/
├── SKILL.md
├── scripts/
│   ├── ralph-loop.sh      # Claude Code loop
│   └── ralph-loop-codex.sh # OpenAI Codex loop
└── specs/                 # Spec files (you create these)
```

Ralph Wiggum commit: `d205125cc33745116cce22d883417461174dcde5`

## How to Use

### 1. Create a Spec

Write a spec file in `specs/` with:
- What to build
- Clear acceptance criteria
- Completion signal

### 2. Start the Loop

```bash
# Claude Code (recommended)
~/.openclaw/skills/ralph-wiggum/scripts/ralph-loop.sh

# Or OpenAI Codex
~/.openclaw/skills/ralph-wiggum/scripts/ralph-loop-codex.sh

# Limit iterations
~/.openclaw/skills/ralph-wiggum/scripts/ralph-loop.sh 20
```

### 3. How the Loop Works

```
Each iteration:
1. Ralph reads specs/ and picks highest priority incomplete spec
2. AI implements it completely
3. AI verifies acceptance criteria + runs tests
4. AI outputs "DONE" only if criteria pass
5. Bash loop checks for DONE → next iteration
6. Context cleared, fresh start
```

### 4. Exit Signals

- `<promise>DONE</promise>` → spec complete, next iteration
- `<promise>ALL_DONE</promise>` → all specs complete, loop exits
- Bash checks for DONE phrase in output

## Key Concepts

**Specs:** Markdown files in `specs/` with acceptance criteria. Lower number = higher priority.

**Context Reset:** Each iteration starts fresh — no accumulated confusion.

**State Persistence:** Progress stored in git commits + files.

**Completion Verification:** AI only outputs DONE when ALL criteria verified + tests pass.

## For Wolfie (OpenClaw) Integration

Ralph Wiggum is useful for:
- Complex multi-step builds (creative pipeline, store cloning)
- Tasks too large for single AI call
- Autonomous iteration on specifications

To use with OpenClaw: spawn a subagent with `sessions_spawn` and run ralph-loop.sh inside it.

## Links

- Main repo: https://github.com/fstandhartinger/ralph-wiggum
- Official CLI: https://github.com/wiggumdev/ralph
- Website: https://wiggum.dev

From S3YED/appie-kit, MIT.

More from S3YED/appie-kit

Signals

Stars
12
Forks
2
Open issues
0
Last commit (this folder)
Jun 14, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
weblyfe.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from S3YED

Cite this page

ralph-wiggum skill. Agent Mart. https://agentmart.dev/skills/s3yed-ralph-wiggum (last updated 2026-10-24)