init

A project setup command for Goal Flight, a system that organizes coding work into tracked goals and queued tasks.

In plain words
What is it for?
Use it when adding Goal Flight to a project or resyncing its installed instructions after they change.
Why use it?
It prepares the project files and host configuration that Goal Flight needs, so the agent can discover work, track progress, and pass context between sessions.

Command

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.

agentmods
npx agentmods add commands/simonrowland/goal-flight/init
Clone the repo
git clone --depth 1 https://github.com/simonrowland/goal-flight
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,071 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00008 $0.03071
Opus 5 $0.00004 $0.01536
Sonnet 5 $0.00002 $0.00614
Haiku 4.5 $0.00001 $0.00307

Measured yesterday against content hash 4c81eab7c5b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

init 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 yesterday.

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.

commands/init.md · 275 lines

How it starts

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

init

Initialize a project for goal-flight with compact, procedural discovery.

Read protocols/session-preflight.md, protocols/tool-readiness.md, protocols/project-state-layout.md, protocols/task-lifecycle.md, protocols/progress-dashboard.md, protocols/premises.md, protocols/state-handoff.md, protocols/worker-context-package.md, protocols/scout.md, and protocols/chunk-review.md (review tooling).

Steps

  1. Confirm host setup/bootstrap happened. If this is a fresh host install, run setup from your Goal Flight clone (default ~/.goal-flight) before project init:
./setup.sh --agent codex
./setup.sh --apply --yes --agent codex

./setup.sh --cursor
./setup.sh --apply --yes --cursor

# Optional Cursor project-local install:
./setup.sh --apply --yes --cursor-project "$PWD"

After source SKILL.md, commands/, protocols/, templates/, or adapters/ changes, copied host installs need a resync from the source repo with ./install.sh <host> or the matching setup path unless the host skill path is a symlink. Doctor JSON reports installed_skill_drift, and text mode prints installed_skill_md_hash WARNs.

For Codex, setup registers the Goal Flight package for the Desktop orchestrator surface, cleans any duplicate legacy personal Codex skill when plugin registration succeeds, checks the CLI worker surface, and registers context-mode MCP when needed. codex exec remains the worker path. For Cursor, setup installs global agent instructions, a personal skill, rules, and Cursor MCP config for context-mode. Project-local setup writes the wrapper and, when context-mode is selected, project-specific .cursor/mcp.json under the target repository.

Default add-ons (same tier as setup prompts):

  • context-mode — large-output offload
  • gstack — default independent reviewer for both chunk-level pre-commit review and milestone review. When host gstack skills are missing, init offers: minimal subset (default: /review, /office-hours, /plan-eng-review, plus downloaded community skills grill-me from udecode/plate and thermo-nuclear-code-quality-review from cursor/plugins), full pack, or skip. Full-pack delegation is used only for hosts the upstream gstack setup supports; unsupported hosts fall back to the minimal copy path with a teaching message. The minimal path exposes only the Goal Flight subset from an existing local gstack checkout/cache and downloads the two public community skills only after the same consent prompt; download failures warn and degrade gracefully. Download sources are pinned HTTPS URLs; the test-only source override (GOALFLIGHT_GSTACK_EXTERNAL_SOURCE_*) is ignored unless GOALFLIGHT_ALLOW_EXTERNAL_SOURCE_OVERRIDE=1 is also set, with a visible ignored-override warning otherwise. Local fallback prompts live in prompts/gstack-claude-review.md and prompts/gstack-codex-challenge.md when gstack is not installed.
  • autoreview — complementary diff-local pre-commit pass via scripts/autoreview.sh. Runs in parallel with gstack at chunk level when the orchestrator chooses; does not replace gstack as the default review path. Vendored at autoreview/; doctor WARNs if autoreview/scripts/autoreview or scripts/autoreview.sh is missing (override helper with AUTOREVIEW_HELPER).

Read the full file on GitHub · 275 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. yesterday First seen · 275 lines · 8 tokens per session scan A 4c81eab7c5b9

Subscribe to this mod's changes

init is a command published in the GitHub repository simonrowland/goal-flight (20 stars, last pushed 3d ago), licensed MIT. It adds 8 tokens to every session and 3,071 once invoked, about $0.0000 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.