session-end
Skill4 starsChanged 7 months agoApache-2.0View on GitHub
Run the mandatory Session End Protocol (palace and twin updates, diary, activity log, kaizen backlog, lessons learned, procedural audit, memory-hot regen)
12 other projects use a version of this.
Adopted by
Most recently taken up by
- puritysb/AgentDecktheir own version, first seen Sep 28, 2026
- mae616/ai-templatetheir own version, first seen Aug 22, 2026
- lumatic2/askewly-harnesstheir own version, first seen Aug 21, 2026
- redamancy231-create/claude-skillstheir own version, first seen Jul 15, 2026
- valpere/session-indexertheir own version, first seen Jul 12, 2026
- iamneilroberts/claude-skillstheir own version, first seen Jul 3, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- puritysb/AgentDeck★ 256same name
- faizkhairi/claude-code-blueprint★ 71same name
- valpere/session-indexer★ 42same name
- iamneilroberts/claude-skills★ 26same name
- itsjwill/claude-memory★ 15same name
- IlyaGorsky/memory-toolkit★ 13same name
- mae616/ai-template★ 9same name
- jkm-4314/claude-code-skills★ 4same name
- redamancy231-create/claude-skills★ 3same name
- DanielGuru/repomemory★ 2same name
2 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 repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- db-healthSkill
- dreamSkill
- forum-pulseSkill
- genesisSkill
- grill-meSkill
- handoffSkill
- hireSkill
- inbox-processSkill
- kaizenSkill
- quality-gateSkill
- quarterly-reviewSkill
- session-startSkill
- sync-upstreamSkill
- twin-updateSkill
- voice-gateSkill
- weekly-reviewSkill
- write-a-skillSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
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 14
Read that file and execute the steps in order:
- Distinctive: line 28
Do NOT duplicate or fork the step logic here — edit the protocol file instead.
“Common” is measured: kept by at least 6 in 10 of the 7 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 End Protocol — wrapper
This skill is a thin wrapper. The canonical, single source of truth is:
.claude/protocols/session-end.md
Read that file and execute the steps in order:
- Palace and twin updates (
palace.py add/kg-add/kg-invalidate, plus/twin-update) - Diary entry (AAAK format,
palace.py diary-write) - Activity log (
session_end) - Kaizen backlog surface (only when 3+
[Kaizen]proposals have been pending >48h) - Lessons learned and system improvement (feedback memory / procedural memory / palace)
- Procedural memory audit (BLOCKING — enumerate delegations, capture non-obvious patterns)
- Regenerate memory hot (
python3 scripts/generate_memory_hot.py)
The protocol is enforced by the force-session-end.sh (Stop) hook, which blocks
the close until lessons, procedural audit and memory-hot regeneration are
evidenced.
Do NOT duplicate or fork the step logic here — edit the protocol file instead. Two copies of a protocol drift, and the copy the agent happens to read wins.
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.

