Aller au contenu
Skillpedia
Tâches et projets41k · #7030

ultragoal

Ce qu’il fait

Cette compétence gère un grand travail composé de plusieurs objectifs ordonnés, avec un historique de progression conservé. Elle s'adresse aux personnes dont le travail s'étend sur plusieurs sessions ou worktrees et ne doit pas perdre le fil.

Quand l’utiliser

  • ✓Quand un grand travail comporte plusieurs objectifs ordonnés qu'il faut suivre dans le temps.
  • ✓Quand le travail doit se poursuivre dans plusieurs sessions ou worktrees Claude.
  • ✓Quand vous voulez que la fin complète soit vérifiée avant que le travail ne soit marqué comme terminé.

Lien du skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ultragoal/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/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ultragoal/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

“Cette migration comporte huit objectifs ordonnés et prendra plusieurs sessions. Mets-la en place pour que la progression soit enregistrée et que nous puissions reprendre là où nous en étions.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent écrit les objectifs dans un plan et dans un journal durable à l'intérieur du projet, puis consigne les démarrages, les points de contrôle et les blocages au fur et à mesure. Il affiche une note de passation pour que la session active sache comment continuer, et il conditionne la fin à une vérification.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

<Purpose> Ultragoal breaks a brief into an ordered set of goals, records start/checkpoint/blocker/failure events in a durable append-only ledger, and tells the active Claude agent how to drive the Claude Code `/goal` slash command alongside the plan. It does not — and cannot — mutate Claude `/goal` state from the shell; it persists durable repo state and prints a model-facing handoff that the active agent must act on in-session. </Purpose> <Use_When> - The user wants a durable, repo-native way to track an ultragoal across multiple Claude sessions or worktrees - The work is large enough to warrant multiple ordered "stories" with attempt counts and per-story evidence - The user wants the final completion gated behind ai-slop-cleaner + verification + $code-review - The user wants the active Claude `/goal` directive coordinated with the ledger so that a session restart does not lose progress </Use_When> <Do_Not_Use_When> - The task is a single small change — use direct delegation or `ralph` instead - The user wants the assistant to literally invoke `/goal` itself from the shell — that is not possible; `omc ultragoal` only writes artifacts and prints handoff text - The user wants a planning-only artifact with no execution loop — use `plan` instead </Do_Not_Use_When> <Why_This_Exists> Claude Code `/goal` is a session-scoped Stop hook: it blocks the session from stopping until a condition holds, and auto-clears on success. That is a great single-session execution primitive, but it loses state across sessions and does not by itself enforce a final review gate. `omc ultragoal` adds a durable plan, ledger, and gating layer so a long multi-step initiative can survive session restarts, fresh worktrees, and review iterations while still leveraging Claude `/goal` to keep the active agent focused. </Why_This_Exists> <How_To_Use>

On plugin-only installs where omc is not on PATH, replace the omc prefix in the commands below and in generated handoffs with oh-my-claudecode.js, or use node <plugin-root>/bin/oh-my-claudecode.js.

  1. Create a plan from a brief:

    omc ultragoal create-goals --brief-file plan.md
    

    Or with explicit stories:

    omc ultragoal create-goals --brief "ship the migration" \
      --goal "Schema::Add new columns" \
      --goal "Backfill::Backfill rows in batches" \
      --goal "Cutover::Drop old columns and switch reads"
    

    The default mode is aggregate (one Claude /goal covers the run). Pass --claude-goal-mode per-story if you want each story to have its own /goal.

    Multi-repo workspaces / parallel sessions: when several Claude sessions in the same workspace need to run /ultragoal concurrently, pass either --plan-id <stable-id> or --auto-plan-id so the plan is written to .omc/ultragoal/plans/{planId}/ instead of the shared single-plan path. Without that flag, two sessions creating goals would clobber each other. --auto-plan-id derives {epochMs}-{slug} from the brief title. Then thread the same --plan-id <id> through every subsequent subcommand in that session. Use omc ultragoal list-plans to enumerate available planIds when needed.

  2. Start (or resume) the next story:

    omc ultragoal complete-goals [<goal-id>]
    

    With no goal id, this preserves the default behavior of resuming the active story or starting the first pending story. With a goal id, OMC targets exactly that named eligible story (a pending story may be started out of order); it never falls through to another story. An active different story, unknown id, completed or review-blocked story, or failed story without --retry-failed is rejected without state mutation. An in-progress named story is resumed without changing its attempt. This prints a model-facing handoff. The active Claude agent must read it and:

    • Set the native Claude /goal for this session — in standalone Claude Code neither the shell nor the agent can do it, so ask the user to type /goal <aggregate objective> and wait. --claude-goal-json (below) reconciles the ledger only and does not satisfy the PreToolUse /goal guard, which blocks tool calls until it observes an active /goal.
    • Work the story.
    • When the story is complete (and for the final story, after the full quality gate), share back a snapshot of the active /goal state and call checkpoint.
  3. Checkpoint a story:

    omc ultragoal checkpoint --goal-id G001-... --status complet
    
Questions fréquentes

Peut-elle piloter directement la fonctionnalité d'objectif de Claude ?

Non. Elle enregistre des fichiers et affiche un texte de passation, que la session active doit ensuite exploiter.

Convient-elle à une petite modification ?

Non. Une modification isolée se traite mieux directement ou avec une boucle plus simple.

Où la progression est-elle enregistrée ?

Dans un dossier du projet, sous forme de journal en ajout seul qui survit aux redémarrages de session.

Détails

Description originale de l’auteur

Durable multi-goal workflow that persists plan/ledger artifacts under .omc/ultragoal and prints Claude /goal handoff text for the active session

repo: Yeachan-Heo/oh-my-claudecode

Popularité

Étoiles GitHub
41k
Position au classement
#7030
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires