Skip to content
Back to skills

Ralph Loop

ASecurity

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

  • 3,126 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 2, 2026
ai-agentsshellapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 2, 2026

npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill ralph-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ralph Loop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ralph Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/foryourhealth111-pixel-ralph-loop/badge)](https://www.skillsdirectory.com/skills/foryourhealth111-pixel-ralph-loop)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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

```powershell
$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).

Files in this skill

  • SKILL.md2 KB
  • scripts/ralph-loop.ps114.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…