session-log
Skill1 starsChanged 3 months agoMITView on GitHub
Mid-session capture, run when the conversation is about to be compacted, handed off, or otherwise lose its detail while the work is unfinished. Writes the reasoning from the recent stretch to one append-only file in a single pass, with no verification sweep and no standing-file updates. Deliberately cheaper and narrower than session-close, which it does not replace and does not satisfy.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- tderoussel/agent-skillstheir own version, first seen Sep 8, 2026
- lumatic2/askewly-harnesstheir own version, first seen Aug 21, 2026
- Filip-Podstavec/claude-leveragetheir own version, first seen Aug 3, 2026
- psw7205/skillstheir own version, first seen May 26, 2026
- elisa-a-v/obsidian-claude-code-work-trackertheir own version, first seen Apr 10, 2026
- searlsco/prove_ittheir own version, first seen Mar 30, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- michalparkola/tapestry-skills★ 555same name
- searlsco/prove_it★ 198same name
- Filip-Podstavec/claude-leverage★ 68same name
- elisa-a-v/obsidian-claude-code-work-tracker★ 4same name
- lumatic2/askewly-harness★ 1same name
- psw7205/skills★ 1same name
- tderoussel/agent-skills★ 1same 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 repository15 other files it gives its agents.
- commandsSkill
- daily-dashboardSkill
- daily-reviewSkill
- document-standardsSkill
- jotSkill
- orientSkill
- redaction-gateSkill
- session-closeSkill
- skill-creationSkill
- skill-discoverySkill
- surface-regimesSkill
- technical-documentsSkill
- touchSkill
- weekly-reviewSkill
- working-preferencesSkill
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 5 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 27
Only one thing, and aiming at it is what keeps this cheap.
- Distinctive: line 81
Do not update the manifest, the queue, the handoff document, or the threads logs.
“Common” is measured: kept by at least 6 in 10 of the 5 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
When to Use
Mid-session, when context is about to be compacted or handed to another agent and the work is not finished. Invoked by a person.
Adapting this skill: filenames below name roles rather than literal paths. db throughout means
whatever your durable store is called. Substitute your own filenames freely.
session-close is expensive on purpose. It sweeps a whole session by category, updates every
standing file, and runs mechanical checks. That price is correct once, at the end. It is wrong three
times in an afternoon, and a procedure too expensive to run at the moment it is needed is a
procedure that does not get run. The gap this fills is the compaction boundary, where reasoning is
lost quietly and nothing is on fire.
Running this does not satisfy session-close. It skips the sweep, the standing files, and the
checks by design. A session that ends after a session-log is a session that was never closed. Say
so in the log rather than letting the file's existence imply otherwise.
What compaction actually destroys
Only one thing, and aiming at it is what keeps this cheap.
The tree survives compaction. Files written this session are still on disk, and a later session can read them. What does not survive is why they look like that: the alternative that was rejected, the constraint that ruled it out, the thing that turned out to be false halfway through.
So do not restate what a file says. If a sentence could be recovered by opening the file it
describes, it does not belong in the log. This single rule is most of the cost difference between
this skill and session-close.
Scope
The stretch since the last capture, not the session. If an earlier session-log exists for today,
start after it. If not, start wherever the current line of work began.
What to write
Five questions. Answer only the ones with something to answer, and skip the rest without comment rather than writing "none" five times.
- Decisions and the alternative rejected. The choice, the reason, and what was turned down.
- Corrections. Anything stated as fact that turned out to be wrong, and what corrected it.
- Open questions. Raised and unresolved. Include who or what is blocking.
- Findings the tree does not hold. Something established this stretch by evidence, about the harness, the tooling, or the environment, that no file in the store records and no file would have produced. A correction is the tree being wrong about something; this is the tree never having known it. These are the most expensive things to rediscover and the easiest to lose, because they arrive as a side effect of doing something else and never look like output.
- Where the work stands. One paragraph a future session can restart from. Name the next concrete action, not the goal.
Where it goes
One dated file in the provenance layer, session-<date>-<slug>.md, created on the first capture of
the day and appended to after that. Append, never rewrite: a later entry contradicting an earlier one
is a correction worth having both halves of. Head each entry with the time.
No em dash anywhere in the file, the headings included, which is where one slips in. The kit
bans the character in anything an agent writes. Join a date and a slug with a colon:
# Session 2026-10-01: store setup. This is a rule for writing, not a check: the sweep stays with
session-close, and a capture that leaves one behind has made one more correction for the close
to find.
Do not invent the directory. The tree states where its provenance layer lives, in the same always-loaded config that names the standing-files list, and that statement is the binding. Read it rather than guessing, because the plausible guesses are wrong in a way that does damage: a capture written into the repo puts session residue in a tree that may later get a remote, which is the exact mixing the two-layer rule forbids. If the tree says nothing, stop and ask rather than picking a path.
Provenance is verbose by default and stays out of any public repo. Nothing written here goes into a human-facing document.
What this skill deliberately does not do
Do not update the manifest, the queue, the handoff document, or the threads logs. Do not run the
dash sweep or any other mechanical check. Do not verify a completion claim. Do not read files to
confirm what you are writing; if you are unsure whether something happened, write the uncertainty
down and move on. Each of these belongs to session-close, and pulling one of them forward is how
this skill turns into a second copy of that one.
Scope Pointer
session-close: the full end-of-session procedure. Everything this skill skips lives there, and a log written here does not discharge it.daily-dashboard: the start-of-session half of the loop. It reads the standing files, which this skill never writes to, so a log captured here reaches the next day only throughsession-close.document-standards: does not apply. This file is provenance for agents, not a generated document for a reader, and the two layers are never mixed in one file.
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.

