session-handoff
Skill0 starsChanged 5 months agoMITView on GitHub
Produces a paste-ready handoff prompt (an attached Markdown file) so the next agent session resumes the work cleanly instead of trusting automatic context compaction. Use when context runs low and a clean restart beats compaction, when unfinished work must carry over, or when repository gates limit what this session can change.
72 other projects use a version of this, 1 of them edited.
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 domain-modeling, subagent-driven-development 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.
AWSSkilldomain-modeling
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
Also in 4 projects that use this
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
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
- +3 more from openai
Other versions72 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- tvna/claude-md★ 075% same
Wrote their own version · 71
- 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
61 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
- adaptive-coachingSkill
- architecture-tradeoffSkill
- clairvoyanceSkill
- decision-coachingSkill
- human-harnessSkill
- review-verdictSkill
- using-clairvoyanceSkill
- visual-handoffSkill
- workflow-budgetSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 61 edited versions we read keep these.
1
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 28
Read the handoff template for exact section order and an example.
“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
Turns in-flight work into a self-contained prompt the next session can act on without re-deriving context.
When to use
Reach for a handoff instead of relying on the harness's automatic compaction: when context is filling, write a clean handoff and start a fresh session rather than let compaction silently lose fidelity. Also hand off when repository gates or session-scoped limits block the change here - reset and resume in a new session.
Steps
- Context: the issue, the existing branch (do not create a new one), and what it closes.
- Background: what remains or failed, when, and the observable symptom - 2-4 sentences.
- Files to read before implementing, in read order, each with a one-line role; the next session reads them fully first.
- Implementation: the exact, minimum-sufficient change and why. Name options A/B/C with a recommendation when several exist. Do not invite extra files, hooks, or abstractions.
- Verification: the commands to run and the expected result.
- PR creation: read the PR template; suggest a Conventional Commit title.
- Acceptance criteria: a deterministic checklist, including CI green.
Read the handoff template for exact section order and an example.
When the next session runs on a Fable model
First decide whether the Fable-optimized path applies. Confirm the next session's
model from, in order: an explicit statement of which model the next session will
use; failing that, the model identifier the harness reports for a session the
operator is continuing on the same model (claude-fable-5 or claude-mythos-5).
Judge the next session's model, not this one's - they can differ. If neither
source confirms a Fable model, emit the standard handoff; do not infer Fable from
the task alone. When it is plausibly Fable but unconfirmed, ask one question
rather than assume.
Once Fable is confirmed, optimize the handoff for it by prepending a short operating block that names Fable in its heading and sets effort, scope, and progress-reporting discipline. Fable follows brief instructions and degrades on over-prescription, but Fable is not always available - a safety-classifier refusal falls back to Opus 4.8, and some harnesses do not offer Fable at all - so keep the handoff body model-agnostic rather than stripping it: the block tells Fable to treat the sections as constraints, not a script, and its first line tells a session on neither Fable nor Mythos to ignore it. The result is one artifact, explicitly labeled for Fable yet still correct if it degrades. Never tell the next session to echo its reasoning - on Fable that can trigger a refusal. Read the Fable-optimized handoff for the decision signals, the safe-degradation rationale, and the paste-ready operating block.
Output
Deliver the handoff as a single attached Markdown file (handoff.md) so it copies and pastes in one piece. Portable delivery, in order of preference: attach the file when the harness supports attachments; otherwise write it to a Markdown file outside the repository (for example, a temporary directory) and give its path - never write into the repo workspace, since a handoff often fires in the blocked or low-context states where the session must avoid extra repo changes; if the harness supports neither attachments nor writing outside the repo, emit the same Markdown inline as the reply. The file (or inline block) holds one prompt with headings Context, Background, Files to read, Implementation, Verification, PR creation, Acceptance criteria.
Because the deliverable is a Markdown file rather than inline chat text, use standard Markdown: fenced code blocks for commands and inline code for short snippets.
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.

