本文へスキップ
Skillpedia
タスクとプロジェクト41k · #7030

ultragoal

できること

このスキルは、順序付きの複数の目標からなる大きな作業を管理し、進捗を保存して記録します。作業が複数のセッションやワークツリーにまたがり、追跡を失いたくない人向けです。

使う場面

  • ✓順序のある複数の目標からなる大きな作業を、時間をかけて追跡する必要があるとき。
  • ✓作業が複数のClaudeセッションやワークツリーにまたがって続くとき。
  • ✓作業を完了とする前に、最終的な完了を検証してほしいとき。

スキルのリンク

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ultragoal/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ultragoal/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この移行には、順序のある8つの目標があり、複数のセッションにまたがります。進捗が保存されるように設定して、途中から再開できるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、目標を計画とプロジェクト内の永続的なログに書き、開始、チェックポイント、ブロッカーを発生した時点で記録します。アクティブなセッションが続けられるように引き継ぎメモを出力し、完了は検証を通すまで認めません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
    
よくある質問

Claudeの目標機能を直接操作しますか?

いいえ。ファイルを保存し、引き継ぎのテキストを出力します。アクティブなセッションがそのテキストに従って動く必要があります。

小さな変更にも向いていますか?

いいえ。単一の小さな変更は、直接行うか、より単純なループで扱うほうが適しています。

進捗はどこに保存されますか?

プロジェクト内のフォルダに、追記のみのログとして保存されます。セッションを再起動しても残ります。

詳細

作者による元の説明

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

人気

GitHubのスター
41k
ランキング
#7030
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル