goal

goal is a command for Claude Code from synaptiai/synapti-marketplace. It costs 83 tokens per session (8,527 once invoked), scanned A, original, Apache-2.0.

A command for managing FlowGoal completion contracts: written objectives with acceptance criteria and checks that determine whether work is finished.

In plain words
What is it for?
Use it to create, inspect, evaluate, pause, resume, clear, and review the history of goal contracts.
Why use it?
It makes task completion explicit and durable instead of relying only on the current conversation.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it to create, inspect, evaluate, pause, resume, clear, and review the history of goal contracts.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 agents.

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 goal

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/goal/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/goal)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/goal"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/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 goal

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/goal"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,527 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 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.00083 $0.08527
Opus 5.5 $0.00033 $0.03411
Sonnet 5.5 $0.00017 $0.01705
Haiku 4.5 $0.00008 $0.00853

Measured 25d ago against content hash d5e276792d7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 25d 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.

plugins/flow/commands/goal.md · 433 lines

How it starts

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

/flow:goal — FlowGoal lifecycle management

Project-local replacement for the session-only Claude Code /goal built-in. Flow cannot invoke /goal from plugin code — instead this command writes durable <runtime dir>/goals/<id>.goal.yaml artifacts (<runtime dir> is the runtime directory, flow.runtime.stateDir, default .flow, which the scan block below prints as RUNTIME_DIR=) that the Stop hook (flow-goal-stop.sh), evaluator, and /flow:status all read.

Required Skills

Invoke these skills as part of the subcommand workflows below:

  • goal-contract-capture — every create subcommand
  • goal-evaluator — every evaluate subcommand
  • goal-lifecycle — every state-transition subcommand (pause, resume, clear, after evaluate)
  • goal-evidence-ledger — when evaluator captures new evidence sidecars
# Inline the Required Skills above so their rules are in context before the
# first phase runs (commands cannot preload skills from frontmatter). Ambient
# skills load whole; dispatched skills (context: fork / agent:) load their
# `## Contract` section and run in full when this command invokes
# Skill(<name>). Output per `references/command-output-format.md`.
"$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/bin/flow-load-skills.sh" goal-contract-capture goal-evaluator goal-lifecycle goal-evidence-ledger

true

Ask Policy

Which questions reach the person (references/ask-policy.md). Every place below that asks carries a tag. Under ASK_POLICY=autonomous (autonomous: true), an [ask: default] place does not ask: take its recommended option, record it with bin/journal-record.sh --type default-taken, and list it in the summary. [ask: decision] and [ask: permission] places ask under either policy, with metadata: {"source": "flow:decision"} or {"source": "flow:permission"} in the AskUserQuestion input; the ask-policy.sh hook denies any other question while the policy is autonomous.

Read the full file on GitHub · 433 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. 25d ago Changed · +20 lines d5e276792d7a
  2. 1mo ago Changed · +44 lines · +12 tokens per session 8c8cb3a78385
  3. 1mo ago Changed · +7 lines 1e814f8959c5
  4. 2mo ago Changed · +45 lines 1d2f25982f0e
  5. 2mo ago Changed ed1481becc87
  6. 2mo ago Changed · +11 lines a81cd9eebd03
  7. 2mo ago Changed · +51 lines 11931bdaca9c
  8. 2mo ago Changed 155c66f95639
  9. 2mo ago Changed · +11 lines 51554eb2d7ee
  10. 3mo ago First seen · 244 lines · 71 tokens per session scan A 0907cef2bd3b

Subscribe to this mod's changes

goal is a command published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 83 tokens to every session and 8,527 once invoked, about $0.0003 per session on Opus 5.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-09-03.

Related

goal compared with commands from other repositories

goal next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
goalsynaptiai/synapti-marketplaceCommand9todayApache-2.0A83Claude Code
create-worktreeCaptainMe-AI/lead-dev-osCommand224d agoMITA0Claude Code
paper-trail-reviewroomi-fields/paper-trailCommand83mo agoMITA39Claude Code
paper-trail-new-paperroomi-fields/paper-trailCommand83mo agoMITA35Claude Code
paper-trail-registry-cleanuproomi-fields/paper-trailCommand83mo agoMITA109Claude Code
paper-trail-cascaderoomi-fields/paper-trailCommand83mo agoMITA44Claude Code
paper-trail-linkifyroomi-fields/paper-trailCommand83mo agoMITA70Claude Code