session-end
Skill0 starsChanged 41 days agoMITView on GitHub
End of the day, or of the week with --full: rewrites SESSION_STATE.md within its quotas, absorbs today's checkpoints into the SESSION_LOG.md entry, runs the personal extension, commits and pushes. Use when the user ends the session (\"we're done for today\", \"close the session\", \"/session-end\") or the week (\"close the week\", \"--full\"). Not for finishing one task (session-checkpoint) or a function.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- nuncaeslupus/doc-controltheir own version, first seen Nov 29, 2026
- valpere/session-indexertheir own version, first seen Nov 24, 2026
- Kanevry/session-orchestratortheir own version, first seen Nov 24, 2026
- cedaniel200/atlas-devtheir own version, first seen Nov 22, 2026
- puritysb/AgentDecktheir own version, first seen Nov 20, 2026
- lumatic2/askewly-harnesstheir own version, first seen Nov 19, 2026
Used with
Projects with it also use init, grilling and 2 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.
MicrosoftSkillinit
Also in 3 projects that use this
GoogleSkillgrilling
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
Also in 4 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- puritysb/AgentDeck★ 305same name
- faizkhairi/claude-code-blueprint★ 74same name
- Kanevry/session-orchestrator★ 53same name
- valpere/session-indexer★ 42same name
- namedtoaster/The-Last-Mile★ 41same name
- iamneilroberts/claude-skills★ 37same name
- IlyaGorsky/memory-toolkit★ 13same name
- edxleon/runspector★ 11same name
- mae616/ai-template★ 9same name
- freskhu/genesis★ 5same name
23 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 repository2 other files it gives its agents.
- session-checkpointSkill
- session-startSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Full: when the user asked ("close the week", --full) or when the STATE's last-full-end is missing or older than 7 days.
- Very specific: line 21
If the user only meant a task, point to session-checkpoint and stop.
- Very specific: line 25
Before writing, assemble: what was done, decisions (choices and trade-offs not obvious from the code), what is left, what comes next.
- Very specific: line 49
Every line ends with (measured DD/MM) or (assumed).
- Very specific: line 75
If today's entry exists (checkpoints, an earlier part), rewrite it absorbing the ### checkpoint sub-blocks.
- Very specific: line 78
Month changed since the previous entry?: Do the monthly rotation (files.md): the previous month's entries move to docs/sessions/YYYY-MM.md, …
- Very specific: line 83
If ~/.claude/ritual-extend.md exists: run ## End on a day's end, ## Full end on --full (../../references/extension.md).
- Distinctive: line 103
Not part of the ritual: the test suite (the repo's own rules decide), the code graph, deploys.
“Common” is measured: kept by at least 6 in 10 of the 26 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
Two sizes, and the day is the default. --full runs on request or by date, never by
reflex. Formats, quotas and rules: ../../references/files.md.
1. Confirm before writing
This skill fires on natural language, and "let's wrap up" may be about a task. Before touching any file or running git, confirm in one line, saying which size and why:
Closing the day — STATE rewritten, LOG entry, extension, push. OK?Closing the week (last full end on DD/MM, N days ago) — all of the day plus pruning. OK?
Full when the user asked ("close the week", --full) or when the STATE's last-full-end is
missing or older than 7 days. Decide and say which trigger fired; do not ask "day or week?".
If the user only meant a task, point to session-checkpoint and stop.
2. Synthesize
Before writing, assemble: what was done, decisions (choices and trade-offs not obvious from the
code), what is left, what comes next. Today's ### checkpoint sub-blocks enter this synthesis.
Separate what was verified from what was only written. Committed code, a green test and a feature exercised in production are not the same thing. Each done item carries its evidence (test run, query checked, screen opened, execution id) or its absence, said in full: delivered, not exercised.
3. Rewrite SESSION_STATE.md
A photo of now, not a diary: if something is no longer true, it is gone. A 1.x STATE (no
## In progress; the start script flags it) is migrated first, with the table in
../../references/adoption.md, in the same commit; say so in the step 1 line. In this order:
## In progress: keep only the blocks still in flight. For each block not touched today, ask in one batched question whether it stays. Blocks of tasks finished today are deleted.## Current state: what works, each with the pointer to its evidence. 12 bullets of up to 2 lines; a longer bullet becomes a pointer to the LOG.## To exercise: each**Done, not exercised:**item of today's entry becomes a line with its proof. A line whose proof happened today leaves, and its evidence goes to## Current stateas a pointer. 6 items; an empty section is left out.- Pending items, in the four sections, using the moves from
files.md: a closed item disappears; "leave it for later" goes to## Deferredwith a reason; an unblocked item returns to## Nowwhere the user says; a new item is born in## Nowor## Deferred. Every line ends with(measured DD/MM)or(assumed).## Nowis ordered and has up to 7. - Frontmatter:
last-session= today; on--full, alsolast-full-end. - Check the limits (
files.md):## Now7 and 120 lines in all are hard, cut now; the section targets are not: over one, say so in one line and move on.
On a feature branch, only this repo's ## In progress block and the LOG are written
(../../references/branches.md; not when the files live elsewhere). With sibling repos, rewrite the STATE of each repo the
session touched (../../references/multi-repo.md).
4. Prune (--full only)
One batched question per group, "delete these N?", and the deleted lines go to the day's entry
under **Pruned:**:
## Deferreditems older than 4 weeks with no return condition.## Debt, all of it: what the user keeps, stays.## Blockeditems older than 4 weeks: still waiting?## In progressblocks whose branch has no commit for 7 days.
Age counts only here; the daily briefing never nags by date.
5. The LOG entry
At the top of SESSION_LOG.md, today's entry: ## YYYY-MM-DD — <short title>, with
**Summary:** (required, one sentence: it is what the next start reads), **Done:**,
**Done, not exercised:**, **Decisions:**, **Pending:**, and **Pruned:** on --full.
If today's entry exists (checkpoints, an earlier part), rewrite it absorbing the
### checkpoint sub-blocks. Never edit other days' entries.
Month changed since the previous entry? Do the monthly rotation (files.md): the previous
month's entries move to docs/sessions/YYYY-MM.md, in this same commit.
6. Extension
If ~/.claude/ritual-extend.md exists: run ## End on a day's end, ## Full end on --full
(../../references/extension.md). Missing file or section: nothing happens, nothing is said.
7. Commit and push
git add the session's files (code + the two docs, docs/sessions/ on rotation), commit
first, then git pull --rebase --autostash (a conflict is resolved, never force-pushed):
<type>: <one-line summary of what was done>
<bullets of the main items, if more than one>Push to the current branch. Confirm in one line that it went up. If the push fails, say the error; do not claim the session is closed.
Session files: declared (files.md): all of this happens in that folder; commit and push
its repo (git -C; nothing to commit is fine). Leave the project repo alone.
Not part of the ritual: the test suite (the repo's own rules decide), the code graph, deploys.
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.

