Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ccomkhjv1.2.0MITIn 1 marketplace
Runs an unattended goal loop in git worktrees, keeping only measured wins until the goal holds. Background mode survives closing the terminal and, on Linux, the login session; needs a git repo and Claude Code v2.1.139+ for /goal.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A five-skill plugin that drives one agent relentlessly toward a verifiable
goal over the long horizon — the solo cousin of dual-haul. No race; the
leverage is the explore/exploit discipline and a ratcheting incumbent
that keep a long, unattended run from drifting.
The arc, driven by an auto-chaining orchestrator (the main Claude session):
/long-haul [a spec, or a vague idea to sharpen]
│
├─ 1. haul-spec harden the ask into a spec: located deliverable,
│ transcript-demonstrable success signal, the *toolbox*
│ (allowed skills + MCP), constraints. Grill if vague.
├─ 2. haul-goal forge a /goal-ready completion condition ──▶ [GATE: you approve + run /goal]
├─ 3. haul-loop each /goal turn, one round: decide explore vs exploit,
│ implement in a worktree (the /implement contract),
│ keep only a measured win on the incumbent ratchet
├─ (─/goal auto-clears when the condition is met, or the round cap trips─)
└─ 4. haul-ship goal vs achieved + the explore/exploit path, then a PR
──▶ [GATE: you confirm]
A long haul is a bandit problem. The incumbent is the best result so far — a
durable longhaul/incumbent branch plus its measured score on the goal's check.
It is a ratchet: every attempt runs in a throwaway worktree branch and only a
measured win moves the incumbent (merge --ff-only for an exploit,
reset --hard for a winning explore), so a losing attempt can never touch it and
the run never regresses. Each turn the orchestrator chooses:
A stall is STALL_CAP consecutive rounds (default 2) with no improvement;
hitting it forces the next round to explore. Any improvement resets the counter.
Rejected explores are recorded so the same dead end isn't tried twice.
/goal keeps the session working until a condition holds. long-haul rides it,
but adds the structure a long unattended run needs: a bounded toolbox so it
can't wander, an incumbent ratchet so it never goes backward, and the
explore/exploit rule so it neither grinds a plateau forever nor abandons a
working line too early.
/haul-loop --background detaches the whole haul into a nohup'd driver
(reference/haul-bg.sh) that survives the terminal closing — and on Linux the
whole login session, so you can submit it on a remote box and let it grind
overnight. It runs one headless claude -p round at a time, decides "goal met"
by running .longhaul/check.sh (the runnable form of the goal's check), and
writes one structured block per loop to .longhaul/PROGRESS.log:
[Loop2]
start: 2026-06-26 17:19:42
output: hoist attempt regressed correctness; 2 tests red, discarded
error message: test_rounding FAILED: expected 3.14, got 3.1
next decision: exploit (stall 1) -> fix the rounding, keep the hoist
source ~/.claude/skills/long-haul/reference/haul-bg.sh
haul_bg_start # detaches; safe to close the terminal haul_bg_status / haul_bg_stop
You can also convert a running foreground haul to background mid-flight:
haul_bg_start (resumes from the current round), /goal clear, close the
terminal. A bg.pid lock guarantees only one driver ever touches .longhaul/ —
no human approves tool calls overnight, so the driver runs with
--permission-mode bypassPermissions, blast-radius-bounded by the per-round
worktree.
Everything auto-advances except:
/goal … line haul-goal produces and run it yourself (slash commands are user-invoked).haul-ship shows the branch + PR body before pushing. Configurable: GATES: confirm_pr=auto lets an accepted unattended run open a draft PR without parking.For an unattended run, the orchestrator's detach-readiness preflight checks
the whole path is clear (Auto mode, hooks, confirm_pr=auto, and — for
--background — check.sh + haul_bg_start) so it can't silently park after
you've disconnected. The deliverable's repo is target_repo, which may
differ from the invocation cwd — BASE, worktrees, the incumbent, and the PR all
follow it.
.longhaul/All coordination lives in .longhaul/ at the repo root (gitignored), the same
pattern as the sibling pair-* skills:
7-day copy clicks
npx claudepluginhub ccomkhj/skills --plugin long-haulBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground