Ralph Loop Autonomous Overnight Runner

Wire the Claude Code CLI mode (-p flag) into the Ralph loop plugin so a while-loop keeps feeding the same prompt with updated files until the task is done.

Agent Orchestrationagent-orchestrationstandard
by AgentVoltv1.0.0Published 1y ago
Free to sign up · every skill included with AgentVolt Pro

About this skill


name: ralph-loop-autonomous-runner description: Wire the Claude Code CLI mode (-p flag) into the Ralph loop plugin so a while-loop keeps feeding the same prompt with updated files until the task is done.

Ralph Loop Autonomous Overnight Runner

What This Does

The creator explains headless mode (-p flag) plus the community Ralph loop pattern named after Ralph Wiggum from The Simpsons. Instead of one-shotting a task, the loop re-prompts Claude with the current file state and remaining to-dos until the whole feature ships, often overnight without human input.

What You Get

  • -p CLI headless mode
  • Ralph loop while-loop wrapper
  • per-iteration file-state summary
  • auto-stop when to-do list empties
  • overnight-friendly log format

Customize

  • prompt: the master task instruction
  • loop_condition: while todos_remaining > 0
  • sleep_interval: seconds between iterations
  • log_path: where iteration output writes
  • max_iterations: safety cap

Sample Output

The Ralph loop lets a solo developer ship an entire project overnight with the same prompt re-fed with the updated file state each pass.

Target Audience

Solo devs who want overnight autonomous shipping

Source

https://youtube.com/watch?v=ZlDnsf_DOzg

SKILL.md preview

SKILL.md
---
name: ralph-loop-autonomous-runner
description: Wire the Claude Code CLI mode (-p flag) into the Ralph loop plugin so a while-loop keeps feeding the same prompt with updated files until the task is done.
---

# Ralph Loop Autonomous Overnight Runner

## What This Does
The creator explains headless mode (-p flag) plus the community Ralph loop pattern named after Ralph Wiggum from The Simpsons. Instead of one-shotting a task, the loop re-prompts Claude with the current file state and remaining to-dos until the whole feature ships, often overnight without human input.

## What You Get
- -p CLI headless mode
- Ralph loop while-loop wrapper
- per-iteration file-state summary

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill