/odin-run:goal-prompt-draftingfrom ODIN Run
Drafts copy-ready /goal objectives for long-running agents. Reads repository context to ground elements, normalizes to one line within the 4,000-character limit.
Ships in ODIN Run. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User asks to draft, rewrite, compress, or prepare a copy-ready goal-mode objective or /goal command for a long-running agent. |
| Authority | Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. |
| Side effect | Chat output only; applies a deterministic one-line normalizer and returns one normalized /goal command plus only necessary missing-information warnings. |
| Done | The objective states a measurable end state, grounded proof, invariants against easy-outs, and a stop or blocked clause; it is one line within the 4,000-character harness limit, and any ungrounded contract element is listed as missing. |
/goal is taken as one line.legacyAuth() call sites use auth.verify()", not "migrate the auth code". An activity can be claimed; an end state is true or false.pnpm test exits 0"), plus an instruction to run it and show the output; a result that never lands in the transcript does not exist to the evaluator.GOAL.md and reference that file from the objective. Done when: the objective is one terminating criterion or the minimal set, definitions are moved to a referenced file, and the total length is at or under 4,000 characters./goal prefixes, surrounding quotes, and code fences; warn if a stop clause is missing; reject output over 4,000 characters: shorten or move detail to a referenced file and rerun rather than truncating the contract. Done when: the output is one line, whitespace-collapsed, stripped of prefixes and fences, at or under 4,000 characters, and carries a stop-clause warning if one is absent.text block, one line, as shown in Output. Add no prose around it except a Missing: list when checklist elements could not be grounded. Done when: exactly one fenced text block is returned on one line, with no surrounding prose except a Missing list when elements are ungrounded.Missing: list, one line per gap, telling the user what to supply. A goal with an invented success condition terminates on the wrong contract.Missing: as a warning rather than inventing an absurd constraint; an invented or absurd constraint is worse than a flagged gap.Missing: list; never claim the done predicate holds while a contract element is ungrounded.Exactly one fenced text block, one line:
/goal <single normalized objective>
Followed by a Missing: list (one line per gap) only when checklist elements could not be grounded. No other prose.
Example grounded result:
/goal All legacyAuth() call sites use auth.verify(): `rg "legacyAuth\(" -t ts` prints nothing AND `pnpm test` exits 0 (run both, show the output), without modifying vendor/ or weakening any test. If blocked, stop and report attempted paths and the blocker, or stop after 20 turns.
Example with gaps (no metric or benchmark in context):
/goal Make checkout faster
Missing:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-run46 skills in this plugin
/append-run-logUse when a completed agent run must be recorded as durable, queryable evidence. Not for remote, credential, publish, deploy, or irreversible changes./artifact-arenaUse when asked to run /artifact-arena to generate and judge competing artifact implementations. Not for remote, credential, publish, deploy, or irreversible changes./audit-loop-scaffoldUse when loop scaffold files have drifted from their provenance-pinned templates. Not for remote, credential, publish, deploy, or irreversible changes.Other plugins' skills for the same job