/long-haul:haul-specfrom long-haul
Phase 1 of long-haul. Converts a user ask into a well-defined spec with deliverable, success signal, toolbox, constraints, and out-of-scope. Grills vague asks and produces .longhaul/SPEC.md.
Ships in long-haul. 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.
None: SKILL.md is the whole skill.
Phase 1 of long-haul. The haul will run for many turns; it can only run
straight if it starts from a sharp spec. Your job is to produce
.longhaul/SPEC.md — and you are not done until it has a success signal whose
proof Claude can show in chat.
A spec is sharp enough when you can answer all five sections below without
guessing. If the ask is vague — no clear deliverable, no notion of "done",
hand-waving at the success signal — grill it before writing anything. Invoke
the grilling skill (the model-invocable form of /grill-me): interview the
user one question at a time, walking the design tree, until the deficiency and
the target are concrete. Explore the codebase to answer your own questions
wherever you can rather than asking.
Don't grill a spec that's already sharp. Two or three pointed questions can be enough; a fully-specified ask needs none.
Before any menu, ask the cheapest question there is: "Is there a file, ticket, PR comment, or person that defines what 'done' means here?" One pointer often reframes the whole deliverable — a single file can turn "resolve this PR" into a concrete change. Let the user hand you that source before you presume an answer space.
haul-goal (the next phase) needs a transcript-demonstrable success
signal — because /goal's evaluator only reads the conversation, it can't run
tools. So you are not done until you have a check whose output Claude can show:
a test that exits 0, a benchmark number a script prints, a file count, a lint
result. "Better" or "working" without a number is not a signal — push until it's
concrete.
Then probe whether it's headlessly demonstrable: can Claude run it and show the
output in a transcript? If the real artifact can't be (an Airflow DAG with no
local airflow, a service needing a live container), record the runnable
proxy — a committed test that stands in for it (e.g. a static/AST check of the
DAG's task order) — and prefer the proxy that doubles as a CI regression guard.
Note any live-MCP/container confirmation as belt-and-suspenders, but the proxy is
what the /goal signal rides on.
Most real "done"s have two tiers, and conflating them is the most common way a long-haul spec goes wrong. Separate them explicitly:
Pin both in the spec when they differ: which check is the per-round ratchet, and
which (if any) is the terminal acceptance gate, what it costs, how it's run, and
what pasted evidence proves it. If the only check is cheap and headless, say so —
there's no gate, and the ratchet is the whole signal. If "done" requires the
expensive gate, haul-goal will structure /goal so the ratchet loops and the
gate is a one-time terminal proof — but it can only do that if the spec names both.
A long run drifts unless its means are bounded. The spec names the toolbox: the specific skills and MCP servers this haul is allowed to reach for. Settle it with the user now:
/tdd, /review, check-voids-db).voids-db, or none).If a tool isn't in the toolbox, haul-loop doesn't reach for it.
Explore the target first (read the file/module, recent commits, existing tests
or benchmarks). Verify any locations the source-of-truth cites — an ADR,
ticket, or PR that names file.py:NNN, a function, or a flag has almost always
drifted; grep the current tree, confirm where the symbol actually lives, and
record the corrected refs in SPEC.md (note the original if it helps the haul
orient). A spec that sends the haul to a stale line number wastes its first
round. Then settle the sections — but match the instrument to the question:
AskUserQuestion. Don't open a menu until (a) you've let the user point you at the source of truth, and (b) you've confirmed the deliverable is genuinely enumerable. If either is unmet, ask one open question in plain chat — a menu presumes the answer space it's meant to discover. And read a rejected menu as a signal: when the user clarifies or rejects your tabs, the deliverable isn't pinned yet — drop back to open grilling, don't reissue a reworded menu.AskUserQuestion tabs. Once the deliverable is known and enumerable, settle the genuinely bounded sub-decisions (which repo, which layer, the threshold, the toolbox) with the tool: one question per call, 2–4 concrete options as tabs grounded in your exploration (the user can pick Other to free-type).Never dump the sections as a prose checklist.
target_repo, which may not be cwd), then which file/module/endpoint/behavior.If the ask bundles several independent deliverables, say so and pick one to haul now; the rest are separate runs.
Write .longhaul/SPEC.md using the template in
../long-haul/reference/file-formats.md.
Show the user a 5-line recap (deliverable · success signal · toolbox · key
constraint · out-of-scope) and confirm it's right. Advance PHASE: goal.
If invoked standalone (not by the orchestrator), end by suggesting:
"Next: haul-goal to turn this into a /goal condition."
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
specification, project-planning, goal-setting, long-haul, requirements
npx claudepluginhub ccomkhj/skills --plugin long-haul5 skills in this plugin
/haul-goalPhase 2 of long-haul. Turn .longhaul/SPEC.md into a /goal-ready completion condition — one measurable end state, a stated transcript-demonstrable check, the constraints that must hold, and a round cap — written to .longhaul/GOAL.md plus the literal /goal line for the user to run. If the end state isn't clear or measurable, iterate with the user one question at a time until it is. Use after haul-spec, or standalone to craft a good /goal condition from a clear spec./haul-loopPhase 3 of long-haul — the per-turn loop. Under an active /goal, each turn run exactly one round: decide explore (a fresh approach off the base commit) vs exploit (refine the incumbent), implement the attempt in a git worktree following the /implement contract, run the goal's stated check, and keep the attempt only if it beats the incumbent — a ratchet that never regresses. Writes R<N>.md, surfaces the check output in chat. Pass --background to detach the whole haul into a nohup'd driver that survives terminal/session close (for overnight/remote runs), logging a structured block per loop to PROGRESS.log. Use as the iteration phase of a long-haul run./haul-shipPhase 4 of long-haul — the finishing move. Fires once the /goal condition is met (the goal auto-clears) or the round cap trips. Reports goal-vs-achieved with the final check output, the explore/exploit path each round took, and the net kept diff; then commits the incumbent on a feature branch and opens a PR. Always confirms the branch and PR body with the user before pushing. Use as the last phase of a long-haul run./long-haulAuto-chaining orchestrator for a solo long-horizon goal loop. Sharpen a spec (grill it if vague), forge a /goal completion condition, then haul toward it turn after turn in a git worktree — each turn deciding explore (a fresh approach off the base) vs exploit (refine the incumbent), keeping only measured wins, until the goal holds. Use when the user wants one agent driven relentlessly toward a verifiable target over many turns — not a one-shot edit. Reach for it when the user says "keep working until", "loop until done", "long haul", or hands a spec to be built to completion.Other plugins' skills for the same job