Aller au contenu
Skillpedia
Agents6.3k · #14356

ralph

Ce qu’il fait

Cette compétence lance une boucle en arrière-plan qui répète des étapes d'amélioration jusqu'à ce que le travail réussisse un contrôle ou atteigne une limite. Elle s'adresse aux personnes qui veulent qu'un agent continue sur une tâche sans relance constante.

Quand l’utiliser

  • ✓Quand vous voulez qu'une boucle en arrière-plan améliore une exécution jusqu'à ce qu'elle réussisse.
  • ✓Quand vous voulez poursuivre une lignée de travail qui n'est pas terminée.
  • ✓Quand vous voulez que la boucle s'arrête après un nombre donné de générations.

Lien du skill

https://github.com/Q00/ouroboros/blob/main/skills/ralph/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/Q00/ouroboros/blob/main/skills/ralph/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Continue d'améliorer la lignée abc123 en arrière-plan jusqu'à ce qu'elle réussisse la revue QA ou atteigne la limite de générations.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La compétence lance une tâche en arrière-plan qui exécute les étapes d'amélioration une génération à la fois. Elle s'arrête lorsque le travail réussit la revue QA, que les résultats cessent de progresser, que la tâche est annulée ou que la limite de générations est atteinte.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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_id and wants to continue it, reuse it and omit seed_content unless they supply an updated Seed.
  • New run from Seed YAML: use it as seed_content with a fresh lineage_id such as ralph-<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_content or freehand Seed YAML. Run ooo interview and ooo seed first (or reuse a validated Seed in context), then start with a fresh lineage_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_id present): keep response.meta.cursor and 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_observer is 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 wait call or a parent job-status poll is not a spawn; claim no observer until a live child ID/path returns. The contract's host_lifecycle and the runtime's orchestrate_subagents guidance 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
Questions fréquentes

A-t-elle besoin des outils MCP d'Ouroboros ?

Oui, la description indique que Ralph a besoin du runtime MCP d'Ouroboros et s'arrête si les outils sont absents.

Comment lui indiquer le travail à poursuivre ?

Vous lui donnez l'identifiant de la lignée avec l'option lignée.

Puis-je l'arrêter ?

Oui, la compétence dispose d'un outil pour annuler la tâche.

Détails

Description originale de l’auteur

MCP-owned Ralph loop around background evolve_step jobs

repo: Q00/ouroboros

Popularité

Étoiles GitHub
6.3k
Position au classement
#14356
Licence
MIT
Mis à jour
01/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires