Skip to main content

ralph-loop

Start a Ralph Loop for iterative self-referential development. Use when the user asks to run a ralph loop, start an iterative loop, or wants repeated autonomous iteration on a task until completion.

소스 정보

저장소
cursor/plugins
최근 소스 활동
2026년 2월 11일 23:47
감지된 SKILL.md 언어
영어
스타
14,046
포크
1,403

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ralph-loop
description
Start a Ralph Loop for iterative self-referential development. Use when the user asks to run a ralph loop, start an iterative loop, or wants repeated autonomous iteration on a task until completion.
# Ralph Loop ## Trigger The user wants to start a Ralph loop. An iterative development loop where the same prompt is fed back after every turn, and the agent sees its own previous work each iteration. ## Workflow 1. Gather the user's task prompt and optional parameters: - `max_iterations` (number, default 0 for unlimited) - `completion_promise` (text, or "null" if not set) 2. Create the directory `.cursor/ralph/` if it doesn't exist, then write the state file at `.cursor/ralph/scratchpad.md` with this exact format: ```markdown --- iteration: 1 max_iterations: <N or 0> completion_promise: "<TEXT>" or null --- <the user's task prompt goes here> ``` Example: ```markdown --- iteration: 1 max_iterations: 20 completion_promise: "COMPLETE" --- Build a REST API for todos with CRUD operations, input validation, and tests. ``` 3. Confirm to the user that the Ralph loop is active, then begin working on the task. 4. The stop hook automatically intercepts each turn end and feeds the same prompt back as a followup message. You will see it prefixed with `[Ralph loop iteration N.]`. ## Guardrails - If a completion promise is set, you may ONLY output `<promise>TEXT</promise>` when the statement is completely and genuinely true. - Do not output false promises to escape the loop. - Always recommend setting `max_iterations` as a safety net. - Quote the `completion_promise` value in the YAML frontmatter if it contains special characters. ## Output Confirm the loop is active (prompt, iteration limit, promise if set), then start working on the task immediately.
GitHub에서 보기