handoff
Skill1 starsChanged 3 days agoMITView on GitHub
Write or pick up HANDOFF.md, the resume note that lets a new session, an agent in a different harness, or a coordinator continue a branch's work cold. Use when asked to "write a handoff", "hand off", "save state for a new session", "pick up where we left off", "resume this branch", or "what is each worktree doing", and when starting work in a worktree that contains HANDOFF.md.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- quickchatai/quickreviewtheir own version, first seen Nov 15, 2026
- HiteSit/real-scientist-skillstheir own version, first seen Nov 15, 2026
- alexj11324/Mikkatheir own version, first seen Nov 15, 2026
- QiYueran-source/waymarktheir own version, first seen Nov 15, 2026
- xiaoxiaosrm/dsh-mattpocock-skillstheir own version, first seen Nov 8, 2026
- ethosagent/ethostheir own version, first seen Nov 8, 2026
Used with
Projects with it also use decision-mapping, setup-ts-deep-modules and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
FabienDehopreSkilldecision-mapping
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
Also in 8 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 42 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 93 projects that use this
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 87 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 51 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 54 projects that use this
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- mattpocock/skills★ 309ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- GreyDGL/PentestGPT★ 16ksame name
- ykdojo/claude-code-tips★ 10ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- withcoral/coral★ 4.9ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-auditSkill
- comment-auditSkill
- coordinatorSkill
- correctSkill
- deliverSkill
- publishing-a-repoSkill
- releaseSkill
- repo-setupSkill
- shared-skillsSkill
- test-auditSkill
- triageSkill
- verification-skillSkill
- writing-docsSkill
- writing-readmesSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Keep durable facts out of it.
- Very specific: line 14
Read the existing HANDOFF.md, if there is one.
- Distinctive: line 16
Run git ls-files --error-unmatch HANDOFF.md and git check-ignore -q HANDOFF.md.
- Very specific: line 50
Read HANDOFF.md. Compare the commit in its header with git rev-parse --short HEAD.
- Distinctive: line 51
Treat the note as authoritative.
- Distinctive: line 52
Before you build on a Verified item, run its command once.
- Distinctive: line 53
Start at Next. Say in one or two lines where you are resuming.
- Very specific: line 55
If there is no HANDOFF.md, say so.
- Very specific: line 61
Run <skill>/scripts/handoff-status inside any worktree of the repo.
- Distinctive: line 67
Delete the note when the branch merges.
“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
handoff
HANDOFF.md is a snapshot of one branch's work, written by an agent for the next agent. It sits in the root of the worktree, is ignored by git, and is overwritten in full on every write. It holds what git, the task and the PR do not: the intent, what is verified, the next action, and why files are uncommitted.
Keep durable facts out of it. A fact that will still be true next month (a convention, a tool quirk) goes in the repo's AGENTS.md, or in AGENTS.local.md if it is private.
Write
- Read the existing
HANDOFF.md, if there is one. Carry forward every item that is still true, including items you cannot confirm from your own context. Drop only what you know is finished or wrong. - Get the facts from commands, not memory:
git rev-parse --abbrev-ref HEAD,git rev-parse --short HEAD,git status --porcelain. - Run
git ls-files --error-unmatch HANDOFF.mdandgit check-ignore -q HANDOFF.md. If the first exits 0, the file is tracked: write it anyway and say so; untracking it is the owner's decision. If both fail, addHANDOFF.mdto.gitignoreand say that you did. - Write the file from the template. Put an item under Verified only if you ran its command in this session and it passed. This includes items carried forward: run the command again, or move the item to Unverified. Start Next with one exact command or file path.
- Reply with the path and the first next action.
# HANDOFF
_<YYYY-MM-DD> · <harness> · <branch> @ <short-sha> · <n> uncommitted_
## Goal
<What this branch is for, in one or two lines. Link the task or PR.>
## State
- Verified: <what works> (`<command that proved it>`)
- Unverified: <done, not yet proven>
- In progress: <started, not finished>
## Next
1. <First action: an exact command or file path.>
2. <The rest, in order.>
## Decisions
- <What was decided and why. What was deliberately left undone.>
## Uncommitted
- <file>: <why it is not committed>
## Gotchas
- <Only what git and the code do not show.>Omit a section that has nothing in it.
Pick up
- Read
HANDOFF.md. Compare the commit in its header withgit rev-parse --short HEAD. If they differ, rungit log --oneline <note-sha>..HEADandgit status --porcelain, and state what changed after the note was written. - Treat the note as authoritative. Do not repeat work it lists as done, and do not reopen its decisions.
- Before you build on a Verified item, run its command once. If the command fails, say so and make that the first task.
- Start at Next. Say in one or two lines where you are resuming.
If there is no HANDOFF.md, say so. Reconstruct the state from git log, the task and the PR, and do not invent the rest.
Coordinator
<skill> in a command is this skill's folder, the one that holds this file. Run those scripts by that path, with the target repo as the working directory.
Run <skill>/scripts/handoff-status inside any worktree of the repo. It prints one block per worktree: branch, commit, the note's header, whether the branch moved after the note, and the first Next line.
A coordinator keeps its own note in the main checkout: which builders are running, what each one waits on, and the merge order.
End of a branch
Delete the note when the branch merges. Before you remove a worktree whose work is unfinished, copy Next and Decisions to the task or the PR.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

