handoff
Skill1 starsChanged 3 months agoMITView on GitHub
Produce or consume agent-to-agent handoff context so another session can resume work without re-deriving decisions, state, and next steps. Use when the user invokes $handoff, says "handoff", "hand off", "session handoff", "write a handoff", "resume from handoff", "context for the next agent", or asks to package current work for another AI agent or later session.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- swjybky/deepwritetheir own version, first seen Nov 30, 2026
- quarkiverse/quarkus-reactive-messaging-nats-jetstreamtheir own version, first seen Nov 30, 2026
- Rain-kl/OpenFlaretheir own version, first seen Nov 30, 2026
- Forget-C/Jellyfishtheir own version, first seen Nov 29, 2026
- karanmrn/karanagentskillstheir own version, first seen Nov 29, 2026
- karanmrn/kstacktheir own version, first seen Nov 29, 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 52 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 63 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 110 projects that use this
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 107 projects that use this
LesaniSkillwriting-fragments
Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.
Also in 67 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★ 335ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- GreyDGL/PentestGPT★ 16ksame name
- ykdojo/claude-code-tips★ 10ksame name
- Forget-C/Jellyfish★ 7.5ksame name
- ArcReel/ArcReel★ 6.8ksame name
- vinvcn/mattpocock-skills-zh-CN★ 6.2ksame name
- withcoral/coral★ 5ksame name
- epicenter-md/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 repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 17 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
17
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 10
Create or consume a durable handoff so a different agent (or a later session) can continue the same work with goals, decisions, repo state, …
- Distinctive: line 17
Consume: treat an existing handoff as the source of truth and resume from it.
- Distinctive: line 19
If ambiguous, ask once whether to write a handoff or resume from one.
- Distinctive: line 24
Prefer concrete paths, commands, decisions, and ordered next steps over narrative recap.
- Distinctive: line 26
Never include secrets, tokens, passwords, private keys, or full secret values.
- Distinctive: line 27
Do not invent completed work.
- Distinctive: line 29
If optional todo lists, plan mode, or approval workflows exist, use them only as helpers.
- Distinctive: line 70
Read the full handoff before making changes.
- Distinctive: line 72
Verify the handoff against live state before trusting it:
- Distinctive: line 76
If the workspace disagrees with the handoff, stop and report the mismatch before proceeding.
- Distinctive: line 77
Follow "What not to do" and the ordered next steps unless the user overrides them.
- Distinctive: line 78
Read the listed files first, then expand only as needed.
- Distinctive: line 79
When the handoff work is finished or the session must stop again, produce an updated handoff rather than relying on chat memory.
- Distinctive: line 83
Default destination: chat, as a single markdown document.
- Very specific: line 84
If the user names a path, write there.
- Distinctive: line 85
Do not create a handoff file unprompted inside an unrelated project.
- Distinctive: line 86
Keep product-specific UI metadata out of the handoff body.
- Distinctive: line 90
When producing a handoff, also offer this short starter for the next agent:
“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
Overview
Create or consume a durable handoff so a different agent (or a later session) can continue the same work with goals, decisions, repo state, risks, and next steps intact.
Modes
Determine which mode applies:
- Produce: package the current conversation and workspace state into a handoff.
- Consume: treat an existing handoff as the source of truth and resume from it.
If ambiguous, ask once whether to write a handoff or resume from one.
Core Rules
- Optimize for the next agent, not for the outgoing agent's diary.
- Prefer concrete paths, commands, decisions, and ordered next steps over narrative recap.
- Separate facts, assumptions, and open questions.
- Never include secrets, tokens, passwords, private keys, or full secret values. Name env vars only.
- Do not invent completed work. Verify claims against the workspace when possible.
- Stay harness-neutral. Prefer chat output by default; write a file only when the user asks or names a path.
- If optional todo lists, plan mode, or approval workflows exist, use them only as helpers; the handoff document remains the portable artifact.
Produce Workflow
- Confirm the mission the next agent should continue.
- Inspect enough live state to ground the handoff:
- Current branch, dirty files, recent commits, and relevant open processes when available.
- Key files touched or about to be touched.
- Decisions already confirmed by the user.
- Fill the template in references/template.md. Omit empty sections rather than padding them.
- Prioritize these sections if anything must be shortened:
- Goal and status
- Immediate next steps
- Must-know context
- What not to do
- Output the handoff in chat unless the user requested a file path.
- End with a one-line resume instruction the user can paste into the next session, such as:
Resume from this handoff and continue with step 1.
Produce Quality Bar
A good handoff lets another agent start useful work after reading it once.
Include:
- Status:
ready,needs-review, orblockedwith the blocker named. - What is done vs unfinished.
- Uncommitted or partial work stated honestly.
- Ordered, verifiable next steps.
- A short "files to read first" list (usually 3-7 paths), each with why.
- Assumptions, gotchas, and rejected alternatives that would otherwise be rediscovered.
- Exact commands or checks already known to matter.
Avoid:
- Dumping the full chat transcript.
- Vague steps like "continue implementing" or "finish the feature".
- Listing every related file in the repo.
- Hiding uncertainty; mark unknowns explicitly.
Consume Workflow
- Read the full handoff before making changes.
- Restate the goal, status, and first next step to the user in one short confirmation when useful.
- Verify the handoff against live state before trusting it:
- Branch, dirty tree, and claimed file changes.
- Whether cited commits, paths, and commands still exist.
- Whether blockers are still real.
- If the workspace disagrees with the handoff, stop and report the mismatch before proceeding.
- Follow "What not to do" and the ordered next steps unless the user overrides them.
- Read the listed files first, then expand only as needed.
- When the handoff work is finished or the session must stop again, produce an updated handoff rather than relying on chat memory.
Output Defaults
- Default destination: chat, as a single markdown document.
- If the user names a path, write there. Common choices:
HANDOFF.md,docs/handoff.md, or a dated path they specify. - Do not create a handoff file unprompted inside an unrelated project.
- Keep product-specific UI metadata out of the handoff body.
Minimal Resume Prompt
When producing a handoff, also offer this short starter for the next agent:
Use $handoff in consume mode.
Handoff is below / at <path>.
Verify it against the repo, then continue from Immediate Next Steps without re-litigating settled decisions unless they conflict with the workspace or user direction.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.

