session-handoff
Skill4 starsChanged 10 days agoMITView on GitHub
Write or read a HANDOFF.md so a new session starts from a short state summary instead of re-exploring the repo. Use when wrapping up, when the user says handoff, pause, stop here, or continue later, when context is running out mid-task, and at the start of a session in a repo that already has a HANDOFF.md.
164 other projects use a version of this.
Adopted by
Most recently taken up by
- OpenAgentsInc/openagentstheir own version, first seen Nov 29, 2026
- anivar/agentic-sdlctheir own version, first seen Nov 29, 2026
- mikejhill/agent-skillstheir own version, first seen Nov 29, 2026
- weiweimhy/agent-skillstheir own version, first seen Nov 29, 2026
- exerias21/brainstorm-toolkittheir own version, first seen Nov 29, 2026
- jamesctucker/morainetheir own version, first seen Nov 29, 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
ferocknewSkilldoc-reader
当用户要求"读取 Word 文档"、"解析 DOCX 文件"、"将 Word 转换为 Markdown"、"提取文档内容"、"读取 docx"时,或者需要在 JavaScript/Node.js 环境中读取 Microsoft Word 文档(.docx)并转换为 Markdown、HTML 或纯文本格式时使用此 skill。
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
mcabreradevSkillbug-diagnosis
Use when something is broken, failing or intermittent. Diagnose before fixing: a command that goes red on this bug first, then falsifiable hypotheses.
Also in 4 projects that use this
botlearn-aiSkilldoc-gen
Also in 4 projects that use this
Other versions164 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 164
- rohitg00/pro-workflow★ 2.9ksame name
- SethGammon/Citadel★ 927same name
- wanshuiyin/HERO-Anti-OverDefense★ 925same name
- OpenAgentsInc/openagents★ 469same name
- OneWave-AI/claude-skills★ 378same name
- ai-analyst-lab/ai-analyst★ 304same name
- entireio/skills★ 240same name
- Innei/SKILL★ 93same name
- yuzushi-dev/session-handoff★ 67same name
- Hive-Academy/ptah-extension★ 35same name
154 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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-contractSkill
- claim-traceSkill
- docs-syncSkill
- llm-evalsSkill
- llm-pipelineSkill
- prose-guardSkill
- readme-brandSkill
- repo-scoutSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 140 edited versions we read keep these.
2
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
- Very specific: line 12
If HANDOFF.md exists at the repo root, read it before exploring anything.
- Distinctive: line 14
Check the date at the top.
- Distinctive: line 42
Do not restate the architecture, that belongs in CLAUDE.md.
“Common” is measured: kept by at least 6 in 10 of the 140 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
A cold session spends its first few thousand tokens rediscovering what the last one knew. A handoff file replaces that with a page of text.
Reading one
If HANDOFF.md exists at the repo root, read it before exploring anything. Then open only the files its "Read these first" section names. Do not re-derive the architecture, the handoff already did.
Check the date at the top. If it is older than the last commit, treat it as a lead rather than the truth, and say so instead of acting on a stale claim.
Writing one
Gather the mechanical facts with the script, so you are not spending tokens on git log output you have to parse yourself:
python <skill>/scripts/handoff_context.pyThat prints the branch, the head SHA, uncommitted file count, commits since the last handoff, and the files touched. Paste those facts into the template and write the parts only you know.
The template is at <skill>/assets/HANDOFF.template.md.
What actually earns its place
The script covers what git can answer. Your job is the four things git cannot:
Where things stand. One paragraph. What is working now that was not before, in plain terms.
In flight. The single highest-value section. What is half-finished, which file it is in, and what the next edit is. Be specific enough that the next session does not have to diff to find out.
Next. A short ordered list. First item should be startable without any further reading.
Gotchas. Anything that cost time and would cost it again: a failing test that is expected to fail, a service that needs to be running, an approach already tried and rejected and why.
What to leave out
Do not restate the architecture, that belongs in CLAUDE.md. Do not list every file changed, the script already has it and the diff is authoritative. Do not summarize the conversation. A handoff over about 60 lines has stopped being cheaper than exploring.
Housekeeping
Overwrite the existing HANDOFF.md rather than appending. It is a snapshot, not a log.
Whether it gets committed depends on the repo. If the repo already tracks handoff files, commit it. Otherwise leave it untracked and mention that to the user.
Prose follows prose-guard's rules, which matters here because handoffs invite hedging. Write what is true, not what might be.
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.

