agentleFS
mikeyobrienmikeyobrien/ralph-orchestrator/skills/ralph-loop/SKILL.md

ralph-loop

Skill3.2k starsChanged 9 months agoMITView on GitHub

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.

16 other projects use a version of this.

Trending

Quiet since September.about the whole repository

Dec 2025: 1 mentionJan 2026: 16 mentionsFeb 2026: 10 mentionsMar 2026: 4 mentionsApr 2026: 4 mentionsMay 2026: 4 mentionsJun 2026: 5 mentionsJul 2026: 4 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the mikeyobrien/ralph-orchestrator repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about mikeyobrien/ralph-orchestrator

The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 49

Talked about on GitHub, Bluesky and Hacker News (49 times).

On GitHub · 45

40 more on GitHub

On Hacker News · 1

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to operate Ralph loops from the outside.

    line 8
  2. Very specific:

    Start with ralph loops list or ralph loops list --json to establish the current state.

    line 20
  3. Very specific:

    If the user wants execution, run ralph run ...

    line 22
  4. Very specific:

    If the loop is stuck or suspicious, inspect logs, history, and diff before changing state.

    line 24
  5. Very specific:

    If the loop is suspended, read .ralph/suspend-state.json and use ralph loops resume <id>.

    line 26
  6. Very specific:

    If a loop is queued or in needs-review, inspect the diff first, then use merge, process, retry, or discard as appropriate.

    line 28
  7. Distinctive:

    Use diagnostics when you need detailed evidence about hats, events, tool calls, parse errors, or performance.

    line 30
  8. Very specific:

    Prefer the CLI over direct edits to .ralph state files.

    line 35
  9. Distinctive:

    Treat tasks and memories as the canonical runtime systems.

    line 36
  10. Distinctive:

    Only remove lock or queue artifacts when the underlying process is confirmed dead.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.