agentleFS
AN0099AN0099/toothpaste-kit/skills/session-log/SKILL.md

session-log

Skill1 starsChanged 19 days agoApache-2.0View on GitHub

Mid-session capture before compaction or handoff while work is unfinished; one append-only pass of decisions, corrections, questions and findings, no verification or standing-file updates. Does not replace or satisfy session-close.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ml-training-recipe, replication and 10 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.
  • getcompanion-aiSkill

    ml-training-recipe

    Find implementable ML training recipes from papers, datasets, docs, and code. Use when the user wants to fine-tune, train, reproduce, or choose a practical ML method, dataset, hyperparameter setup, or benchmark recipe.

    Also in 3 projects that use this

  • getcompanion-aiSkill

    replication

    Plan a replication of a paper, claim, or benchmark, and execute only after an explicit environment choice. Use when the user asks to replicate results, reproduce an experiment, verify a claim empirically, or build a replication package.

    Also in 3 projects that use this

  • brainbytes-devSkill

    alpha-research

    Also in 3 projects that use this

  • JaimeParkerSkill

    paper-code-audit

    Perform three-way cross-validation of a research paper by comparing the original paper text (via Zotero), official code implementation (via Git), and personal Obsidian notes. Use this skill whenever the user wants to "audit a paper", "verify paper claims against code", "cross-check notes with implementation", "triangulate paper + code + notes", "find discrepancies between paper and code", or mentions wanting a deep, structured comparison of a paper's claims against its implementation and their own notes. Also trigger when the user asks to "analyze this paper thoroughly" with code available, or when they want to systematically reconcile what the paper says, what the code does, and what their notes claim.

    Also in 3 projects that use this

  • JimLiuSkill

    pdf-explore

    Use this skill when the user has attached a PDF, paper, report, or other document and the answer needs content from more than one place in it: summarize the methods or any other section, compare sections, find where a topic is discussed, read a value or label off a figure or chart, or find/list/extract every instance of something across the whole document (datasets, benchmarks, citations, figures, table rows, accession numbers — including appendices). Skip it only for a single lookup of 1–4 pages quoted in your very next response — `read_file(pages=[...])` attaches pages as images that are dropped from context after one turn, so multi-section answers end up re-reading the same ranges repeatedly. Parses the PDF once in the Python kernel: `pdf_pages` (pages as persistent text), `pdf_outline` (TOC), `pdf_scan` (rank pages by relevance), `pdf_map`/`pdf_extract` (per-page summary / structured fields via parallel haiku calls). For PDF creation/manipulation, use reportlab/pypdf directly.

    Also in 3 projects that use this

  • KISHOR403Skill

    session-search

    This skill should be used when searching Claude Code session transcripts with semantic understanding. Triggers on queries like "find sessions about X", "when did I work on Y", "search previous conversations". Supports natural language queries with synonym matching.

    Also in 4 projects that use this

  • +1 more from getcompanion-ai

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 15 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
  1. Distinctive:

    Only one thing, and aiming at it is what keeps this cheap.

    line 27
  2. Distinctive:

    Do not update the manifest, the queue, the handoff document, or the threads logs.

    line 83

“Common” is measured: kept by at least 6 in 10 of the 15 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

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 decisions and findings are 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.

  1. Decisions and the alternative rejected. The choice, the reason, and what was turned down.
  2. Corrections. Anything stated as fact that turned out to be wrong, and what corrected it.
  3. Open questions. Raised and unresolved. Include who or what is blocking.
  4. 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.
  5. 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. examples/workspace/CLAUDE.md shows what that statement looks like; it is an example, not your tree's path. 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 through session-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.
<!-- SPDX-FileCopyrightText: 2026 Aidan Naveja SPDX-License-Identifier: Apache-2.0 -->

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.

Reviews can't be read right now.

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.