Agent Skill · GitHub Copilot CLI

Set a goal. Walk away.
Come back to it done.

A branded, upgraded replacement for Claude Code's /goal. Give it one completion condition and it relentlessly takes turns toward it — orchestrating specialist skills — until an independent check proves it's done.

copilot — moonshot
›moonshot: all tests in test/auth pass and lint is clean — or stop after 20 turns
›check: npm test -- test/auth && npm run lint
moonshot active — verifying every turn by re-running the check
turn 1 · 1/2 milestones · g_investigate → 1 auth test failing (expired token)
turn 2 · 1/2 milestones · re-ran check → exit 1, lint clean
turn 3 · 2/2 milestones · re-ran check → exit 0
moonshot achieved — 3 turns, 2m, skills: g_investigate

3
Turns to green
2m
Time to done
6/6
Upgrades verified
25
Default turn cap

Why it beats native /goal

It only reads what the agent says. Moonshot verifies, orchestrates, and governs the run.

CapabilityNative /goalMoonshot
Verifies by re-running a check (exit code = truth)✗ trusts narration✓
Orchestrates specialist skills✗ one agent✓
Anti-stall / no-progress detection✗✓
Regression guard for already-passing checks✗✓
Per-turn audit log with evidence✗ latest only✓
Budget governance (turns + time, labeled stops)text clause✓
Six upgrades, verified

Each checked by an independent model against a rubric — 6/6 plus fidelity and safety.

01 · Independent verification

Re-runs your check: command every turn. A non-zero exit is authoritative not-met.

02 · Skill orchestration

Invokes the best specialist for each unit of work.

03 · Anti-stall

Detects no-progress and escalates after 3 turns.

04 · Regression guard

Re-verifies done milestones and flips them back if they regress.

05 · Audit log

Every turn records the skill, exit code, verdict, and evidence.

06 · Budget & milestones

Turn/time budgets; X/Y progress for compound goals.

How the loop works

Pair it with /autopilot and it runs unattended, one turn after another.

1

Pick a unit

Guided by the last verdict and any unmet milestones.

2

Orchestrate

Invoke the best specialist skill (gstack g_*) for that unit.

3

Verify

Re-run the check command yourself — exit code is ground truth.

4

Evaluate

A fresh claude-haiku-4.5 model judges the new evidence.

5

Log & guard

Record the turn, then check stalls, regressions, budget.

6

Finish

Continue, or stop when the objective is achieved.

Moonshot vs Warp

Same loop, verification, orchestration and safety. One thing differs: the turn cap.

Moonshot

Default 25-turn cap

The goal loop with a default cap for safety. Ideal for most bounded work.

Stops at achieved, stalled, cleared, or budget-limited. One goal per session, condition ≤ 4000 chars.

Warp No limit

Turn cap removed

Moonshot with max_turns set to null. Runs until achieved or stalled.

Uncapped isn't unsafe — stall detection is the runaway stop, and Warp insists on a check: command so long runs stay verified.

Get started

Install the skills, turn on autopilot, and state a goal.

# install the two skills
git clone https://github.com/alexselig/moonshot
cp -r moonshot/moonshot ~/.copilot/skills/moonshot
cp -r moonshot/warp     ~/.copilot/skills/warp

/autopilot
moonshot: npm run build exits 0
check: npm run build