ralph
Was er macht
Dieser Skill führt eine Hintergrundschleife aus, die Verbesserungsschritte wiederholt, bis die Arbeit eine Prüfung besteht oder eine Grenze erreicht. Er ist für Menschen gedacht, die einen Agenten ohne ständiges Nachfragen an einer Aufgabe arbeiten lassen wollen.
Wann du ihn nutzt
- ✓Wenn du eine Hintergrundschleife willst, die einen Lauf verbessert, bis er besteht.
- ✓Wenn du eine Linie von Arbeit fortsetzen willst, die noch nicht fertig ist.
- ✓Wenn die Schleife nach einer festgelegten Anzahl von Generationen stoppen soll.
Link zum Skill
https://github.com/Q00/ouroboros/blob/main/skills/ralph/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Verbessere die Linie abc123 im Hintergrund weiter, bis sie die QA besteht oder die Generationsgrenze erreicht.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill startet einen Hintergrundjob, der die Verbesserungsschritte Generation für Generation ausführt. Er stoppt, wenn die Arbeit die QA besteht, die Ergebnisse nicht mehr besser werden, der Job abgebrochen wird oder die Generationsgrenze erreicht ist.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Braucht er die Ouroboros-MCP-Tools?
Ja, laut Beschreibung braucht Ralph die Ouroboros-MCP-Laufzeit und stoppt, wenn die Tools fehlen.
Wie sage ich ihm, welche Arbeit ich fortsetzen will?
Du gibst ihm die Linien-ID mit der Option lineage.
Kann ich ihn stoppen?
Ja, der Skill hat ein Werkzeug zum Abbrechen des Jobs.
Details
Originalbeschreibung des Autors
MCP-owned Ralph loop around background evolve_step jobs
repo: Q00/ouroboros
Beliebtheit
- GitHub-Sterne
- 6.3k
- Platz im Ranking
- #14356
- Lizenz
- MIT
- Aktualisiert
- 1.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
auto
6.3kHilft deinem Agenten, eine große Aufgabe in eine schriftliche Spezifikation zu verwandeln und dann im Hintergrund zu bauen und zu testen, bis sie funktioniert und die Prüfungen besteht.
brownfield
6.3kHilft deinem Agenten, eine Liste deiner bestehenden Code-Repositories zu führen und die Standardprojekte festzulegen, die in Interviews als Kontext dienen.
ouroboros-config
6.3kHilft deinem Agenten, die Ouroboros-Einstellungsseite zu öffnen, damit du Modelle, Backends und Optionen pro Phase im Browser wählen kannst.
evaluate
6.3kHilft deinem Agenten zu prüfen, ob fertige Arbeit ihre Akzeptanzkriterien erfüllt, mit automatischen Prüfungen und einer Bewertung jedes Kriteriums.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.