Back to list
andrey-moor

ralph-loop

by andrey-moor

MCP server for iterative AI planning loops - planner and reviewer agents refine plans until approved

1🍴 0📅 Jan 21, 2026

SKILL.md


name: ralph-loop description: Start Ralph Loop in current session detection_patterns:

  • "start ralph loop"
  • "ralph loop"
  • "execute plan at"
  • "work through the plan"
  • "implement the plan"
  • "run the plan"
  • "iterate on"
  • "keep working until" auto_invoke: false

Ralph Loop Skill

Start an iterative development loop that prevents the session from ending until the task is complete.

Detection Patterns

This skill activates when the user says things like:

  • "start ralph loop for building the API"
  • "execute plan at plans/active/my-feature/"
  • "work through the plan"
  • "implement the plan tasks"
  • "keep working until the tests pass"

Behavior

When activated:

  1. Parse the request to determine:

    • Is this plan mode (references a plan path)?
    • Is this simple mode (just a task description)?
  2. Initialize the loop:

    # For plan mode
    .claude/scripts/setup-ralph-loop.sh --plan <path> --max-iterations 50
    
    # For simple mode
    .claude/scripts/setup-ralph-loop.sh "<task>" --max-iterations 20
    
  3. Start working:

    • In plan mode: Read plan files, start on first incomplete task
    • In simple mode: Start working on the described task
  4. Continue iterating:

    • The stop hook will prevent exit until completion
    • In simple mode: Output <promise>DONE</promise> when complete
    • In plan mode: Acceptance criteria checked automatically

Example Invocations

Plan mode:

User: "execute plan at plans/active/add-authentication/"
Claude: [Initializes Ralph Loop in plan mode, reads plan, starts working]

Simple mode:

User: "start ralph loop for refactoring the database layer"
Claude: [Initializes Ralph Loop in simple mode, starts refactoring]

Notes

  • Use /cancel-ralph to stop early
  • State stored in .claude/ralph-loop.local.md
  • Stop hook: .claude/hooks/stop.sh

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon