Skip to content
Skill

Haul goal

Turns a spec into a measurable /goal completion condition for a long-running haul

Haul goal is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
10
Last commit
License
MIT
Listing updated

Similar skills

About Haul goal

This skill is the second phase of the long-haul workflow. It reads a spec file and rewrites its success criteria as a single completion condition that Claude Code's /goal command can evaluate. The condition is built from one measurable end state, a check whose output shows up in the chat transcript, the constraints that must keep holding, and a round limit so an unreachable goal still stops.

If the spec's end state is vague or cannot be verified from transcript output, the skill asks the user one question at a time until it becomes concrete. It then writes the condition, the exact command to run as a proof line, and the literal /goal line to a GOAL.md file, and records the phase in a state file. It also pins the interpreter or environment used for the check and, where a spec defines a cheap ratchet check plus a one-time acceptance gate, keeps both in the condition.

The skill needs an existing spec from the long-haul workflow or a clear spec supplied by the user, and it works with Claude Code's /goal feature. The user must review the resulting line and run /goal themselves, since the agent cannot execute slash commands.

When your agent uses it

Phase 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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (7 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the long-haul plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ccomkhj/skills
/plugin install long-haul@ccomkhj-skills

Or copy only this skill to ~/.claude/skills/haul-goal:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/haul-goal &&
cp -R "$tmp/long-haul/skills/haul-goal" ~/.claude/skills/haul-goal &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/haul-goal inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/haul-goal to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/haul-goal &&
cp -R "$tmp/long-haul/skills/haul-goal" ~/.agents/skills/haul-goal &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/haul-goal inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/haul-goal to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/haul-goal &&
cp -R "$tmp/long-haul/skills/haul-goal" ~/.cursor/skills/haul-goal &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/haul-goal inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ccomkhj/skills.git --path long-haul/skills/haul-goal

Or copy the folder to ~/.gemini/skills/haul-goal yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/haul-goal:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/haul-goal &&
cp -R "$tmp/long-haul/skills/haul-goal" ~/.copilot/skills/haul-goal &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/haul-goal inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ccomkhj/skills.git

Then copy skills/long-haul/skills/haul-goal into your agent's skills folder as haul-goal. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Measurable end state
Reduces a spec's success criteria to one concrete, checkable outcome such as a test exit code or benchmark threshold.
Transcript-visible proof line
Produces the exact command whose output the agent prints each round so the evaluator can confirm completion.
Constraint and round cap
Adds the conditions that must still hold during the run and a maximum round count so the goal terminates.
Interpreter pinning
Records the exact environment and worktree setup used to run the check so a passing result reflects the intended code.
Interactive clarification
Asks the user one question at a time when the spec's success signal is unclear or not verifiable.
Ratchet and acceptance gate
Handles specs with a per-round check plus a one-time external gate, requiring both evidence types before completion.

Good for

  • Turn a finished project spec into a /goal condition that stops when tests pass
  • Write a measurable completion target for a benchmark-driven optimization run
  • Craft a goal with a round limit for a task that may not be achievable
  • Check whether a spec's success criteria can be verified from command output
  • Prepare a GOAL.md file recording the exact command and environment for an agent run

Haul goal FAQ

Does Haul goal run the /goal command itself?

No. It writes the condition and the literal /goal line, then asks the user to review it and run /goal themselves.

What does Haul goal need to start?

A spec file at .longhaul/SPEC.md from the earlier long-haul phase, or a clear spec the user provides when invoked standalone.

What files does Haul goal create or change?

It writes .longhaul/GOAL.md containing the condition, the /goal line, and the proof line, and sets the goal and phase fields in STATE.md.

What happens if the success criteria are unclear?

The skill asks the user one question per step, offering concrete options, until the end state is measurable and its check can be printed.

How do I install Haul goal in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/haul-goal to use it in all your projects, or to .claude/skills/haul-goal in one project. Or install the long-haul plugin, which includes it: /plugin marketplace add ccomkhj/skills, then /plugin install long-haul@ccomkhj-skills.

Does Haul goal run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Haul goal?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Haul goal?

The closest alternatives to Haul goal are Haul spec, Long haul, Dual goal, Haul ship and Haul loop.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ccomkhj/skills

  1. Audits AGENTS.md project memory files and proposes targeted, approved updates

    • Open source
    • 10 GitHub stars
    • Developer tools
  2. Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases

    • Open source
    • 10 GitHub stars
    • Education and exam prep
  3. Runs a project and builds an interactive walkthrough from what actually executed

    • Open source
    • 10 GitHub stars
    • Developer tools
  4. Turns a clear improvement target into a measurable Claude Code /goal condition

    • Open source
    • 10 GitHub stars
    • Developer tools
  5. Races Claude against Codex in separate git worktrees until a measurable goal is met

    • Open source
    • 10 GitHub stars
    • Developer tools
  6. Runs a per-turn race between two coding agents and keeps the better diff

    • Open source
    • 10 GitHub stars
    • Developer tools