close-session
Skill1 starsChanged 57 days agoMITView on GitHub
Closes the workday on the workbench. Writes the day's diary (vault/memory/diary/), one briefing per session (vault/memory/briefings/) with a full-path link to the project root in the body, collects pains from the user's own words into vault/memory/ideas/_pains.md, opens a task in vault/tasks/ for whatever is left pending, and runs the verifiers if they exist. A new skill or new project comes out only as a proposal. Commits only if the user says so and never pushes. TRIGGERS - "fecha a sessão", "vou parar por hoje", "/close-session", "what did we do today", "summarize the day". Do NOT trigger to summarize a short conversation with no work, to open a session (that is open-session), nor to observe process (that is task-observer).
- Commits and pushes
5 other projects use a version of this.
Adopted by
Most recently taken up by
- herreraspaintingba-hub/second-brain-starter-kittheir own version, first seen Oct 2, 2026
- eranw2000/multi-phase-skills-frameworktheir own version, first seen Sep 23, 2026
- sheldor26/whatloadstheir own version, first seen Sep 21, 2026
- rokokol/close-session-skilltheir own version, first seen Sep 18, 2026
- onblueroses/stratatheir own version, first seen Sep 7, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- eranw2000/multi-phase-skills-framework★ 9same name
- onblueroses/strata★ 3same name
- herreraspaintingba-hub/second-brain-starter-kit★ 0same name
- rokokol/close-session-skill★ 0same name
- sheldor26/whatloads★ 0same name
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.
- CLAUDE.mdCLAUDE.md
- vault/CLAUDE.mdCLAUDE.md
- adapt-skillSkill
- askSkill
- claude-cornerSkill
- onboardSkill
- open-sessionSkill
- task-observerSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
The source is what happened, not what I remember: Every number or fact in the briefing comes from a command run in this session (git log, …
- Very specific: line 20
Link only if the file exists: Check with test -f before writing the wikilink.
- Distinctive: line 25
No order, no commit; never push: Ask before committing. This skill pushes nothing.
- Very specific: line 39
If git log shows nothing (repo with no commits), say "not measured: no commits" and go by the conversation.
- Distinctive: line 76
If the file does not exist, do not create it: say it belongs to the workbench structure and leave the pains in the briefing, in the section …
- Distinctive: line 108
If one fails, show the output and fix only what is yours (the briefing you just wrote).
- Distinctive: line 119
Run git push, or commit without the user's order.
- Very specific: line 120
Put my words in _pains.md.
- Very specific: line 121
Write to profile.md, patterns.md, decisions.md or vault/notes/.
- Distinctive: line 122
Create a skill or project: only propose.
- Distinctive: line 123
Delete or rewrite a diary that already exists.
“Common” is measured: kept by at least 6 in 10 of the 4 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
close-session: what is left of the day, written down before it is forgotten
Why it exists
Work ends and the context vanishes: in the next session nobody knows what was left pending, what annoyance came up, what decision was made. Closing from memory records what you remember, not what happened. Closing with a method turns the session into four things: diary, briefing, pains, tasks.
The rules
- The source is what happened, not what I remember. Every number or fact in the briefing comes from a
command run in this session (
git log,git diff --stat,ls). With no command, I write "not measured". - A pain only with the user's words.
_pains.mdgets the phrase the user wrote, in quotation marks. My phrase, or the label of a menu option they clicked, is not their words: it does not go in. - Link only if the file exists. Check with
test -fbefore writing the wikilink. Full path fromvault/, in the middle of the argument. Never a## Connectionsblock at the bottom. - A section with no content is omitted. A weak session produces a short briefing. "No pain today" is a valid answer.
- I propose, I do not assert. A new skill, a new project, a change to
profile.md,patterns.mdordecisions.md: they come out as a proposal in the briefing. The user is the one who writes there. - No order, no commit; never push. Ask before committing. This skill pushes nothing.
Talk to the user and write prose (notes, briefings, profile lines) in the language the user writes in. Never translate a quote: verbatim quotes stay in the original language. Fixed tokens (frontmatter keys, status values, paths, enums) stay exactly as written.
The steps
1. Gather what happened (you, Claude)
git log --since=midnight --oneline --stat 2>/dev/null | head -40 || true
git status --short
ls -t vault/tasks/ | head -10If git log shows nothing (repo with no commits), say "not measured: no commits" and go by the conversation.
Cross it with what was said in it. Find the project(s) touched: each one must have
vault/projects/<name>/instructions.md. If it does not, say so and ask which it is.
2. Write the briefing, one per session (you)
File vault/memory/briefings/YYYY-MM-DD-<slug>.md, a short slug of the subject:
---
type: session-briefing
date: YYYY-MM-DD
projects: [<name>]
---Title: a statement of up to 10 words about what the session produced. Sections, in this order, omitting
the empty ones: What happened (2-3 paragraphs) · What was measured (command and number) · What the user
corrected (the quoted words) · What is still standing (pending item with next step) · What could be born
(proposal, with "why now"). The link to the root goes in the body, for example:
... moved forward on [[projects/<name>/instructions|<name>]] up to point X.
3. Write or append the diary (you)
vault/memory/diary/YYYY-MM-DD.md. If it already exists, append a section; never rewrite what is
there. Three to five lines per project: what moved, what got stuck, a full-path link to the briefing
(memory/briefings/...).
4. Collect pains (you)
Reread what the user typed in the session: complaint, workaround, something done by hand, "this again".
Append to the end of vault/memory/ideas/_pains.md, one per line, in this format:
YYYY-MM-DD | "verbatim quote from the user" | <briefing or project it came from>If the file does not exist, do not create it: say it belongs to the workbench structure and leave the pains in the briefing, in the section What is still standing. If the quote is not verbatim, do not write it.
5. Open a task for whatever is left pending (you)
A pending item with a concrete next step becomes a task in the TaskNotes plugin format, in
vault/tasks/<slug>.md (the slug comes from the title; if the file already exists, add -2). No ID in the name:
the plugin recognizes a task by the task tag, not by the file name. status is open, in-progress or
done; priority is none, low, normal or high. Ask for the priority if it is not obvious.
---
tags:
- task
title: <verb in the infinitive + what>
status: open
priority: normal
projects:
- "[[projects/<name>/instructions|<name>]]"
---The link in projects is a full path (the gate checks it). Body: one line on what to do and one
on "done when".
6. Run the verifiers, if they exist (one command each)
test -f core/gate.py && python3 core/gate.py || echo "gate.py does not exist yet: skipped"
test -f core/ring.py && python3 core/ring.py --gate || echo "ring.py does not exist yet: skipped"If one fails, show the output and fix only what is yours (the briefing you just wrote). Do not hide a failure: report it.
7. Deliver and ask (you)
Chat, at most 8 lines: paths of the files created, how many pains collected, tasks opened,
result of the verifiers (or "skipped: they do not exist"). Ask: "do you want me to commit?" Only with a yes,
commit the files of this skill, and no git push.
Never
- Run
git push, or commit without the user's order. - Put my words in
_pains.md. - Write to
profile.md,patterns.md,decisions.mdorvault/notes/. - Create a skill or project: only propose.
- Delete or rewrite a diary that already exists.
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.

