to-goal

to-goal is a skill for Claude Code, Codex from tt-a1i/matt-skills-with-to-goal. It costs 62 tokens per session (2,253 once invoked), scanned A, original, MIT.

A planning tool that turns an approved specification, ticket, or project notes into a clear execution goal for a coding agent.

In plain words
What is it for?
It selects an unblocked ticket, checks whether it is ready, and creates a dependency-aware handoff with verifiable conditions.
Why use it?
It gathers the existing planning and repository information so work can start without asking the user to repeat decisions or context.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Part of the matt-skills-with-to-goal plugin — 40 skills shipped together

Good fit It selects an unblocked ticket, checks whether it is ready, and creates a dependency-aware handoff with verifiable conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tt-a1i/matt-skills-with-to-goal/to-goal
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 tt-a1i/matt-skills-with-to-goal --skill to-goal
Clone the repo
git clone --depth 1 https://github.com/tt-a1i/matt-skills-with-to-goal

Made for: Claude Code, Codex.

Or install matt-skills-with-to-goal, the plugin that ships this one along with the rest of its 40 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tt-a1i/matt-skills-with-to-goal/to-goal/github.svg)](https://agentmods.dev/skills/tt-a1i/matt-skills-with-to-goal/to-goal)
Your own site
<a href="https://agentmods.dev/skills/tt-a1i/matt-skills-with-to-goal/to-goal"><img src="https://agentmods.dev/badge/skills/tt-a1i/matt-skills-with-to-goal/to-goal/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 to-goal

Your own site · 80×15
<a href="https://agentmods.dev/skills/tt-a1i/matt-skills-with-to-goal/to-goal"><img src="https://agentmods.dev/badge/skills/tt-a1i/matt-skills-with-to-goal/to-goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,253 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00062 $0.02253
Opus 5 $0.00031 $0.01126
Sonnet 5 $0.00012 $0.00451
Haiku 4.5 $0.00006 $0.00225

Measured 12d ago against content hash 4cddcae6e274, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

to-goal 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 12d 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.

skills/engineering/to-goal/SKILL.md · 187 lines

How it starts

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

To Goal

Compile existing planning and repository evidence into an execution goal. Do not implement, mutate the tracker, create a branch, or modify files.

Source of truth

Read ../goal-crafter/SKILL.md only for compiled-handoff mode, Phase 2 harness formats, Phase 3's four self-checks, and Special Rules (never re-interview; one verifiable condition per checkbox). Skip Phase 1 and Examples. This skill owns context gathering, frontier selection, readiness checks, and execution handoff. Do not reopen decisions already made by to-spec, to-tickets, or triage.

Accepted inputs

Resolve one of:

  • no argument: inspect the configured tracker and select the current unblocked, agent-ready frontier ticket;
  • a ticket number or URL: read that ticket in full;
  • a parent spec issue: read the spec, sub-issues, and blocking graph, then select its current frontier;
  • a local spec or ticket path: read the complete file and any directly referenced local planning document (local tracker: .scratch/<feature>/spec.md and one file per ticket under .scratch/<feature>/issues/<NN>-<slug>.md);
  • --all <parent>: generate one dependency-ordered cross-ticket goal.

Always read ticket comments. For a tracker parent, use native sub-issue and dependency relationships when available; otherwise use explicit blocker text. Do not infer that a ticket is ready merely from its label.

If no argument yields several frontier tickets, list them and ask the user to choose one. Do not silently combine them. If a requested ticket is blocked, report its blockers and do not generate an implementation goal.

For a spec with no tickets, generate a goal directly only when the entire work fits one fresh context window. If it is multi-session work, route it through to-tickets instead of bypassing the context boundary.

Gather current evidence

Before drafting:

  1. Read the complete source spec and selected ticket, including acceptance criteria and comments.
  2. Inspect the repository instructions and relevant design vocabulary.
  3. Inspect the current branch, HEAD, worktree status, recent commits, and diff. Record the pre-implementation HEAD as the code-review fixed point.
  4. Compare current behavior and tests with every acceptance criterion.
  5. Classify criteria as evidenced complete, demonstrably incomplete, or unverified. A commit message is not evidence.
  6. Discover validation commands from the repository's own scripts, CI, documentation, and existing tests.
  7. Preserve user-established permissions and workspace boundaries from the source context.

Read the full file on GitHub · 187 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 187 lines · 62 tokens per session scan A 4cddcae6e274

Subscribe to this mod's changes

to-goal is a skill published in the GitHub repository tt-a1i/matt-skills-with-to-goal (160 stars, last pushed 15d ago), licensed MIT. It adds 62 tokens to every session and 2,253 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

handing-off-work

Hands off unfinished work with a closed-loop briefing of state, changed conditions, remaining scope, authority limits, and open evidence. Use when AI-agent, reviewer, verifier, releaser, or resumed-thread work transfers to a new owner. Do not use when the same owner continues uninterrupted with full context.

FlyFission/nuclear-grade-context-engineering · 65 tokens

tracking-deficiencies

Keeps a standing register of known deficiencies so flaky tests, noisy alerts, unowned services, and recurring incidents get aged, owned, and fixed or formally risk-accepted instead of quietly normalized. Use when a known problem will outlive a single change. Do not use for a one-off lesson already closed inside a…

FlyFission/nuclear-grade-context-engineering · 80 tokens

pace-bridge

Use to bridge a confirmed Superpowers/native plan into PACEflow CHG/HOTFIX artifacts, create artifact-writer prompts, and mark the specific plan as synced.

paceaitian/paceflow · 38 tokens

trellis-workflow-enhancer

Audit and apply real, project-local Trellis integrations for Matt Pocock and Waza skills, with phase routing, hook injection, durable artifact handoffs, and smoke-test evidence. Use when a user wants to strengthen, compare, modernize, integrate, or debug Trellis with Matt/Waza workflows, especially when skills are…

lei1024/trellis-workflow-enhancer · 79 tokens

specgate-work-preparation

Use when preparing a request or existing source documents for SpecGate approval, creating quick SpecGate work, publishing an artifact version, or repairing artifact readiness before implementation.

thanhtung2693/specgate · 38 tokens

jira-issue-create

Create one or more Jira issues through acli from user-approved drafts using heading-based Context, Acceptance criteria, and Engineering notes sections. Use only when explicitly invoked to create Jira issues; use jira-issue-refine when requirements still need refinement.

yarlson/yarstack · 53 tokens