ralph
하는 일
이 스킬은 작업이 점검을 통과하거나 한도에 도달할 때까지 개선 단계를 반복하는 백그라운드 루프를 실행합니다. 계속 재촉하지 않아도 에이전트가 작업을 이어서 다듬기를 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓통과할 때까지 실행을 백그라운드에서 계속 개선하고 싶을 때.
- ✓아직 끝나지 않은 작업의 계보를 이어가고 싶을 때.
- ✓정해진 세대 수 뒤에 루프가 멈추기를 원할 때.
스킬 링크
https://github.com/Q00/ouroboros/blob/main/skills/ralph/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“계보 abc123을 QA를 통과하거나 세대 한도에 도달할 때까지 백그라운드에서 계속 개선해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 개선 단계를 한 번에 한 세대씩 실행하는 백그라운드 작업을 시작합니다. 작업이 QA를 통과하거나, 결과가 더 나아지지 않거나, 작업이 취소되거나, 세대 한도에 도달하면 멈춥니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
/ouroboros:ralph
MCP-owned Ralph loop around background evolve_step jobs. "The boulder never stops."
Usage
ooo ralph --lineage-id <lineage_id>
/ouroboros:ralph --lineage-id <lineage_id>
The ouroboros_ralph tool owns the loop (do not reimplement it): one background job runs repeated evolve_step generations until QA pass, convergence, a terminal evolution action, cancellation, or max_generations. Router dispatch reads only the named --lineage-id option, never trailing text.
Instructions
Loading MCP tools (deferred-schema guard)
Ouroboros tools may be deferred, and a schema loaded on one turn can unload by the next. Immediately before each ouroboros_* call, load it with the active runtime's tool-discovery capability: "+ouroboros ralph job" for ouroboros_ralph, ouroboros_job_wait, ouroboros_job_status, ouroboros_job_result, and ouroboros_cancel_job; "+ouroboros session signal" for ouroboros_session_signal_targets and ouroboros_session_signal; "+ouroboros conductor decision" for ouroboros_record_conductor_decision. A call whose schema is not loaded fails with "Invalid tool parameters". If the tool is already callable, discovery is a no-op and an empty result is expected. If the tools are genuinely absent, stop and tell the user that Ralph requires the Ouroboros MCP runtime.
1. Prepare lineage input
- Continue a lineage: when the user gives an existing
lineage_idand wants to continue it, reuse it and omitseed_contentunless they supply an updated Seed. - New run from Seed YAML: use it as
seed_contentwith a freshlineage_idsuch asralph-<short-slug>-<uuid>. Never reuse a Seed, interview, or session id as the lineage id, so separate runs over one Seed do not collide. - Plain natural-language request: never pass raw text as
seed_contentor freehand Seed YAML. Runooo interviewandooo seedfirst (or reuse a validated Seed in context), then start with a freshlineage_id. Without inputs the tool returns input guidance instead of a job.
2. Start Ralph
Call ouroboros_ralph with lineage_id, seed_content (generation 1 of a new lineage), execute (default true), parallel (default true), skip_qa (default false), project_dir when known, and max_generations (default 10, also the hard max; lower it only on request).
3. Handle the start response
Job started (
response.meta.job_idpresent): keepresponse.meta.cursorand report:[Ralph] Started background loop: <job_id> Lineage: <lineage_id> Live view: <dashboard_url, or `ouroboros tui open`> A read-only observer will post meaningful progress, attention, and terminal events here. This conversation remains available for other safe work.Observer handoff: if
response.meta.job_observeris missing, recover it from the final<!-- ouroboros-job-observer-v1 base64 ... -->content sentinel; fail closed unless it passes canonical v1 validation and its job identity matches the visible start receipt, and use it only as an identity anchor, never to reconstruct tools or arguments. When the host supports an independent child session, spawn exactly one read-only observer and pass the contract unchanged. The observer exclusively owns job wait/result calls and the cursor; the main session keeps user conversation, explicit on-demand status, and user-requested cancellation. The main session must not poll the same job while the observer is active. It may refine requirements, do read-only review, or work in an unrelated isolated worktree; check active-worker conflicts before writing to Ralph's workspace.- A
waitcall or a parent job-status poll is not a spawn; claim no observer until a live child ID/path returns. The contract'shost_lifecycleand the runtime'sorchestrate_subagentsguidance name the concrete spawn and wait mechanics. If the runtime cannot wake a parent turn that already ended when the child posts (a child message only queues for the parent), keep the parent turn open with the host's child-wait primitive in waits of at most 60 seconds while the observer is active. Relay meaningful updates and wait again until terminal. - User input may interrupt the wait; handle it and resume waiting unless the user asks to stop live observation or replaces the request. Then end only the relay loop, keep the durable job running, and offer next-turn or explicit-status catch-up. Use the same fallback, instead of waiting indef
- A
자주 묻는 질문
Ouroboros MCP 도구가 필요한가요?
네, 설명에 따르면 Ralph는 Ouroboros MCP 런타임이 필요하며, 도구가 없으면 멈춥니다.
어떤 작업을 이어갈지 어떻게 알려 주나요?
lineage 옵션과 함께 계보 ID를 전달합니다.
멈출 수 있나요?
네, 작업 취소 도구가 있습니다.
상세 정보
인기도
- GitHub 스타
- 6.3k
- 순위
- #14356
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
auto
6.3k에이전트가 큰 작업을 작성된 명세로 바꾸고, 백그라운드에서 구현과 테스트를 진행해 통과할 때까지 돌리도록 돕습니다.
brownfield
6.3k에이전트가 기존 코드 저장소 목록을 관리하고, 인터뷰의 맥락으로 쓸 기본 저장소를 고르도록 돕습니다.
ouroboros-config
6.3k에이전트가 Ouroboros 설정 페이지를 열어 브라우저에서 모델, 백엔드, 단계별 옵션을 고르도록 돕습니다.
evaluate
6.3k에이전트가 완료된 작업이 인수 기준을 충족하는지 자동 점검과 기준별 검토로 확인하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.