Skip to content
Automation
Skill

/ralph-loop

Codex-compatible Ralph loop runner with dual engines (compat local state loop + optional open-ralph-wiggum backend).

From plugin
vibe-skills
2.7k200 skills8 agents3 commands
Install
$ npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill ralph-loop --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ralph-loop

Context preview

The summary Claude sees to decide when to auto-load this skill.

Codex-compatible Ralph loop runner with dual engines (compat local state loop + optional open-ralph-wiggum backend).

SKILL.md

ralph-loop.SKILL.md
name: ralph-loop
description: Codex-compatible Ralph loop runner with dual engines (compat local state loop + optional open-ralph-wiggum backend).

ralph-loop

This is a Codex-oriented `ralph-loop` command with two execution engines.

Engine model

  • Keeps the same command name: `ralph-loop`.
  • Keeps the same default state file format: `.claude/ralph-loop.local.md`.
  • Default `compat` engine keeps local-state semantics and manual `--next`.
  • Optional `open` engine delegates to external `open-ralph-wiggum` CLI for auto-iteration.

Script

  • Script path: `scripts/ralph-loop.ps1`

Usage

$codexHome = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $HOME '.codex' }
$script = Join-Path $codexHome 'skills/ralph-loop/scripts/ralph-loop.ps1'

# Start a local compat loop
powershell -ExecutionPolicy Bypass -File $script Build a todo API --max-iterations 20 --completion-promise DONE

# Move to the next iteration manually
powershell -ExecutionPolicy Bypass -File $script --next

# Show current loop state
powershell -ExecutionPolicy Bypass -File $script --status

# Force restart with a new prompt
powershell -ExecutionPolicy Bypass -File $script New prompt --max-iterations 10 --force

# Use open-ralph-wiggum backend (auto loop, defaults to --agent codex and --no-commit)
powershell -ExecutionPolicy Bypass -File $script --engine open Build a todo API --max-iterations 20 --completion-promise DONE

Vibe compatibility

  • Safe in `/vibe` routed sessions as a direct execution tool.
  • Does not force multi-agent orchestration.
  • Keeps command names stable for unified memory and invocation.
  • `open` engine remains mutually exclusive with active XL team orchestration.

Notes

  • Compat mode: if `max_iterations` is reached, the local state file is removed automatically.
  • Compat mode: completion promises are tracked in local state.
  • Open mode: `--next`, `--force`, `--state-file`, `--stop` are not available (managed by external `ralph` CLI semantics).
Read more
Ships withvibe-skills

VibeSkills is a general-purpose Skill that automatically routes local Skills and intelligently orchestrates harness workflows.

Get the whole plugin

Other skills on vibe-skills.