session-handoff
Skill17 starsChanged 4 months agoMITView on GitHub
Compact the current session into an ephemeral handoff document so another session or tool can pick the work up once and continue. Records session state and git state, references durable artifacts by path instead of duplicating them, and suggests which skills to run next. Use when you have to stop mid-work and hand off, or the user asks for a handoff. Not for durable project state — that lives in ADRs, the glossary, the spec, and the tracker.
72 other projects use a version of this.
Adopted by
Most recently taken up by
- upex-galaxy/agentic-qa-boilerplatetheir own version, first seen Oct 5, 2026
- aktsmm/Agent-Skillstheir own version, first seen Oct 4, 2026
- kreid415/claude-science-skillstheir own version, first seen Oct 3, 2026
- yuzushi-dev/session-handofftheir own version, first seen Oct 2, 2026
- OneWave-AI/onewave-toolkittheir own version, first seen Oct 2, 2026
- rohitg00/pro-workflowtheir own version, first seen Sep 29, 2026
Used with
Projects with it also use subagent-driven-development, testing and 7 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.
OpenAISkillsubagent-driven-development
Use when executing implementation plans with independent tasks in the current session
Also in 3 projects that use this
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 3 projects that use this
OpenAISkillexecuting-plans
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 3 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 3 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 3 projects that use this
- +3 more from openai
Other versions72 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 72
- rohitg00/pro-workflow★ 2.9ksame name
- softaworks/agent-toolkit★ 2.5ksame name
- SethGammon/Citadel★ 922same name
- OneWave-AI/claude-skills★ 321same name
- ai-analyst-lab/ai-analyst★ 304same name
- entireio/skills★ 223same name
- Innei/SKILL★ 86same name
- yuzushi-dev/session-handoff★ 66same name
- aktsmm/Agent-Skills★ 26same name
- upex-galaxy/agentic-qa-boilerplate★ 26same name
62 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewSkill
- domain-modelingSkill
- repo-hardeningSkill
- spec-executionSkill
- tddSkill
- to-specSkill
- to-ticketsSkill
- grillSkill
- guideSkill
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 61 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
- Distinctive: line 10
Write an ephemeral handoff so a fresh agent can resume this work.
- Very specific: line 16
Write to .scratch/handoffs/<short-slug>.md.
- Distinctive: line 55
Redact secrets: No API keys, passwords, tokens, or PII in the handoff.
“Common” is measured: kept by at least 6 in 10 of the 61 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
Write an ephemeral handoff so a fresh agent can resume this work. The handoff is consumed once and then dies — it is session state, not a durable record.
Durable truth already has owners: architectural decisions live in ADRs, vocabulary in CONTEXT.md, requirements in the spec, verification commands in the block (AGENTS.md or CLAUDE.md), and tasks in the tracker. The handoff does not compete with any of them. State goes in the handoff; decisions go in an ADR.
Where it writes
Write to .scratch/handoffs/<short-slug>.md. First, guarantee .scratch/ is in .gitignore — if it is not, add it before writing. A handoff swept into a PR by the next spec-execution run is a leak, not a handoff.
What goes in it
Reference durable artifacts by path or URL — never duplicate a spec, ADR, or issue body. But a path only resolves if the receiving session sees the same version of the tree, so record the git state that pins it:
# Handoff — <one-line topic>
## Focus of the next session
<If the user passed an argument, this is it: what the next session should do.>
## Git state
- Branch: <branch>
- HEAD: <short SHA>
- Dirty files: <list, or "clean">
- Unpushed commits: <count, or "none">
## Where things stand
<2-6 lines of session state: what was being done, what is half-done, what
just broke. State, not decisions.>
## Artifacts (by reference, not copied)
- Spec: <path or issue URL>
- ADRs touched: <paths>
- Relevant files: <paths>
## Open threads
<What is unresolved and needs a decision or a next step.>
## Suggested skills
<Which skills the next session should invoke, e.g. `spec-execution <issue>`,
`grill` to resolve an open decision.>Rules
- State, not decisions. A decision that will still matter months from now is an ADR, not a handoff line. If a handoff line records a why rather than a where things stand, it is a decision disguised as state — promote it to an ADR now (via
domain-modeling), do not carry it forward. - Reference, don't duplicate. Paths and URLs, pinned by the git state above. Copying content means it goes stale the moment the source changes.
- Redact secrets. No API keys, passwords, tokens, or PII in the handoff.
- Keep it short. A handoff nobody can read in a minute is one the next session skims and mistrusts.
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.

