What ralph-loop is
Implements the Ralph Wiggum technique inside the session: /ralph-loop blocks exit with a Stop hook and re-feeds the prompt.
What it does
Where ralph-loop runs and what it adds, from its documentation- /ralph-loop runs a task with --completion-promise
- Stop hook blocks exit and re-feeds the prompt
- Prior work persists in files and git history
- Loops until completion
When to use it
Good fit
- Well-defined tasks with automatic verification
Not for
- Tasks needing human judgement each step
How to install ralph-loop
You need: Claude Code
- Marketplace ships enabled by default in Claude Code; or browse via /plugin > Discover
- Install: /plugin install ralph-loop@claude-plugins-official
- Run the plugin's commands/agents as described in its README
- Trust check: Anthropic warns to trust a plugin before installing, as it cannot verify included MCP servers, files or software
Permissions and security
What it can access
- Runs inside Claude Code; commands, agents and hooks use Claude Code's tool permissions (see plugin README for specifics)
Security notes from the maintainers
- Marketplace README: make sure you trust a plugin before installing, updating, or using it
Review the source before granting an agent access to credentials or production systems. We document what the maintainers state; we do not audit code.
No user reviews yet
Anthropic's agentic coding tool that reads your codebase, edits files and runs commands from the terminal, IDEs, desktop app or browser.
Watch out: Not included in the Free Claude plan, and usage on subscriptions is capped by plan limits.
Listed Not yet reviewed
Verified
code.claude.com ↗ (opens Claude Code website in a new tab)
Frequently asked questions
How do I install the ralph-loop plugin?
Run /plugin install ralph-loop@claude-plugins-official in Claude Code. source
Is the ralph-loop plugin made by Anthropic?
Yes, it is listed under /plugins (internal plugins developed by Anthropic) in the claude-plugins-official repo. source
What does the ralph-loop plugin add to Claude Code?
Self-referential loops via a Stop hook: same prompt repeated until a completion promise. source
Sources and gaps
Not stated by the maintainers: last_release (not read); limitations not stated in README.