Agent skill

Ralph Loop

by mikeyobrien in mikeyobrien/ralph-orchestrator

Run, monitor, resume, merge, and debug Ralph loops. An agent skill from mikeyobrien/ralph-orchestrator.

MITAuto-check passedAgent Workflows

Install Ralph Loop

skills CLI
$ npx skills add mikeyobrien/ralph-orchestrator --skill ralph-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mikeyobrien/ralph-orchestrator ralph-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mikeyobrien/ralph-orchestrator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ralph-loop .claude/skills/ralph-loop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ralph-loop
GitHub stars
3.2k
Token cost
~480 tokens
SKILL.md length
239 words
Files
4 (incl. references)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Run, monitor, resume, merge, and debug Ralph loops. An agent skill from mikeyobrien/ralph-orchestrator.

  • Works in 6 steps: Start with ralph loops list or ralph… → If the user wants execution, run ralph… → If the loop is stuck or suspicious,… → …
  • The user asks to operate ralph run
  • SKILL.md covers Use This Skill For, Workflow, Guardrails and Read These References When…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ralph Loop is an agent skill from mikeyobrien/ralph-orchestrator. Run, monitor, resume, merge, and debug Ralph loops. Use this skill whenever the user asks to operate ralph run or ralph loops, inspect loop state, recover suspended loops, analyze diagnostics, or unblock merge queue issues.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `agents/openai.yaml`, `references/commands.md` and `references/diagnostics.md`).

It sits in Agent Workflows, covering Autonomous loops. The repository describes itself as: An improved implementation of the Ralph Wiggum technique for autonomous AI agent orchestration. The licence is MIT.

When your agent uses it

  • The user asks to operate ralph run
  • Inspect loop state
  • Recover suspended loops
  • Analyze diagnostics

Example prompts

  • “/ralph-loop”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Start with ralph loops list or ralph loops list --json to establish the
  2. If the user wants execution, run ralph run ... with the right core config
  3. If the loop is stuck or suspicious, inspect logs, history, and diff
  4. If the loop is suspended, read .ralph/suspend-state.json and use
  5. If a loop is queued or in needs-review, inspect the diff first, then use
  6. Use diagnostics when you need detailed evidence about hats, events, tool

What it can do on your machine

Read from SKILL.md and the folder at commit edc2b32. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ralph Loop loads about 480 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 60 tokens; SKILL.md has 239 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~480
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mikeyobrien/ralph-orchestrator at commit edc2b32, republished under its MIT licence (© mikeyobrien). 239 words, ~480 tokens.

Download SKILL.mdSave it as .claude/skills/ralph-loop/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
ralph-loop
description
Run, monitor, resume, merge, and debug Ralph loops. Use this skill whenever the user asks to operate `ralph run` or `ralph loops`, inspect loop state, recover suspended loops, analyze diagnostics, or unblock merge queue issues.

Ralph Loop

Use this skill to operate Ralph loops from the outside.

Use This Skill For

  • Starting or continuing a Ralph run with the right -c and -H inputs
  • Inspecting loop state, worktrees, logs, history, and diffs
  • Resuming a hook-suspended loop
  • Merging or discarding completed worktree loops
  • Debugging unexpected loop behavior with current diagnostics files

Workflow

  1. Start with ralph loops list or ralph loops list --json to establish the current state.
  2. If the user wants execution, run ralph run ... with the right core config and hats source.
  3. If the loop is stuck or suspicious, inspect logs, history, and diff before changing state.
  4. If the loop is suspended, read .ralph/suspend-state.json and use ralph loops resume <id>.
  5. If a loop is queued or in needs-review, inspect the diff first, then use merge, process, retry, or discard as appropriate.
  6. Use diagnostics when you need detailed evidence about hats, events, tool calls, parse errors, or performance.

Guardrails

  • Prefer the CLI over direct edits to .ralph state files.
  • Treat tasks and memories as the canonical runtime systems; do not center scratchpad as the primary state model.
  • Inspect diffs before merging.
  • Only remove lock or queue artifacts when the underlying process is confirmed dead.
  • Manual edits under .ralph/ are last-resort recovery steps and should be called out explicitly when used.

Read These References When Needed

  • For command recipes and operator flows: references/commands.md
  • For diagnostics files and suspend-state details: references/diagnostics.md

© mikeyobrien, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/ralph-loop of mikeyobrien/ralph-orchestrator.

  • SKILL.md
  • agents/openai.yaml
  • references/commands.md
  • references/diagnostics.md

Open the folder on GitHubat commit edc2b32

Compare with similar skills

Ralph Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ralph Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ralph Loop this skillmikeyobrien/ralph-orchestrator3.2k—~480Automated safety check: PassMIT
Show Me Your Work Decision Logcursor/plugins10k9 repos~1.6kAutomated safety check: PassNone
Autoresearch Iteration Loopuditgoenka/autoresearch6.5k1 repos~2kAutomated safety check: PassMIT
AutopilotYeachan-Heo/oh-my-claudecode40k1 repos~4.4kAutomated safety check: PassMIT
Install Loop Engineeringcobusgreyling/loop-engineering11k1 repos~648Automated safety check: PassMIT
LoopyForward-Future/loopy3.2k—~3.9kAutomated safety check: PassMIT

