handoff
Skill8 starsChanged 2 months agoMITView on GitHub
Compact current conversation context, decisions, evidence, and next actions into a portable markdown handoff for a fresh agent session. Use when ending a session, transferring work to another agent, switching workspaces, or preparing a resume point — even if the user just says \"save progress\". Do NOT use for committing code to git or creating branch PRs.
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Strict Secret Redaction: Ensure zero credentials, tokens, API keys, or private auth headers are leaked into the handoff file.
- Distinctive: line 42
Key Point: Check that all decisions link to their primary ADRs or specs.
“Common” is measured: kept by at least 6 in 10 of the 171 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
Compact complex conversational history, locked architectural decisions, unblocked next actions, and verification evidence into a self-contained markdown handoff document for a fresh agent session.
Core Invariants
- External Temp Storage: Save handoff documents to the OS temporary directory (
/tmp/handoff-<timestamp>.md) or designated scratch folder—never pollute the project root repository files. - Context Pointer Economy: Point directly to repository artifacts, issue URLs, commit SHAs, and test suites rather than duplicating walls of text.
- Suggested Skills Routing: Explicitly declare the
## Suggested Skillsblock indicating which specialized skills the resuming agent should invoke first. - Strict Secret Redaction: Ensure zero credentials, tokens, API keys, or private auth headers are leaked into the handoff file.
- Exact Next Command: Provide the exact command line or next prompt required to continue execution without ambiguity.
Architecture & Map of Content (MOC)
[ Active Multi-Turn Session ] ──► [ Extract Invariants, Decisions & Blockers ] ──► [ Write `/tmp/handoff-*.md` ] ──► [ Output Resume Command ]| Section | Purpose | Example Content |
| Goal & Scope | What this initiative accomplishes | Spec boundary, user requirements |
| Decisions & Invariants | Hard architectural contracts settled | Domain model choices, ADR pointers |
| Current State & Diff | Exact working tree status | Git status, modified files, passing tests |
| Suggested Skills | Tools the next session needs | [skills/implement-spec/SKILL.md](file:///...) |
| Exact Next Action | Atomic next step | Command or task frontier claim |
Step-by-Step Procedure (TWI)
Step 1: Synthesize Session Delta & Decisions
- Action: Extract the critical path decisions settled, active files modified, and outstanding questions.
- Key Point: Check that all decisions link to their primary ADRs or specs.
- Why: Resuming agents need the "why" behind choices without re-litigating settled discussions.
Step 2: Format Handoff Document & Redact Secrets
- Action: Structure the markdown document with Goal, Completed Work, Active Blockers, Suggested Skills, and Next Actions.
- Key Point: Scan the text to ensure no private tokens or environment secrets are included.
- Inline Checklist:
- Saved in
/tmp/(e.g./tmp/handoff-2026-08-30.md) - Suggested skills explicitly listed
- Zero secrets present
- Saved in
Step 3: Emit Resume Instructions
- Action: Output a clean completion summary to the user with the exact path to the handoff file and how the next agent can ingest it.
- Why: Allows instant session resumption without context loss.
Anti-Rationalization Guardrails
| Tempting Rationalization | Binding Rule | Engineering Rationale |
| "Write the handoff directly into the project repository root." | Save handoffs to /tmp/ or temporary OS directory. | Ephemeral session dumps pollute git history and clutter repo source trees. |
| "Paste full file contents into the handoff document." | Use concise context pointers and file paths. | Pasting entire files consumes context budget on the resuming agent session. |
| "Omit suggested skills and let the next agent guess." | Mandatory 'Suggested Skills' section. | Direct skill guidance prevents the resuming agent from drifting into generic workflows. |
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
- GreyDGL/PentestGPT★ 16ksame name
- ykdojo/claude-code-tips★ 10ksame name
- ArcReel/ArcReel★ 6ksame 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
- davidondrej/skills★ 4.2ksame 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.
Used alongsideProjects with it also use decision-mapping, ask-matt and 3 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
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 80 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 46 projects that use this
GoogleSkillsetup-matt-pocock-skills
Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
Also in 128 projects that use this
ryotaroh180105Skillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 37 projects that use this
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-data-remediationSkill
- ai-engineeringSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- engineering-workflow-guideSkill
- git-safety-guardrailsSkill
- goalSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- j-spaceSkill
- migrate-to-shoehornSkill
- ml-best-practicesSkill
- prototypeSkill
- researchSkill
- resolving-merge-conflictsSkill
- retroSkill
- scaffold-exercisesSkill
- setup-engineering-workflowsSkill
- setup-pre-commitSkill
- setup-ts-deep-modulesSkill
- skill-conductorSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- workflow-designerSkill
- writing-beatsSkill
- writing-for-agentsSkill
- writing-fragmentsSkill
- writing-shapeSkill
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.

