agentleFS
tderousseltderoussel/agent-skills/skills/session-log/SKILL.md

session-log

Skill1 starsChanged 3 months agoMITView on GitHub

Write a durable record of a work session — what was built, root-caused, or shipped — into the project's notes. Use when the user says log this session, write a session log, record this, or when a substantial piece of work has just finished and needs to be handed off to a future session.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't run it for trivial work.

    line 17
  2. Distinctive:

    If a fact can't be confirmed, mark it unconfirmed rather than dropping it or asserting it.

    line 36
  3. Very specific:

    If the notes system uses frontmatter, include an outcome field: one full sentence stating what is now true that wasn't before.

    line 65
  4. Very specific:

    Write both, every time. If nothing is genuinely held for a human, write None — nothing is held.

    line 71
  5. Distinctive:

    Check each link target against a real file before writing it.

    line 81
  6. Distinctive:

    If the work changed a project's status, add a dated state section to that project's main document — newest first, prepend, never overwrite …

    line 85
  7. Distinctive:

    If the work advanced a program with a handoff document, update it in place so the next session picks up correctly.

    line 87
  8. Distinctive:

    If the user corrected something during the session, write the lesson somewhere durable — a rules file, a memory store, this skill itself.

    line 91
  9. Distinctive:

    Never claim a status without saying how it was checked.

    line 96
  10. Distinctive:

    Write for a reader with none of your context.

    line 98
  11. Distinctive:

    Do not overwrite an existing log.

    line 102
  12. Distinctive:

    Do not write into machine-generated directories.

    line 103
  13. Distinctive:

    Do not create scratch files or build output alongside the notes.

    line 104

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Session log

Writes a durable record of a work session. These logs get treated as ground truth by whoever reads them next — including you, six weeks from now, with none of this context. Accuracy matters more than polish.

When to run this

  • A build, fix, audit, or research wave just finished
  • A session is ending and there's state the next one would need
  • Something was root-caused and the mechanism is worth keeping

Don't run it for trivial work. A one-line fix doesn't need a log.

Where it goes

Wherever the project keeps its session records — a docs/sessions/ directory, a notes vault, a wiki. Ask once if it isn't obvious, then stay consistent.

A filename carrying the date and a short description sorts and scans well: YYYY-MM-DD Short Description.md.

Steps

1. Gather the facts before writing

Do not write from memory of the conversation alone. Collect:

  • PR numbers, commit SHAs, migration timestamps, deploy IDs
  • What was actually verified, and by what command
  • What failed, and what's still open
  • Anything only a human can do

If a fact can't be confirmed, mark it unconfirmed rather than dropping it or asserting it.

2. Write the body

# YYYY-MM-DD — <what was root-caused or shipped>

<One line naming how the work was run: who planned, who built, who reviewed.>

## What happened

- Mechanism first. Why this happened, not just what.
- Concrete evidence: PR numbers, SHAs, timestamps, row counts, log lines.
- Distinguish proven from inferred, explicitly.

## Fix

1. Numbered steps. Each states what was verified and how.

## Standing DO-NOT rules
<Only if the session produced prohibitions. Ground each in the incident that caused it.>

## Remaining items — needs a human

- [ ] Things only they can do

Links: <related documents>

If the notes system uses frontmatter, include an outcome field: one full sentence stating what is now true that wasn't before. It is the most-read line in the file. Make it a real claim, not a label.

3. The two sections everyone drops

## Remaining items and the links footer are required. They are the two sections that carry value forward and the two most often omitted — in one vault, measured across 230 existing logs, they appeared in only ~21% and ~28% of them.

Write both, every time. If nothing is genuinely held for a human, write None — nothing is held. rather than deleting the heading.

4. Mark every claim

Label each one VERIFIED (how) or ASSUMED (why not checked) inline. Do not blur them.

"Verified" should mean a human or a command actually confirmed it. A claim about production requires a query against production — not a passing test, not a merged PR, not a green deploy.

5. Resolve every link before saving

Check each link target against a real file before writing it. A notes system accumulates broken references fast, and a log full of dead links is a log nobody trusts.

6. Update the project's state

If the work changed a project's status, add a dated state section to that project's main document — newest first, prepend, never overwrite history.

If the work advanced a program with a handoff document, update it in place so the next session picks up correctly.

7. Feed the lessons back

If the user corrected something during the session, write the lesson somewhere durable — a rules file, a memory store, this skill itself. That is how corrections stop repeating.

House style

  • Specific and falsifiable. Vague summaries are worse than nothing here.
  • Never claim a status without saying how it was checked.
  • Lead with bad news. Don't bury it.
  • Write for a reader with none of your context.

Do not

  • Do not overwrite an existing log. Read first, then edit.
  • Do not write into machine-generated directories.
  • Do not create scratch files or build output alongside the notes.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.