session-handoff
Skill0 starsChanged 4 months agoMITView on GitHub
Export the current working session — loaded documents, uncommitted work, and above all the accumulated knowledge (decisions, findings, dead ends, next steps) — as a verifiable handoff bundle another developer (or another Claude session) can resume from exactly where it stopped; and restore such a bundle on the receiving side. Use when the user wants to hand work off, pause and resume later, transfer a session's knowledge base, or resume from a received bundle. Triggers on: "handoff", "hand this off", "export this session", "another developer will continue", "resume from where I left", "passa il lavoro", "knowledge base export", "riprendi da questo punto", "restore handoff", "HANDOFF.md".
139 other projects use a version of this.
Adopted by
Most recently taken up by
- aktsmm/Agent-Skillstheir own version, first seen Nov 8, 2026
- wanshuiyin/HERO-Anti-OverDefensetheir own version, first seen Nov 8, 2026
- alapha888/session-handoff-kittheir own version, first seen Nov 8, 2026
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- Sirius-Ji/dsh-disciplinary-skills-for-greenhandstheir own version, first seen Nov 8, 2026
- maideps/ai-harness-frameworktheir own version, first seen Nov 8, 2026
Used with
Projects with it also use ascii-diagram, research-fleet 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.
SethGammonSkillascii-diagram
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.
Also in 4 projects that use this
SethGammonSkillresearch-fleet
Parallel research using Fleet wave mechanics. Spawns multiple scout agents, each investigating a different angle of the same question. Findings are compressed between waves. Produces a unified research brief from multiple independent perspectives.
Also in 3 projects that use this
vicoa-aiSkilllive-preview
Start a local app in the current user project, expose it through a tunnel, and return preview details in structured Markdown. Use when the user asks for a preview URL, public URL, shareable localhost, mobile/web preview, or tunnel setup.
Also in 4 projects that use this
botlearn-aiSkilldoc-gen
Also in 4 projects that use this
flyingobsidianSkillterminology
Read a codebase, find terminology, create/update definitions into a markdown document.
Also in 3 projects that use this
Dizzy-TenSkillbug-diagnosis
Diagnose bugs and product issues without modifying code. Use when the user explicitly invokes $bug-diagnosis or asks for diagnosis, root-cause analysis, issue classification, or fix strategy for code bugs, failing tests, configuration/dependency problems, deployment issues, performance regressions, data anomalies, or frontend/user-experience problems described through screenshots, annotations, logs, errors, or natural-language reports. Prioritize analysis and recommendations only; do not edit files.
Also in 3 projects that use this
- +1 more from SethGammon
Other versions139 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 139
- rohitg00/pro-workflow★ 2.9ksame name
- SethGammon/Citadel★ 927same name
- wanshuiyin/HERO-Anti-OverDefense★ 805same name
- OneWave-AI/claude-skills★ 378same name
- ai-analyst-lab/ai-analyst★ 304same name
- entireio/skills★ 239same name
- Innei/SKILL★ 92same name
- yuzushi-dev/session-handoff★ 67same name
- Hive-Academy/ptah-extension★ 34same name
- Hive-Academy/PtahCode★ 34same name
129 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 repository4 other files it gives its agents.
- blast-radiusSkill
- commit-surgeonSkill
- repo-radarSkill
- stack-to-reproSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 117 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 76
Commit and push the branch if the user agrees (the bundle references its exact HEAD).
- Very specific: line 105
Read HANDOFF.md in full. Treat Decisions made as settled — do not re-litigate them unless you find evidence they're wrong (then say so …
- Distinctive: line 107
Do not redo anything listed as finished.
“Common” is measured: kept by at least 6 in 10 of the 117 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
Session Handoff
What this does
A session accumulates two kinds of state. The mechanical state — repo
position, uncommitted changes, untracked files, the exact versions of every
document that was loaded — is captured by the engine, content-hashed so the
receiver can verify nothing drifted. The semantic state — what was decided
and why, what was ruled out, what was learned from the documents, what comes
next — exists only in the conversation, and it is the expensive part: losing it
means the next developer re-derives days of work. This skill's core job is
forcing that semantic state out of the conversation and into a HANDOFF.md
rigorous enough that a stranger can resume without asking a single question.
When to use it
- The user says another developer (or a future session) will continue the work.
- A long elaboration session must pause and resume later without loss.
- The user received a handoff bundle and wants to pick the work up.
Workflow — creating a handoff
1. Capture the mechanical state
python3 skills/session-handoff/scripts/handoff.py create --kb docs/ --kb specs/requirements.pdf --packPass --kb once per document/directory that served as a knowledge source this
session — those files get hashed into the manifest so the receiver can detect
drift. --pack additionally produces a portable handoff-<timestamp>.tar.gz.
The engine snapshots branch/HEAD, writes all tracked changes to
uncommitted.patch, and copies untracked files into the bundle.
2. Fill the semantic sections — this is the real work
Open .handoff/HANDOFF.md. The auto sections are done; the ✍️ TODO sections are
yours, and you must fill them from the conversation history, not from the
files. Be exhaustive on:
- Mission — the goal in one paragraph, as the user stated it.
- Current step — the precise point reached, so nothing done gets redone.
- Decisions & why — every settled decision with rationale, including rejected alternatives and dead ends. A dead end not written down will be re-explored at full cost.
- Key findings — facts extracted from the documents/code that later steps depend on, each citing its source file from the manifest.
- Next steps — numbered, concrete, starting with the very next action.
- Open questions — what's unresolved and who can resolve it.
3. Apply the stranger test
Re-read the finished HANDOFF.md pretending you know nothing about this
session. Every term you invented, every file you reference, every assumption —
is it defined in the document? If resuming would require asking the original
author anything, the handoff is not done. Fix it now, while you still know the
answers.
4. Deliver
Commit and push the branch if the user agrees (the bundle references its exact
HEAD). Hand over either the .handoff/ directory or the packed
handoff-*.tar.gz. Both contain everything.
Workflow — resuming from a handoff
1. Verify before touching anything
python3 skills/session-handoff/scripts/handoff.py restore --bundle .handoff # or the .tar.gzThis checks that HEAD matches the bundle's commit and that every knowledge-source hash still matches. Take verification problems seriously: a drifted document means the findings in HANDOFF.md may describe a version that no longer exists — surface that to the user before proceeding.
2. Apply the work in progress
python3 skills/session-handoff/scripts/handoff.py restore --bundle .handoff --applyRe-applies uncommitted.patch and restores untracked files. It refuses to apply
over a mismatched state unless --forced — prefer resetting to the bundle's
HEAD (the commands are in HANDOFF.md) over forcing.
3. Load the semantic state, then continue
Read HANDOFF.md in full. Treat Decisions made as settled — do not
re-litigate them unless you find evidence they're wrong (then say so explicitly).
Do not redo anything listed as finished. Start from step 1 of Next steps,
and raise the Open questions with the user early rather than assuming.
Notes & limits
- The engine is deliberately conversation-blind: it cannot extract decisions or findings. Step 2 of creation is mandatory, and skipping it produces a bundle that restores files but loses the knowledge — the failure mode this skill exists to prevent.
- Untracked files larger than 5 MB are listed but not copied (noted in the bundle); move such artifacts via LFS or object storage and reference them.
- The bundle may contain document contents and diffs — treat it with the same
confidentiality as the repo itself, and don't commit
.handoff/unless the user wants the handoff versioned.
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.

