Agent skill

Ultragoal

by yangyuan-zhen in yangyuan-zhen/PolyWeather

[OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.

AGPL-3.0Auto-check passed

Install Ultragoal

skills CLI
$ npx skills add yangyuan-zhen/PolyWeather --skill ultragoal -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yangyuan-zhen/PolyWeather ultragoal --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yangyuan-zhen/PolyWeather.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/ultragoal .claude/skills/ultragoal && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ultragoal
GitHub stars
316
Token cost
~3.2k tokens
SKILL.md length
1,274 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
AGPL-3.0

At a glance

[OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.

  • Works in 2 steps: Run one of → Inspect .omx/ultragoal/goals.json and…
  • SKILL.md covers Purpose, State/HUD Phase Contract, Create goals and Complete goals, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ultragoal is an agent skill from yangyuan-zhen/PolyWeather. [OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: polymarket Intelligent Weather Quant Analysis Bot. The licence is AGPL-3.0.

Example prompts

  • “/ultragoal”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Run one of
  2. Inspect .omx/ultragoal/goals.json and refine if needed.

What it can do on your machine

Read from SKILL.md and the folder at commit 43e658b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ultragoal loads about 3.2k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 1,274 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yangyuan-zhen/PolyWeather at commit 43e658b, republished under its AGPL-3.0 licence (© yangyuan-zhen). 1,274 words, ~3,238 tokens.

Download SKILL.mdSave it as .claude/skills/ultragoal/SKILL.md (or your agent's skills folder).
name
ultragoal
description
[OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.

Ultragoal Workflow

Use when the user asks for ultragoal, create-goals, complete-goals, durable multi-goal planning, or sequential execution over Codex /goal.

Purpose

ultragoal turns a brief into repo-native artifacts and then drives a Codex goal safely through goal tools. New plans default to a stable pointer-style aggregate Codex goal for the whole durable plan in .omx/ultragoal/goals.json, including later accepted/appended stories under the original brief constraints, while OMX tracks G001/G002 story progress in the ledger. Ultragoal does not call Codex /goal clear; before multiple sequential ultragoal runs in one Codex session/thread, manually run /goal clear in the Codex UI so the previous completed aggregate goal does not block or confuse the next create_goal.

  • .omx/ultragoal/brief.md
  • .omx/ultragoal/goals.json
  • .omx/ultragoal/ledger.jsonl (checkpoint and structured steering audit events)

Existing aggregate plans with the legacy enumerated objective are migrated to the stable pointer objective on read, persisted to goals.json, retained in codexObjectiveAliases for already-active hidden Codex goal reconciliation, and audited with an aggregate_objective_migrated ledger entry.

State/HUD Phase Contract

Ultragoal is both a tracked workflow skill and the Autopilot durable-implementation child phase. Keep the phase/HUD contract explicit at workflow boundaries:

  • Standalone $ultragoal activation: ensure .omx/state[/sessions/<session>]/ultragoal-state.json exists with mode:"ultragoal", active:true, and a non-empty current_phase such as planning before or while goals are created. This state is a lightweight HUD/runtime declaration; .omx/ultragoal/goals.json and ledger.jsonl remain the durable goal source of truth.
  • During execution: update current_phase to the smallest accurate phase (planning, executing, verifying, reviewing, checkpointing, or blocked) when the visible workflow phase changes.
  • Inside active Autopilot: keep mode:"autopilot" active and set the supervised phase to current_phase:"ultragoal"; do not start a peer Autopilot replacement. Ultragoal's own mode state may still exist as child-phase detail, but Autopilot owns the parent phase.
  • On handoff to code-review: persist implementation/test/ledger evidence under Autopilot handoff_artifacts.ultragoal, then set Autopilot current_phase:"code-review".
  • On completion/blocker: set standalone Ultragoal active:false,current_phase:"complete" only when all durable goals are complete; otherwise keep it active with a blocker/review-blocked phase and ledger evidence.

Minimal standalone phase declaration:

sh
omx state write --input '{"mode":"ultragoal","active":true,"current_phase":"planning"}' --json

Minimal Autopilot child-phase declaration:

sh
omx state write --input '{"mode":"autopilot","active":true,"current_phase":"ultragoal"}' --json

Create goals

  1. Run one of:
    • omx ultragoal create-goals --brief "<brief>"
    • omx ultragoal create-goals --brief-file <path>
    • cat <brief> | omx ultragoal create-goals --from-stdin
    • omx ultragoal create-goals --codex-goal-mode per-story --brief "<brief>" only when one Codex goal context per story is explicitly preferred
  2. Inspect .omx/ultragoal/goals.json and refine if needed.

Complete goals

Loop until omx ultragoal status reports all goals complete:

  1. Run omx ultragoal complete-goals.
  2. Read the printed handoff.
  3. Call get_goal.
  4. If no active Codex goal exists, call create_goal with the printed payload. In aggregate mode, if the same aggregate Codex objective is already active, continue the current OMX story without creating a new Codex goal.
  5. Complete the current OMX story only.
  6. Run a completion audit against the story objective and real artifacts/tests.
  7. In aggregate mode, do not call update_goal for intermediate stories; checkpoint with a fresh get_goal snapshot whose aggregate objective is still active. On the final story only, first run the mandatory final cleanup/review gate below; call update_goal({status: "complete"}) only after that gate is clean, then call get_goal again for a fresh complete snapshot.
  8. Checkpoint the durable ledger with that snapshot. Intermediate aggregate checkpoints use only --codex-goal-json; final clean checkpoints also require --quality-gate-json: omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<evidence>" --codex-goal-json <get_goal-json-or-path> [--quality-gate-json <quality-gate-json-or-path>]
  9. If blocked or failed, checkpoint failure: omx ultragoal checkpoint --goal-id <id> --status failed --evidence "<blocker/evidence>"
  10. For non-terminal blockers, use blocked checkpoints:
  • legacy different completed goal: omx ultragoal checkpoint --goal-id <id> --status blocked --evidence "<completed legacy Codex goal blocks create_goal in this thread>" --codex-goal-json <get_goal-json-or-path>
  • matching native Codex blocked status: omx ultragoal checkpoint --goal-id <id> --status blocked --evidence "<blocker evidence>" --codex-goal-json <matching-blocked-get_goal-json-or-path>
  1. Resume failed goals with omx ultragoal complete-goals --retry-failed.

Dynamic steering

Use omx ultragoal steer when real findings or blockers prove the current story decomposition should change while the aggregate objective and constraints stay fixed. Steering is explicit-only and evidence-backed; broad natural-language requests are rejected instead of guessed.

Allowed mutation kinds are:

  • add_subgoal
  • split_subgoal
  • reorder_pending
  • revise_pending_wording
  • annotate_ledger
  • mark_blocked_superseded

Examples:

sh
omx ultragoal steer --kind add_subgoal --title "Investigate blocker" --objective "Validate the blocker and report evidence." --evidence "log/test output" --rationale "The blocker changes the safe execution order." --json
omx ultragoal steer --directive-json ./steering.json --json

Steering invariants:

  • Do not edit the aggregate Codex objective, original brief constraints, quality gates, or completion status. The aggregate objective is a stable pointer to .omx/ultragoal/goals.json and .omx/ultragoal/ledger.jsonl, not an enumeration of initial goal ids.
  • Do not hard-delete goals, auto-complete work, weaken verification, or silently mutate .omx/ultragoal.
  • Accepted and rejected attempts append structured audit entries to .omx/ultragoal/ledger.jsonl.
  • Superseded goals remain in goals.json with steering metadata and are skipped for scheduling.
  • Blocked goals without replacements are skipped for scheduling but still block final completion until later explicit steering replaces or supersedes them.

UserPromptSubmit uses the same steering API only for structured directives such as OMX_ULTRAGOAL_STEER: { ... }, omx.ultragoal.steer: { ... }, or omx ultragoal steer: { ... }. Normal prose does not mutate state, and repeated prompt-submit directives dedupe by prompt signature or idempotency key.

Show full SKILL.md (524 more words)Show less

Use Ultragoal and Team together

Use ultragoal and team together for a durable Ultragoal story that benefits from parallel execution. Ultragoal remains leader-owned: .omx/ultragoal/goals.json stores the story plan and .omx/ultragoal/ledger.jsonl stores checkpoints. Team is the parallel execution engine and returns task/evidence status to the leader.

The leader checkpoints Ultragoal from Team evidence with a fresh get_goal snapshot:

sh
omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<team evidence mentioning .omx/ultragoal and <id>>" --codex-goal-json <fresh-get_goal-json-or-path>

Workers do not own ultragoal goal state, do not create worker ultragoal ledgers, and do not checkpoint Ultragoal. Team launch remains explicit; Ultragoal does not auto-launch Team and performs no hidden Codex goal mutation.

Mandatory final cleanup and review gate

The final ultragoal story is not complete until the active agent has run the final quality gate:

  1. Run targeted verification for the story.

  2. Run ai-slop-cleaner on changed files only; if there are no relevant edits, the cleaner still runs and records a passed/no-op report.

  3. Rerun verification after the cleaner pass.

  4. Run the architecture-invariant audit: derive non-negotiable architecture/domain invariants from the brief/spec/interview/accepted steering/goal artifacts, list the source artifacts, and prove each required invariant with implementation, test, and independent review evidence.

  5. Run $code-review through the independent review path. Clean means codeReview.recommendation: "APPROVE", codeReview.architectStatus: "CLEAR", codeReview.independentReview contains distinct completed code-reviewer and architect subagent evidence, and architectureInvariantGate.status: "passed" proves every required invariant. COMMENT, WATCH, REQUEST CHANGES, BLOCK, missing subagent evidence, unavailable delegation, same-lane/self-review, and unproved architecture invariants are non-clean.

  6. If review or invariant proof is non-clean, do not call update_goal. Record durable blocker work instead:

    sh
    omx ultragoal record-review-blockers --goal-id <id> --title "Resolve final code-review blockers" --objective "<blocker-resolution objective>" --evidence "<review findings>" --codex-goal-json <active-get-goal-json-or-path>

    This marks the current story review_blocked, appends a pending blocker-resolution story, keeps the Codex goal active, and lets omx ultragoal complete-goals start the blocker next. In legacy per-story mode, the blocker may need an available Codex goal context because the old per-story Codex goal remains active/incomplete.

  7. If review and invariant proof are clean, call update_goal({status: "complete"}), call get_goal, and checkpoint with a structured final gate:

    sh
    omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<tests/files/review evidence>" --codex-goal-json <fresh-complete-get-goal-json-or-path> --quality-gate-json <quality-gate-json-or-path>

--quality-gate-json must include:

json
{
  "aiSlopCleaner": { "status": "passed", "evidence": "cleaner report" },
  "verification": { "status": "passed", "commands": ["npm test"], "evidence": "post-cleaner verification" },
  "codeReview": {
    "recommendation": "APPROVE",
    "architectStatus": "CLEAR",
    "evidence": "final review synthesis",
    "independentReview": {
      "codeReviewer": { "agentRole": "code-reviewer", "evidence": "code-reviewer subagent APPROVE evidence" },
      "architect": { "agentRole": "architect", "evidence": "architect subagent CLEAR evidence" }
    }
  },
  "architectureInvariantGate": {
    "status": "passed",
    "sourceArtifacts": [".omx/ultragoal/brief.md", ".omx/ultragoal/goals.json"],
    "evidence": "final invariant audit proved all required architecture/domain invariants",
    "invariants": [
      {
        "invariant": "Preserve the existing parser boundary.",
        "source": ".omx/ultragoal/brief.md#architecture-invariants",
        "status": "proved",
        "implementationEvidence": "changed files preserve the parser boundary",
        "testEvidence": "parser-boundary regression passed",
        "reviewEvidence": "architect review confirmed the boundary is intact"
      }
    ]
  }
}

Constraints

  • The shell command cannot directly invoke Codex interactive /goal; it emits a model-facing handoff for the active Codex agent.
  • Ultragoal intentionally does not invoke /goal clear or hidden thread/goal/clear; the model-facing tool surface only provides get_goal, create_goal, and update_goal.
  • After a completed aggregate ultragoal run, /goal clear is the explicit terminal cleanup step before starting another goal in the same Codex thread/session: create_goal starts, update_goal({status: "complete"}) marks terminal success, and /goal clear removes the completed thread goal for the next same-thread goal. OMX prints this next step but does not invoke hidden clear routes.
  • Never call create_goal when get_goal reports a different active goal.
  • Never call update_goal unless the aggregate run or legacy per-story goal is actually complete.
  • In aggregate mode, intermediate story checkpoints require a matching active Codex snapshot; final story completion requires a matching complete snapshot after update_goal.
  • Completion checkpoints require read-only Codex snapshot reconciliation: pass fresh get_goal JSON/path with --codex-goal-json; shell commands and hooks must not mutate Codex goal state.
  • Treat ledger.jsonl as the durable audit trail; checkpoint after every success or failure.

© yangyuan-zhen, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/ultragoal of yangyuan-zhen/PolyWeather.

Open the folder on GitHubat commit 43e658b

Compare with similar skills

Ultragoal next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ultragoal compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ultragoal this skillyangyuan-zhen/PolyWeather316—~3.2kAutomated safety check: PassAGPL-3.0
UltragoalYeachan-Heo/oh-my-claudecode40k—~1.7kAutomated safety check: PassMIT
Ultragoal Multi-Goal LedgerYeachan-Heo/gajae-code2.9k—~8.4kAutomated safety check: PassMIT
Executealirezarezvani/claude-skills28k—~831Automated safety check: PassMIT
Goalscodewhale-hq/Codewhale41k—~273Automated safety check: PassMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence

Similar skills

  • Ultragoal

    Yeachan-Heo/oh-my-claudecode

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

    40k GitHub stars~1.7k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Ultragoal Multi-Goal Ledger

    Yeachan-Heo/gajae-code

    Breaks a brief into ordered goals, keeps a durable ledger under .omc/ultragoal and prints handoff text so a Claude /goal run survives session restarts.

    2.9k GitHub stars~8.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Execute

    alirezarezvani/claude-skills

    /cs:execute <decision — Generate a 90-day execution plan with weekly milestones, DRIs, and check-in cadence from an approved decision.

    28k GitHub stars~831 tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Goals

    codewhale-hq/Codewhale

    Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.

    41k GitHub stars~273 tokensUpdated today
    Auto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Goal Plan

    ruvnet/ruflo

    Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning

    74k GitHub stars~807 tokensUpdated yesterday
    Auto-check: notes

More from yangyuan-zhen/PolyWeather

All 26 skills in this repo
  • AI Slop Cleaner

    yangyuan-zhen/PolyWeather

    [OMX] Run an anti-slop cleanup/refactor/deslop workflow. An agent skill from yangyuan-zhen/PolyWeather.

    316 GitHub stars~2.2k tokensUpdated 21 days ago
    Auto-check passed
  • Analyze

    yangyuan-zhen/PolyWeather

    [OMX] Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries.

    316 GitHub stars~1.6k tokensUpdated 21 days ago
    Auto-check passed
  • Autoresearch

    yangyuan-zhen/PolyWeather

    [OMX] Stateful validator-gated research loop with native-hook persistence

    316 GitHub stars~786 tokensUpdated 21 days ago
    Auto-check passed
  • Best Practice Research

    yangyuan-zhen/PolyWeather

    [OMX] Bounded best-practice research wrapper using official/upstream evidence first

    316 GitHub stars~1.4k tokensUpdated 21 days ago
    Auto-check passed
  • Cancel

    yangyuan-zhen/PolyWeather

    [OMX] Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)

    316 GitHub stars~3.7k tokensUpdated 21 days ago
    Auto-check passed
  • Configure Notifications

    yangyuan-zhen/PolyWeather

    [OMX] Configure OMX notifications - unified entry point for all platforms

    316 GitHub stars~2.7k tokensUpdated 21 days ago
    Auto-check passed

Questions about Ultragoal

What does Ultragoal do?

[OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts. Ultragoal is an agent skill from yangyuan-zhen/PolyWeather. [OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.

How do I install Ultragoal in Claude Code?

Run `npx skills add yangyuan-zhen/PolyWeather --skill ultragoal -a claude-code`. Or copy the skill folder (.codex/skills/ultragoal in yangyuan-zhen/PolyWeather) into .claude/skills/ultragoal in your project. Claude Code loads it when a task matches its description.

How do I install Ultragoal in Codex?

Run `npx skills add yangyuan-zhen/PolyWeather --skill ultragoal -a codex`. Or copy the skill folder (.codex/skills/ultragoal in yangyuan-zhen/PolyWeather) into .agents/skills/ultragoal in your project. Codex loads it when a task matches its description.

Can I use Ultragoal in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yangyuan-zhen/PolyWeather --skill ultragoal -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ultragoal, .gemini/skills/ultragoal, .github/skills/ultragoal and .opencode/skills/ultragoal in your project.

What does Ultragoal need to run?

SKILL.md names no scripts, command-line tools or credentials: Ultragoal is instructions for the agent only.

Does Ultragoal access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ultragoal safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ultragoal use?

Ultragoal is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ultragoal use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ultragoal?

Skills that share tags, products or a category with Ultragoal: Ultragoal (Yeachan-Heo/oh-my-claudecode, 40k stars), Ultragoal Multi-Goal Ledger (Yeachan-Heo/gajae-code, 2.9k stars), Execute (alirezarezvani/claude-skills, 28k stars) and Goals (codewhale-hq/Codewhale, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ultragoal?

yangyuan-zhen (a GitHub user) maintains it in yangyuan-zhen/PolyWeather, which has 316 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on September 20, 2026.

Source: yangyuan-zhen/PolyWeather on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.