close-session
Skill0 starsChanged 4 days agoMITView on GitHub
Use when the user ends or pauses work in a module ("close the session", "wrap up", "done for today") or when a non-conversational task in a module is finished, to write the module session entry and the root index entry. Not for workspace-wide health checks (use check).
10 other projects use a version of this.
Adopted by
Most recently taken up by
- vinaySankar2004/vuhritheir own version, first seen Nov 3, 2026
- eranw2000/multi-phase-skills-frameworktheir own version, first seen Oct 25, 2026
- Dmkdok/product-factorytheir own version, first seen Oct 25, 2026
- dave8172/skillstheir own version, first seen Oct 25, 2026
- Thinker1951/claude-session-continuitytheir own version, first seen Oct 15, 2026
- sheldor26/Blastdoortheir own version, first seen Oct 8, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- eranw2000/multi-phase-skills-framework★ 10same name
- philippe-desplats/second-brain★ 6same name
- dave8172/skills★ 1same name
- Dmkdok/product-factory★ 1same name
- herreraspaintingba-hub/second-brain-starter-kit★ 0same name
- rokokol/close-session-skill★ 0same name
- sheldor26/Blastdoor★ 0same name
- sheldor26/whatloads★ 0same name
- Thinker1951/claude-session-continuity★ 0same name
- vinaySankar2004/vuhri★ 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 repository6 other files it gives its agents.
- add-moduleSkill
- checkSkill
- cross-module-owner-apiSkill
- curateSkill
- initSkill
- kbSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
If tools/kb/kb.py is missing but AGENTS.md and modules.md exist, the workspace predates the integrity tool: tell the user to run the init …
- Very specific: line 16
Check what this session changed: python tools/kb/kb.py check --changed <files changed this session>.
- Very specific: line 36
Write the minimal entry a new session can continue from alone, ending with one next step concrete enough to start without asking.
- Very specific: line 50
Ask the user: "Did a recurring problem or workaround come up that future tasks must know about?" If yes, add a section to known_issues.md …
- Distinctive: line 56
Never edit or delete older entries.
“Common” is measured: kept by at least 6 in 10 of the 9 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
If tools/kb/kb.py is missing but AGENTS.md and modules.md exist,
the workspace predates the integrity tool: tell the user to run the init
skill, which upgrades it, and stop. Run tool commands from the workspace
root; use python3 or py -3 where python is
missing or older than 3.9.
- Resolve the active module: the one the user named, otherwise the last
active module in root
session_state.md. - Check what this session changed:
python tools/kb/kb.py check --changed <files changed this session>. Resolve blocking issues with thekbskill before writing the entry, or list them in it. Its summary line goes into the entry's checks. - Recipe candidates: run
python tools/kb/kb.py recipe candidate tick --module <module>, thenpython tools/kb/kb.py recipe candidates. If a candidate is listed, ask the user whether to promote it (thekbskill's recipe procedure). Then ask once: "Did this session settle a platform technique other modules could reuse?" On yes, register it withpython tools/kb/kb.py recipe candidate add <file> --symbol <name> --module <module>. - Insert a new entry at the top of
modules/<module>/session_state.md, followingtemplates/session/session-state-entry.mdin the workspace:- what was asked and the current state;
- files changed;
- durable facts learned, with the evidence for each;
- assumptions and confidence;
- checks run (including the step 2 summary) and what remains unverified;
- exactly one next useful action.
Write the minimal entry a new session can continue from alone, ending
with one next step concrete enough to start without asking. End it
with the line
<!-- AGENT-SESSION-STOP -->.
Insert a short entry at the top of root
session_state.md, in the same shape as its other entries:## YYYY-MM-DD - <module>: <task summary> - Last active module: `<module>`. - Workspace docs: <one-line summary of docs changed>. - Verification: <checks run>. - Next useful action: <the same next action as the module entry>. <!-- AGENT-SESSION-STOP -->- Ask the user: "Did a recurring problem or workaround come up that
future tasks must know about?" If yes, add a section to
known_issues.mdwith Symptom, Cause, and Required handling, written so it changes what the next agent does. Workspace defects found by the check skill never go here; that skill keeps its own single line. - Never edit or delete older entries.
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.

