跳过主要内容
ralph-loopby AnthropicOfficialDevelopmentGitHub stars: 37.3k

Ralph Loop plugin: what it installs and how to add it

Runs Claude through repeated development iterations until a completion phrase appears or an iteration limit is reached.

From the Marketplace: claude-plugins-official marketplace

Install

> /plugin install ralph-loop@claude-plugins-official

Run it inside Claude Code. The official marketplace is already known, so there is nothing to add first.

What is inside

  • 3commands
  • 1hook

About this plugin

Ralph Loop keeps Claude working on the same development task across repeated iterations. A Stop hook intercepts normal session exits and feeds the original prompt back into the current session, while each iteration can inspect the files, tests and Git history changed by earlier attempts.

Start a loop with /ralph-loop, optionally setting a completion phrase and maximum iteration count. Use /cancel-ralph to stop an active loop. A maximum is recommended for tasks that may be impossible to complete or become stuck.

What's inside

  • 3 slash commands: /ralph-loop, /cancel-ralph and /help
  • 1 Stop hook that continues the session until completion or cancellation

More from claude-plugins-official

Skills, not plugins

Prefer a single skill for development work? 471 skills in the same category, each installed on its own.

Development skills