session-handoff
Skill1 starsChanged 9 days agoMITView on GitHub
Wrap up a session by writing a summary to memory, updating the memory index, and optionally creating a forward-facing handoff for the next agent. Use when user says "wrap up", "close out", "hand off", or "end session."
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
- 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- create-skillSkill
- domain-modelingSkill
- grillingSkill
- scaffold-projectSkill
- session-searchSkill
- sync-upstreamSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 140 edited versions we read keep these.
5
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 44
Read memory/index.md first, then update it with:
- Distinctive: line 50
Keep the index scannable — it's the entry point for future sessions.
- Very specific: line 54
If the user has a specific next task in mind, add a Next steps section to the session summary above.
- Distinctive: line 86
If the repo has other in-flight changes, leave them alone.
- Distinctive: line 87
Do not push unless the user asks.
- Distinctive: line 91
Do not duplicate content already in files, commits, or notes.
- Distinctive: line 93
If user specified a focus for next session, prioritize that.
“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
Wrap-Up & Handoff
When to use
User says something like "wrap up", "close out", "hand off", "end session", or "summarize for the next agent."
Workflow
1. Write session summary
Create memory/sessions/<YYYY-MM-DD>-<topic>.md:
# <YYYY-MM-DD>: <topic>
## Accomplished
<Bullet list of what got done.>
## In progress
<What was started but not finished.>
## Decisions
<Key decisions made and why.>
## Artifacts
<Paths or URLs to files, commits, PRs, notes created or changed. Do not duplicate content.>
## Structural state
<Omit for sessions with no code changes. For coding sessions: files touched, any function that crossed CC > 10 or 60 lines this session, and current slop numbers if a milestone shipped and the `quality` pack is enabled (`slop-check.py --range` output from the PR comment is fine — copy, don't re-run). This is the workspace-mediated degradation tripwire: the next session inherits this structure, and fresh context does not reset it.>2. Update memory index
Read memory/index.md first, then update it with:
- Active projects the session touched
- Open threads the next session should pick up
- Recent decisions worth remembering
Keep the index scannable — it's the entry point for future sessions.
3. Optionally, write a handoff
If the user has a specific next task in mind, add a Next steps section to the session summary above. If the user explicitly wants a separate handoff file, write memory/sessions/<topic>-handoff.md with:
# Handoff: <topic>
## Priority
<The single most important thing to do next.>
## Context
<Minimal context needed to start — just what isn't in the session summary.>
## Skills to load
<Suggested skills for the next session.>4. Cleanup
Prune handoff files from memory/sessions/ that have clearly been consumed (referenced in a later session summary).
5. Commit memory changes
Always commit the memory writes when done. This is not optional and should not wait for the user to ask. From the workspace root:
git add memory/
git commit -m "memory: <session topic> (session summary + index update)"- Stage only
memory/paths (plus skill edits made during the session, if any). Never sweep unrelated working-tree changes into the commit — checkgit statusfirst and stage explicitly. - If the repo has other in-flight changes, leave them alone; the memory commit must be scoped.
- Do not push unless the user asks.
Rules
- Do not duplicate content already in files, commits, or notes. Reference by path or URL.
- Session summaries should be 20-40 lines. Handoffs under 20 lines.
- If user specified a focus for next session, prioritize that.
- The wrap-up is not complete until the memory commit exists. If committing is impossible (e.g. no git repo), say so explicitly instead of skipping silently.
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.

