handoff
Skill39 starsChanged 3 months agoMITView on GitHub
When the human types `/handoff` (or "next session", "what''s next", "handoff note"), produce a copy-paste markdown block for the next session.
195 other projects use a version of this.
Adopted by
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- fmind/dottheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- obie/auto-handofftheir own version, first seen Oct 4, 2026
Used with
Projects with it also use which-skill, wait-what 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.
risadamsSkillwhich-skill
Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.
Also in 5 projects that use this
AWSSkillwait-what
Stop. That last message did not land: re-pitch it.
Also in 51 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 41 projects that use this
loulanyueSkillsetup-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 15 projects that use this
RoentekSkillwriting-beats
Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Also in 20 projects that use this
RoentekSkillwriting-fragments
Writing, explore — mine raw fragments, no structure yet.
Also in 20 projects that use this
- +5 more from aws
- +1 more from Roentek
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- mattpocock/skills★ 335ksame name
- ykdojo/claude-code-tips★ 10ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- davidondrej/skills★ 4.1ksame name
- compozy/compozy★ 2.8ksame name
- feiskyer/claude-code-settings★ 1.7ksame name
- openclaw/agent-skills★ 1.1ksame name
- suboss87/FDEOps★ 950same name
- anombyte93/prd-taskmaster★ 604same name
- stevesolun/ctx★ 588same name
185 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- build-itSkill
- challenge-implementation-1Skill
- challenge-implementation-2Skill
- challenge-implementation-3Skill
- challenge-implementation-4Skill
- challenge-implementation-5Skill
- challenge-plan-1Skill
- challenge-plan-2Skill
- challenge-plan-3Skill
- challenge-plan-4Skill
- challenge-plan-5Skill
- construct-the-planSkill
- frame-itSkill
- quizSkill
- security-scanSkill
- start-upSkill
- test-itSkill
- wrap-upSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
If the pull request is ready and the work is meant to ship, merge it using the repository's merge policy.
- Distinctive: line 20
If the pull request is superseded, abandoned, or should not ship, close it without merging.
- Distinctive: line 76
When in doubt, flag as needs-the-human.
- Very specific: line 82
If nothing's left over and nothing qualifies, output exactly: Nothing to hand off this time.
- Distinctive: line 90
After resolving in-scope pull requests, handoff modifies no product or documentation files.
“Common” is measured: kept by at least 6 in 10 of the 167 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
<!-- Generated from .cursor/commands/handoff.md. Edit there and run: npm run shapes -->When the human types /handoff (or "next session", "what's next", "handoff note"), produce a copy-paste markdown block for the next session. Top half is human-scannable; bottom half is pure agent instructions for next session's start-up. This is the closing half of the pair that makes sessions continuous: handoff writes the note, start-up reads it.
Precondition: the background-work barrier
Handoff may not emit while any background task spawned this conversation is unresolved: await finite work, act on landed-but-unhandled results, retire session daemons, or (narrowly, never for a verification task) abandon with the reason written down. Right after wrap-up this is a quick re-check that nothing new was spawned; standalone, the full barrier applies first. See AGENTS.md § The background-work barrier.
Pull request authority
Invoking handoff is explicit permission to resolve pull requests created by the work being handed off. Do this before writing the handoff note:
- Inspect the exact head commit, base branch, required reviews, and checks.
- If the pull request is ready and the work is meant to ship, merge it using the repository's merge policy. Never bypass a failed check or required review.
- If the pull request is superseded, abandoned, or should not ship, close it without merging.
- Prove the final GitHub state, clean up the resolved branch, synchronize the base branch, and verify any resulting base-branch check.
This authority is narrow. It covers pull requests created by this session or explicitly named in the work being handed off. It does not cover unrelated pull requests, product or provider changes, spending, deployment, or any other external effect. If an in-scope pull request cannot be resolved safely, leave it open and state the exact blocker in the handoff.
Voice
The output IS chat to the human: follow AGENTS.md § Voice, including in every fill-in. Pipe the draft through node scripts/voice-gate.js before sending.
Locked template
Output is ONE fenced markdown code block. Inside it:
## Handoff
{One paragraph for the human: what the session that just ended focused on, what's left over, and the recommended focus for next time. About 3-5 sentences of plain English. No file paths in the prose, no unexplained acronyms, no marker tags.}
- {Key context bullet 1}
- {Key context bullet 2}
- {Up to 4-5 bullets max}
---
**For the agent:**
Start with `/start-up`. Draw up a plan focused on **{recommended focus, one phrase}** using construct-the-plan. If open questions remain after the draft, run `/frame-it` and get the human's answers. Then STOP and wait: the human queues the challenge rounds, `/build-it`, `/test-it`, the implementation challenges, and `/wrap-up`; never start them unprompted.
**Specific items to pick up (agent-doable without the human):**
- {Item 1 with file path or scope}
- {Item 2}
**Needs the human's input, do NOT pick up unsupervised:**
- {Item, or "None"}
**Out of scope:**
- {Item, or "None"}The horizontal rule separates the human-scannable top from the agent instructions. The whole block is wrapped in a markdown code fence so it pastes cleanly.
Sources to pull from
- This session's chat: deferred decisions and in-flight items.
- The handoff note from last session, if one is still relevant.
docs/plans/filtered to plans marked IN_PROGRESS.- Whatever standing to-do or issues surface your project keeps.
Missing or unreadable sources: skip, continue, and add a one-line Skipped sources: [list] footnote.
Sorting items into sections
- Deferred markers from the conversation go to needs-the-human.
- Plans marked PROPOSED go to needs-the-human (they await review); plans marked IN_PROGRESS are agent-doable.
- Lint warnings, drift findings, doc updates: agent-doable.
- Design questions, product tuning, anything taste-shaped: needs-the-human.
- When in doubt, flag as needs-the-human.
Cap the agent-doable list at the top 5 by relevance and say where the rest live.
Empty case
If nothing's left over and nothing qualifies, output exactly: Nothing to hand off this time. Self-contained session.
Has an opinion
The recommended focus picks ONE thing and justifies it in a sentence. Don't offer a menu.
Repository boundary
After resolving in-scope pull requests, handoff modifies no product or documentation files. It produces the block and stops. The Git and GitHub state changes described above are the only writes this command authorizes.
Rationale (recorded so future edits don't drift it)
The two-half shape exists because the note serves two readers with opposite needs: the human skims the top in ten seconds to remember where things stand, and the next session's agent executes the bottom verbatim. Mixing the two produces a note neither reader trusts. The pull request step belongs before the note because handing off a ready or obsolete pull request just makes the next session repeat the end of this one. The explicit STOP instruction in the agent half is load-bearing: without it, next session's agent tends to run the whole chain uninvited, and the human loses the checkpoints the process exists for.
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.

