An opinionated take on the Ralph autonomous loop for Claude Code. Describe a feature, walk away, come back to commits.
An opinionated take on the Ralph autonomous loop for Claude Code. Describe a feature, walk away, come back to commits.
The concept comes from Geoffrey Huntley, who named it after Ralph Wiggum from The Simpsons. Ralph is the contributor who keeps showing up, picks the next thing off the list, gets it done, with a project manager looking over the work every few iterations to keep things on track.
/plugin marketplace add mischasigtermans/by-mischa
/plugin install ralph@by-mischa
~/.claude/plugins/cache/by-mischa/ralph/*/scripts/install.sh
This symlinks ~/.local/bin/ralph to the plugin's ralph.sh. Make sure ~/.local/bin is on your PATH. After future plugin updates, run ralph update to refresh the symlink.
jq for JSON state management (brew install jq on macOS)bash (zsh users: the script runs under bash)In Claude Code, in your project directory:
/ralph "add a user dashboard with auth, profile editing, and an activity feed"
This runs a short PM interview (max three questions), writes .ralph/brief.md, stories.json, state.json, and picks a planner cadence. The skill never starts coding. It exits and tells you to run ralph.
From a terminal in the project directory:
ralph # foreground
nohup ralph & # detached, output to nohup.out
tmux new -s ralph 'ralph' # in a tmux session
ralph --max-iter 20 # cap at 20 iterations
Monitor with ralph status or ralph tail. Stop with ralph stop. The loop runs as a separate process and does not need Claude Code to stay open.
.ralph/brief.md as plan-time context.state.json, progress.txt, learnings.txt), not log scraping.ralph status, ralph stop, ralph tail, ralph update..ralph/ directories on first run..ralph/ layout.See CHANGELOG.md.
MIT. See LICENSE.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub mischasigtermans/by-mischa --plugin ralphClaude Code plugin channeling Taylor Otwell's Laravel philosophy
Claude Code plugin channeling Raymond Hettinger's Pythonic philosophy
Talk to your other Claude Code projects from any session.
Local searchable mirror of your Claude chats, readable from any Claude Code session.
Claude Code plugin channeling Steve Jobs's documented decision frameworks, aesthetic judgment, and demanding standards
Autonomous end-to-end development system - from requirement to production-ready code with zero manual intervention
A plugin to help with Ralph's tasks
Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.
Generate Ralph Wiggum loop infrastructure for iterative AI-driven development. Supports Claude Code and Amp with agent-specific optimizations.
Continuous self-referential AI loops for interactive iterative development, implementing the Ralph Wiggum technique. Run Claude in a while-true loop with the same prompt until task completion.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.