/ralph-loop
Start Ralph Wiggum loop in current session
> /plugin marketplace add LING71671/Open-ClaudeCodeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/ralph-loop
Context preview
What this command does when you run it.
Start Ralph Wiggum loop in current session
Command definition
ralph-loop.mddescription: "Start Ralph Wiggum loop in current session"
argument-hint: "PROMPT [--max-iterations N] [--completion-promise TEXT]"
allowed-tools: ["Bash(${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh:*)"]
hide-from-slash-command-tool: "true"Ralph Loop Command
Execute the setup script to initialize the Ralph loop:
"${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh" $ARGUMENTSPlease work on the task. When you try to exit, the Ralph loop will feed the SAME PROMPT back to you for the next iteration. You'll see your previous work in files and git history, allowing you to iterate and improve.
CRITICAL RULE: If a completion promise is set, you may ONLY output it when the statement is completely and unequivocally TRUE. Do not output false promises to escape the loop, even if you think you're stuck or should exit for other reasons. The loop is designed to continue until genuine completion.
完整开源的 Claude Code 项目 - 基于 Anthropic 官方源码重建 🌐 Languages: 中文 | English
Repo: LING71671/Open-ClaudeCode
Other commands on open-claudecode.
- /new-sdk-app
Create and setup a new Claude Agent SDK application
Open command - /code-review
Code review a pull request
Open command - /clean_gone
Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.
Open command - /commit-push-pr
Commit, push, and open a PR
Open command - /commit
Create a git commit
Open command - /feature-dev
Guided feature development with codebase understanding and architecture focus
Open command

