session-handoff
Skill0 starsChanged 2 days agoMITView on GitHub
Write a hand-off for a working session (usually an orchestrator) about to be cleared, so a fresh session can pick up without the transcript: what landed, what is in flight, what waits on the human, what to do first. Every claim is re-measured from durable state (git, TASKS.md, lanes, runners, leases, envelopes), not recalled. Use when the user says "write a handoff", "I'm clearing this session", "hand this off", "/session-handoff", "wrap up for the next session", or before a long session ends.
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
- jamesctucker/morainetheir own version, first seen Nov 29, 2026
- DawnMoon1542/agents-skillstheir 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.
- AGENTS.mdAGENTS.md
- brainstormSkill
- gotchaSkill
- orchestrate-parallel-agentsSkill
- repo-healthSkill
- repo-onboardingSkill
- sdlcSkill
- sdlc-statusSkill
- taskSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 140 edited versions we read keep these.
3
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 50
Only what durable state cannot show:
- Distinctive: line 63
No secrets, credentials, connection strings or personal data, even when the repo is private.
- Distinctive: line 67
When asked (or when the session changed how work is driven), add a short section comparing this session's driver with the previous one, …
- Very specific: line 82
End the reply with the paste-ready block: Read references/prompt-template.md now and print the prompt from the end of HANDOFF.md, adding …
“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 hand-off
Toolkit paths. Every toolkit script or template path cited here resolves, first hit wins, against: a repo-local copy installed by
setup.sh; else the plugin root (this skill's base directory two levels up,<base>/../..) when it holds that path; else~/.claude/brainstorm-toolkit/(the global shell install).
A hand-off is read by a session that knows nothing. It over-trusts whatever it reads, so the note's job is to be true, short and actionable. A transcript summary is none of those: it is written from memory, it keeps the story and drops the state.
1. Measure, do not recall
Run bash scripts/handoff-state.sh first. It rewrites .claude/HANDOFF.md (at most 60 lines)
from durable state: branch and last commits, in-progress runs and how long each has been quiet,
open lanes, TASKS counts and [~] rows, the newest decisions, the pending next-action, and a
paste-ready prompt. Read the file it prints; do not rebuild any of that by hand. Hooks keep it
current, but the script is the only way to be sure it is current now.
Then measure only what the snapshot does not hold, in one batch, skipping any source the repo lacks:
| Source | Command | Gives |
| Unpushed | git log --oneline @{u}..HEAD | what still needs a push (and whose it is) |
| Dirty tree | git status --short | uncommitted work; name each file and whose it is |
| Runners | bash scripts/runner.sh report | calls, cost, denials per runner and per task |
| Leases | bash scripts/lease.sh list | anything still held |
| Background jobs | the session's running background tasks; cron jobs the session armed | what will still fire after the clear |
| Human decisions | the project's questions file (e.g. HUMAN.md) | still open |
Anything you cannot measure, mark unverified rather than dropping or asserting it.
2. Add what the snapshot cannot know
HANDOFF.md is regenerated, so never write into it. Put session knowledge in
.claude/handoffs/<YYYY-MM-DD>-<slug>.md (create the folder; --out overrides): at most 10
lines, each a fact with provenance (a sha, a command and its result, a path:line, a run id).
Only what durable state cannot show:
- what is waiting on the human, with your recommendation, labelled as one;
- how work was driven, if the recipe is not obvious from the repo;
- a rule that bit this session and will bite again (a refused command shape, a race).
Rules:
- Uncommitted work is named file by file, with whose it is. Commit your own first if you can; never commit another session's work to make the note tidier.
- Denials are copied verbatim and marked escalated or not. The next session must not retry a denied action by another route.
- A decision made or a pitfall found goes to
DECISIONS.mdorGOTCHAS.md, not into the note. - No secrets, credentials, connection strings or personal data, even when the repo is private.
3. --review: how the session's way of working went
When asked (or when the session changed how work is driven), add a short section comparing this session's driver with the previous one, from measurements, not impressions:
- Throughput: items landed, landings refused and why (tests, conflicts, target moved).
- Cost:
runner.sh reporttotals; the most expensive runners and what made them so (re-tries, oversized prompts, fix-up rounds). - Friction: denials by cause (command shape, allowlist pattern, hook), silent failures, races, load-related test failures; which were fixed and which still bite.
- Keep / change: two or three concrete changes for the next session, each tied to a measured cause.
4. Before you finish
- Re-read the note as the next session would: every path exists? Every sha is on the branch it names?
- Tell the user where
.claude/HANDOFF.mdand the note are, and the one decision still waiting on them. - End the reply with the paste-ready block. Read
references/prompt-template.mdnow and print the prompt from the end ofHANDOFF.md, adding the note's path and its waiting-on-human line.
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.

