ralph
Skill này làm gì
Skill chạy một vòng lặp nền lặp lại các bước cải thiện cho đến khi công việc đạt một kiểm tra hoặc chạm giới hạn. Skill dành cho người muốn agent tiếp tục làm việc trên một tác vụ mà không cần nhắc liên tục.
Khi nào nên dùng
- ✓Khi bạn muốn một vòng lặp nền tiếp tục cải thiện một lần chạy cho đến khi đạt.
- ✓Khi bạn muốn tiếp tục một dòng dõi công việc chưa hoàn thành.
- ✓Khi bạn muốn vòng lặp dừng sau một số thế hệ nhất định.
Liên kết skill
https://github.com/Q00/ouroboros/blob/main/skills/ralph/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tiếp tục cải thiện dòng dõi abc123 trong nền cho đến khi đạt QA hoặc chạm giới hạn thế hệ.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill khởi động một công việc nền chạy các bước cải thiện từng thế hệ một. Skill dừng khi công việc đạt QA, kết quả ngừng cải thiện, công việc bị hủy hoặc chạm giới hạn thế hệ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
/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
Câu hỏi thường gặp
Skill có cần các công cụ MCP của Ouroboros không?
Có. Mô tả cho biết Ralph cần môi trường chạy MCP của Ouroboros và sẽ dừng nếu thiếu công cụ.
Bạn nói với skill tiếp tục công việc nào bằng cách nào?
Bạn đưa mã dòng dõi bằng tùy chọn lineage.
Bạn có thể dừng nó không?
Có. Skill có một công cụ hủy công việc.
Chi tiết
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14356
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
auto
6.3kGiúp agent của bạn biến một tác vụ lớn thành đặc tả bằng văn bản, rồi xây dựng và kiểm thử trong nền cho đến khi hoạt động và đạt các kiểm tra.
brownfield
6.3kGiúp agent của bạn giữ danh sách các kho mã hiện có và chọn những kho mặc định dùng làm ngữ cảnh cho các phỏng vấn.
ouroboros-config
6.3kGiúp agent của bạn mở trang cài đặt Ouroboros để chọn mô hình, backend và các tùy chọn theo từng giai đoạn trong trình duyệt.
evaluate
6.3kGiúp agent của bạn kiểm tra xem công việc đã hoàn thành có đáp ứng tiêu chí nghiệm thu hay không, bằng các kiểm tra tự động và đánh giá theo từng tiêu chí.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.