agentleFS
alecstephens3-stackalecstephens3-stack/claude-code-operating-system/.agents/skills/session-handoff/SKILL.md

session-handoff

Skill0 starsChanged 27 days agoMITView on GitHub

Produce a structured end-of-session handoff in chat so a fresh session can continue without loss. Use when the owner says "session handoff", "hand off", "wrap up the session", or is about to clear the context. Covers decisions, what shipped, key files, running processes, how to verify, deferrals and open questions.

164 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ascii-diagram, research-fleet 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.
  • SethGammonSkill

    ascii-diagram

    Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.

    Also in 4 projects that use this

  • SethGammonSkill

    research-fleet

    Parallel research using Fleet wave mechanics. Spawns multiple scout agents, each investigating a different angle of the same question. Findings are compressed between waves. Produces a unified research brief from multiple independent perspectives.

    Also in 3 projects that use this

  • ferocknewSkill

    doc-reader

    当用户要求"读取 Word 文档"、"解析 DOCX 文件"、"将 Word 转换为 Markdown"、"提取文档内容"、"读取 docx"时,或者需要在 JavaScript/Node.js 环境中读取 Microsoft Word 文档(.docx)并转换为 Markdown、HTML 或纯文本格式时使用此 skill。

    Also in 3 projects that use this

  • vicoa-aiSkill

    live-preview

    Start a local app in the current user project, expose it through a tunnel, and return preview details in structured Markdown. Use when the user asks for a preview URL, public URL, shareable localhost, mobile/web preview, or tunnel setup.

    Also in 4 projects that use this

  • mcabreradevSkill

    bug-diagnosis

    Use when something is broken, failing or intermittent. Diagnose before fixing: a command that goes red on this bug first, then falsifiable hypotheses.

    Also in 4 projects that use this

  • botlearn-aiSkill

    doc-gen

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 140 edited versions we read keep these.

  • 4

    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:

    Do not audit the repo. This is what happened in this session, and nothing else.

    line 16
  2. Distinctive:

    Never invent state. Absolute paths always.

    line 51
  3. Distinctive:

    If a plan file drove the session, name it first under key files.

    line 52
  4. Distinctive:

    No retrospective and no praise.

    line 53

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

The reader of this format is the next session, not the owner.

Check who is reading first. If the owner asked you to summarise the session for himself, this template is wrong: paths, process ids and commit hashes are noise to him. Gather with it if useful, then answer him in plain words per .claude/rules/writing-style.md, which outranks this file.

How

  1. Review the whole conversation, not the last few turns.
  2. Pull state from: any plan file used this session, open tasks, background processes you started (their ids are the only way the next session can find them), files you created or changed, and questions that never got a clear answer.
  3. Do not audit the repo. This is what happened in this session, and nothing else.
  4. Output in chat only. Never write it to a file.

Template (every section, every time; write "none" rather than dropping one)

# Session handoff: <one line on what this session was about>

## Where it started
<two or three sentences: the ask and the constraints that came up>

## Decided and shipped
- <decision or change>: <why, and where it lives>

## Key files for the next session
- `<absolute path>`: <why to read it first>

## Running state
- Background processes: <id, what it is, how to stop it> or none
- Servers and ports: <url> or none
- Branches and worktrees: <names> or none

## How to verify
- `<command>`: <expected result>

## Deferred and open
- Deferred: <item>: <why later>
- Open: <question for the owner>: <context>

## Pick up here
<one or two sentences: the single most likely next action>

Rules

  • Never invent state. Absolute paths always.
  • If a plan file drove the session, name it first under key files.
  • No retrospective and no praise. Terse and concrete, like an engineer's end-of-shift note.

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.