session-handoff
Skill13 starsChanged 9 months agoApache-2.0View on GitHub
End-of-session knowledge capture — decisions, preferences, corrections, conventions, open questions
143 other projects use a version of this.
Adopted by
Most recently taken up by
- pkhamre/skillstheir own version, first seen Nov 15, 2026
- binay-py/claude-skillstheir own version, first seen Nov 15, 2026
- debugbundle/debugbundletheir own version, first seen Nov 15, 2026
- 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
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 versions143 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 143
- 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
133 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- knowledge-auditSkill
- memory-commitSkill
- recall-contextSkill
- temporal-querySkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 121 edited versions we read keep these.
9
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 13
Before storing anything, review the conversation for each category:
- Distinctive: line 47
If the memory does not appear in top results, either:
- Distinctive: line 49
Add more specific tags
- Very specific: line 68
WHY not WHAT: Every memory must answer "why was this decided/preferred/corrected?"
- Distinctive: line 70
One insight per memory: Do not cram multiple unrelated facts into one entry
- Distinctive: line 71
Verify or discard: If retrieval verification fails after 2 rewrites, the content is too vague to be useful
- Distinctive: line 72
No ephemeral facts: Do not store things that will be outdated next session (e.g., "currently on line 42 of file X")
- Distinctive: line 77
When explicitly asked to "remember this" or "save for next time"
- Distinctive: line 78
After debugging sessions — capture root cause and fix
- Distinctive: line 79
After architecture or design discussions with decisions
“Common” is measured: kept by at least 6 in 10 of the 121 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
Structured end-of-session capture that ensures the NEXT session starts with full context. Enforces "WHY not just WHAT" — every memory must include the reasoning, not just the fact.
Checklist (go through ALL categories)
Before storing anything, review the conversation for each category:
- Decisions made: Technical choices, architecture decisions, tool selections
- BAD: "Using PostgreSQL"
- GOOD: "Using PostgreSQL over SQLite because we need concurrent writes from multiple workers and the data exceeds 10GB"
- Preferences expressed: User's workflow preferences, style choices, communication preferences
- BAD: "Prefers short commits"
- GOOD: "Prefers atomic commits (one logical change per commit) because they review PRs commit-by-commit and need clean bisect history"
- Corrections given: Things the user corrected — these are HIGH PRIORITY (prevents repeat mistakes)
- BAD: "Don't use fmt.Println"
- GOOD: "Corrected: use log.Printf not fmt.Println in Go services because stdout is not captured by the log aggregator (Alloy)"
- Conventions established: Naming patterns, file organization, coding standards
- BAD: "Use snake_case"
- GOOD: "Convention: snake_case for Python files and functions, but PascalCase for Pydantic models. Established because the codebase mixes both and this was the cleanup decision"
- Open questions: Unresolved items that need future attention
- Store these explicitly so the next session can address them
- Include what was already tried or considered
Storage Process
For each item identified above:
- Store with context using
memory(action="add", ...):- Content MUST include WHY, not just WHAT
- Tag with category:
decision,preference,correction,convention,open-question - Tag with project name for scoped retrieval
- Include date context if time-sensitive
- Verify retrieval (mandatory — do NOT skip):
memory(action="search", query="[natural terms someone would use to find this]")- If the memory does not appear in top results, either:
- Rewrite content with better keywords
- Add more specific tags
- A memory that cannot be found is worthless
- Produce handoff summary for the user:
## Session Handoff — [date] ### Stored - [N] decisions, [N] preferences, [N] corrections, [N] conventions ### Open Questions (carried forward) - [list unresolved items] ### Key Context for Next Session - [1-3 sentence summary of where things stand]
Quality Rules
- WHY not WHAT: Every memory must answer "why was this decided/preferred/corrected?"
- Specific over generic: "Use Polars for dataframes" is useless without "because pandas is banned per project rules and Polars handles our 50M row dataset in 2s vs 45s"
- One insight per memory: Do not cram multiple unrelated facts into one entry
- Verify or discard: If retrieval verification fails after 2 rewrites, the content is too vague to be useful
- No ephemeral facts: Do not store things that will be outdated next session (e.g., "currently on line 42 of file X")
When to Use
- End of any productive session (before the conversation closes)
- When explicitly asked to "remember this" or "save for next time"
- After debugging sessions — capture root cause and fix
- After architecture or design discussions with decisions
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.

