/compound:handofffrom Compound
Save mid-task progress — what is done, what is next, what already failed — so a session resumes work in flight. Use when building has started; for a settled plan, use to-spec.
Ships in Compound. 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.
Writes what this conversation knows into a file, so the work survives the window that held it.
This is the fork. The file carries clean context and everything that mattered, so the work resumes without the thread that produced it. Write it unaided — never wait on the user to compact or summarise first.
Reach for it when the window is filling before quality starts degrading, when work needs to branch off, or when stopping for the day.
Keep:
Drop: the narration, the tool output that led nowhere, the intermediate reasoning that already produced a conclusion. Keep the conclusion.
Completion criterion: you can point at every open decision in the thread and say whether it is captured or deliberately dropped.
To .compound/handoff.md by default. That path is what the compaction loop reads
from, so keeping it current is what makes a long session survive being compacted. Overwrite
it — it describes now, not history.
Write to a named file in the repo instead when the handoff is meant to last: stopping for the week, forking work someone else will pick up, or anything worth committing. Say which you did.
# Handoff: <what this work is>
**Status**: <one line — where things stand>
## Goal
<what is being built and why>
## Decisions
- <decision> — because <reason>; rejected <alternative> because <reason>
## Done
- <what landed> — verified by `<command>`, which passes
## In flight
<the exact next action, specific enough to start on without re-deriving it>
## Files
- `path` — <what it does in this work>
## Dead ends
- <what was tried> — did not work because <reason>
## Start here
<the first thing the next session should read or run>
Completion criterion: a session that was never here could read this file and take the next action without asking a question.
Say where the file is and what it resumes, in a line or two.
Where this was a fork — a fresh window on the same work — opening the next session is the user's to make. State it once as the natural next move, not as an instruction.
Where this was written to survive compaction in the session you are already in, say so and stop. There is nothing for the user to do: compaction will take care of itself, and the file is what makes that safe.
Where the fork is temporary — branching off to answer one question and coming back — say what to bring back, so the return trip has a shape.
Anything in the handoff that is a durable decision rather than working state belongs in
the wiki too: capture files it, and it stops depending on anyone finding this file again.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mthanhlm/compound --plugin compoundOther plugins' skills for the same job
12 skills in this plugin
/captureFile a decision, root cause, or discovery into the repo wiki. Use once something has been settled, diagnosed, or learned that the next session would want./diagnosingFind the cause of a bug that resists — intermittent, mysterious, or a regression between two known-good states. Use when it is not yet clear why something breaks; once the cause is known and reproducible, tdd writes the test./goStart a piece of work properly — interview the user one question at a time until its shape is settled, before anything gets built. Use when a request could reasonably be built several different ways, or when asked to clarify, pin down, or grill out what is actually wanted.