session-handoff
Skill2 starsChanged 6 days agoMITView on GitHub
Ending a session durably — state files, traces, and a clean tree the next session can start from.
139 other projects use a version of this.
Adopted by
Most recently taken up by
- aktsmm/Agent-Skillstheir own version, first seen Nov 8, 2026
- wanshuiyin/HERO-Anti-OverDefensetheir own version, first seen Nov 8, 2026
- alapha888/session-handoff-kittheir own version, first seen Nov 8, 2026
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- Sirius-Ji/dsh-disciplinary-skills-for-greenhandstheir own version, first seen Nov 8, 2026
- wanderlima/agent-skillstheir own version, first seen Nov 8, 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
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
botlearn-aiSkilldoc-gen
Also in 4 projects that use this
flyingobsidianSkillterminology
Read a codebase, find terminology, create/update definitions into a markdown document.
Also in 3 projects that use this
Dizzy-TenSkillbug-diagnosis
Diagnose bugs and product issues without modifying code. Use when the user explicitly invokes $bug-diagnosis or asks for diagnosis, root-cause analysis, issue classification, or fix strategy for code bugs, failing tests, configuration/dependency problems, deployment issues, performance regressions, data anomalies, or frontend/user-experience problems described through screenshots, annotations, logs, errors, or natural-language reports. Prioritize analysis and recommendations only; do not edit files.
Also in 3 projects that use this
- +1 more from SethGammon
Other versions139 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 139
- rohitg00/pro-workflow★ 2.9ksame name
- SethGammon/Citadel★ 927same name
- wanshuiyin/HERO-Anti-OverDefense★ 805same name
- OneWave-AI/claude-skills★ 378same name
- ai-analyst-lab/ai-analyst★ 304same name
- entireio/skills★ 239same name
- Innei/SKILL★ 92same name
- yuzushi-dev/session-handoff★ 67same name
- Hive-Academy/ptah-extension★ 34same name
- Hive-Academy/PtahCode★ 34same name
129 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
- adoptSkill
- commitSkill
- feature-cycleSkill
- parallel-lanesSkill
- releaseSkill
- reviewSkill
- update-docsSkill
- verificationSkill
- write-skillSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 2 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 117 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before context runs low — stop, write the handoff, commit a clean checkpoint
- Distinctive: line 13
Before leaving a feature half-done
- Very specific: line 18
Update session-handoff.md — current objective, completed items, verification evidence, files changed, decisions, risks, recommended next …
- Very specific: line 20
Update docs/quality-document.md: name each feature that passed this session and rate every module touched (A/B/C/D per dimension).
- Very specific: line 21
Update the feature's .harness/state/<id>.json with the new state (only via npm run verify-feature -- <id>).
- Very specific: line 23
Run npm run clean-check, then commit — one logical operation per commit, message explaining WHY.
- Very specific: line 28
If running low on context: do NOT rush — add a concise note under progress/, regenerate PROGRESS.md, and commit a clean checkpoint.
- Very specific: line 29
Leave the repo clean enough that the next session can run ./init.sh immediately.
“Common” is measured: kept by at least 6 in 10 of the 117 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
How to end a session so the next one can pick up without confusion.
When to Use
- End of every working session
- Before context runs low — stop, write the handoff, commit a clean checkpoint
- Before leaving a feature half-done
Workflow
- Start this session's note with
node scripts/framework-check.mjs progress-new "<title>"— it writesprogress/NNN-YYYY-MM-DD.mdwith the right number, date, heading and sections, and refreshesPROGRESS.md— then fill in every section. After any later state change, regenerate the current state and index withnode scripts/framework-check.mjs progress-update.PROGRESS.mdis generated; do not edit its block by hand. - Update
session-handoff.md— current objective, completed items, verification evidence, files changed, decisions, risks, recommended next step. - Record decisions in
DECISIONS.md(template at the top of the file); expand long records intodocs/decisions/. - Update
docs/quality-document.md: name each feature that passed this session and rate every module touched (A/B/C/D per dimension).npm run clean-checkfails while a gate-verified feature is not mentioned. - Update the feature's
.harness/state/<id>.jsonwith the new state (only vianpm run verify-feature -- <id>). - Record the trace:
npm run session-end(merges end state, files modified, decisions, verification into the session start trace in.harness/traces/). - Run
npm run clean-check, then commit — one logical operation per commit, message explaining WHY.
Rules
- State files are the source of truth, not chat history.
- If running low on context: do NOT rush — add a concise note under
progress/, regeneratePROGRESS.md, and commit a clean checkpoint. - Leave the repo clean enough that the next session can run
./init.shimmediately.
Quick Reference
- Session note added and
PROGRESS.mdregenerated - session-handoff.md updated
- DECISIONS.md updated if decisions were made
- docs/quality-document.md updated for touched modules
npm run session-endrecordednpm run clean-checkpasses, committed
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.

