ultragoal

ultragoal is a skill for Claude Code from RobinNorberg/oh-my-copilot. It costs 38 tokens per session (1,629 once invoked), scanned A, a copy of ultragoal, MIT.

A durable system for tracking a large objective as ordered stories across multiple coding sessions or worktrees.

In plain words
What is it for?
It helps manage multi-step work, record attempts and evidence, coordinate handoffs, and enforce final review gates.
Why use it?
It preserves progress after a session ends and keeps completion tied to review and verification evidence.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; $skill-name invocation.

Part of the oh-my-copilot plugin — 51 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server shipped together

Good fit It helps manage multi-step work, record attempts and evidence, coordinate handoffs, and enforce final review gates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robinnorberg/oh-my-copilot/ultragoal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add RobinNorberg/oh-my-copilot --skill ultragoal
Clone the repo
git clone --depth 1 https://github.com/RobinNorberg/oh-my-copilot

Made for: Claude Code.

Or install oh-my-copilot, the plugin that ships this one along with the rest of its 51 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ultragoal

README.md
[![agentmods](https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/ultragoal/github.svg)](https://agentmods.dev/skills/robinnorberg/oh-my-copilot/ultragoal)
Your own site
<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/ultragoal"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/ultragoal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ultragoal

Your own site · 80×15
<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/ultragoal"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/ultragoal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,629 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01629
Opus 5 $0.00019 $0.00814
Sonnet 5 $0.00008 $0.00326
Haiku 4.5 $0.00004 $0.00163

Measured 8d ago against content hash 66fb3398596d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ultragoal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to ultragoal — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ultragoal/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<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>

  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 .omg/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.

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 104 lines · 38 tokens per session scan A 66fb3398596d

Subscribe to this mod's changes

ultragoal is a skill published in the GitHub repository RobinNorberg/oh-my-copilot (5 stars, last pushed 5d ago), licensed MIT. It adds 38 tokens to every session and 1,629 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to ultragoal, differing in 6 lines, and is treated as a copy.