Similar skills

  • Official

    Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.

    10k GitHub starsUsed in 9 repos~1.6k tokens
    Agent WorkflowsAuto-check passed
  • Autoresearch Iteration Loop

    uditgoenka/autoresearch

    Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.

    6.5k GitHub starsUsed in 1 repo~2k tokens
    Agent WorkflowsAuto-check passed
  • Autopilot

    Yeachan-Heo/oh-my-claudecode

    Takes a short product idea through requirements, design, planning, parallel implementation, QA cycles and multi-reviewer validation to produce working code.

    40k GitHub starsUsed in 1 repo~4.4k tokens
    Agent WorkflowsAuto-check passed
  • Install Loop Engineering

    cobusgreyling/loop-engineering

    Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.

    11k GitHub starsUsed in 1 repo~648 tokens
    Agent WorkflowsAuto-check passed
  • Loopy

    Forward-Future/loopy

    Discover, find, compare, audit, repair, adapt, craft, run, debrief, save, and prepare repeatable AI-agent loops for publication.

    3.2k GitHub stars~3.9k tokensUpdated 27 days ago
    Agent WorkflowsAuto-check passed
  • Pushes an agent to exhaust every option, investigate before asking and take initiative beyond the literal request, instead of giving up or waiting passively.

    20k GitHub starsUsed in 2 repos~6.9k tokens
    Agent WorkflowsAuto-check passed

More from mikeyobrien/ralph-orchestrator

All 16 skills in this repo
  • Ralph Docs

    mikeyobrien/ralph-orchestrator

    Introspect, explain, and improve Ralph Orchestrator using its published llms.txt doc map.

    3.2k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Evaluate Presets

    mikeyobrien/ralph-orchestrator

    A skill your agent uses when testing Ralph's hat collection presets, validating preset configurations, or auditing the preset library for bugs and UX issues.

    3.2k GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • PR Demo

    mikeyobrien/ralph-orchestrator

    A skill your agent uses when creating animated demos (GIFs) for pull requests or documentation.

    3.2k GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Release Bump

    mikeyobrien/ralph-orchestrator

    A skill your agent uses when bumping ralph-orchestrator version for a new release, after fixes are committed and ready to publish

    3.2k GitHub stars~583 tokensUpdated 2 days ago
    Auto-check passed
  • Review PR

    mikeyobrien/ralph-orchestrator

    A skill your agent uses when asked to review a PR, run a code review loop, or invoke the ralph reviewer against a pull request number or GitHub URL

    3.2k GitHub stars~589 tokensUpdated 2 days ago
    Auto-check passed
  • Tui Debug In Pane

    mikeyobrien/ralph-orchestrator

    A skill your agent uses when you need to reproduce or debug TUI rendering issues (garbled output, broken streaming, layout corruption) by running ralph in a tmux split pane and capturing live output.

    3.2k GitHub stars~825 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Ralph Loop

What does Ralph Loop do?

Run, monitor, resume, merge, and debug Ralph loops. An agent skill from mikeyobrien/ralph-orchestrator. Ralph Loop is an agent skill from mikeyobrien/ralph-orchestrator. Run, monitor, resume, merge, and debug Ralph loops.

When should I use Ralph Loop?

Ralph Loop fits situations like: the user asks to operate ralph run; inspect loop state; recover suspended loops; analyze diagnostics.

How do I install Ralph Loop in Claude Code?

Run `npx skills add mikeyobrien/ralph-orchestrator --skill ralph-loop -a claude-code`. Or copy the skill folder (skills/ralph-loop in mikeyobrien/ralph-orchestrator) into .claude/skills/ralph-loop in your project. Claude Code loads it when a task matches its description.

How do I install Ralph Loop in Codex?

Run `npx skills add mikeyobrien/ralph-orchestrator --skill ralph-loop -a codex`. Or copy the skill folder (skills/ralph-loop in mikeyobrien/ralph-orchestrator) into .agents/skills/ralph-loop in your project. Codex loads it when a task matches its description.

Can I use Ralph Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mikeyobrien/ralph-orchestrator --skill ralph-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ralph-loop, .gemini/skills/ralph-loop, .github/skills/ralph-loop and .opencode/skills/ralph-loop in your project.

What does Ralph Loop need to run?

SKILL.md names no scripts, command-line tools or credentials: Ralph Loop is instructions for the agent only.

Does Ralph Loop access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ralph Loop safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ralph Loop use?

Ralph Loop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ralph Loop use?

About 480 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 796 tokens, read only when the agent opens those files.

What are the alternatives to Ralph Loop?

Skills that share tags, products or a category with Ralph Loop: Show Me Your Work Decision Log (cursor/plugins, 10k stars), Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), Autopilot (Yeachan-Heo/oh-my-claudecode, 40k stars) and Install Loop Engineering (cobusgreyling/loop-engineering, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ralph Loop?

mikeyobrien (a GitHub user) maintains it in mikeyobrien/ralph-orchestrator, which has 3,166 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 5, 2026.

Source: mikeyobrien/ralph-orchestrator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.