agentleFS
pengqianhanpengqianhan/open-paper-skills/skills/session-handoff/SKILL.md

session-handoff

Skill3 starsChanged 5 months agoMITView on GitHub

Maintain or resume repository-root HANDOFF.md for cross-session work. Use when recording a task arc that may span sessions, preparing its next-session handoff, or continuing and verifying an earlier arc.

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

11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 140 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep one compact repository-root HANDOFF.md that transfers control to a cold session without requiring the prior conversation.

    line 8
  2. Distinctive:

    Keep each fact in its authoritative layer:

    line 11
  3. Very specific:

    If HANDOFF.md is missing or needs structural repair, read references/format.md before recording.

    line 20
  4. Very specific:

    Read Active Work, then Decisions, guardrails, blockers, and any suggested skills relevant to the next action.

    line 25
  5. Distinctive:

    Create or update the active task arc before work may cross a session boundary.

    line 37
  6. Distinctive:

    Update the record as state changes.

    line 39
  7. Distinctive:

    Keep sensitive values out of the handoff.

    line 45
  8. Very specific:

    If the user names the next session's focus, tailor the next action to it.

    line 55
  9. Very specific:

    When the task arc has no remaining execution work, write No active tasks.

    line 59
  10. Very specific:

    Keep HANDOFF.md in the repository root, with relative links and Active Work near the top.

    line 67
  11. Distinctive:

    Keep it lean; Git history and linked artifacts carry completed detail.

    line 68

“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

Keep one compact repository-root HANDOFF.md that transfers control to a cold session without requiring the prior conversation. Treat it as a snapshot: repository evidence always wins.

Keep each fact in its authoritative layer:

  • Git stores commits and diffs; link git log or git show, never mirror a commit table.
  • Memory files store durable cross-task or cross-project knowledge.
  • Project memory stores project-local state.
  • A dedicated map or tracker stores its own execution status; link it instead of mirroring it.
  • HANDOFF.md stores the current task arc: active work, settled decisions, deviations, and intentional omissions.

If HANDOFF.md is missing or needs structural repair, read references/format.md before recording.

Resume

  1. Read Active Work, then Decisions, guardrails, blockers, and any suggested skills relevant to the next action.
  2. Re-verify load-bearing facts with git status, git log, referenced artifacts, and targeted checks. Prefer current repository evidence over the snapshot.
  3. Continue the recorded next action. Preserve settled defaults unless the user explicitly reopens them.

Complete when the next action, its authority, its prerequisites, and the evidence supporting the current state are all known without relying on the previous transcript.

Record ongoing work

  1. Create or update the active task arc before work may cross a session boundary. Give every open item an exact next action and a checkable acceptance condition; add paths or commands when useful.
  2. Update the record as state changes. Keep blocked or partial items unchecked with the blocker; check and strike through an item only after its verification passes.
  3. Record settled choices as Decision | Default taken | To reverse. Record material route changes under Deviations and deliberately deferred scope under Intentionally not done.
  4. Reference existing specs, plans, ADRs, issues, maps, commits, and diffs by path or URL. Add only the context needed to understand why they matter and what happens next.
  5. Keep sensitive values out of the handoff. Record a safe location or handling instruction for credentials and private data, never the secret or personal detail itself.

Complete when a cold agent can identify the current state, next action, acceptance check, blocker, and governing decision from repository artifacts alone.

Prepare the next session

  1. Compact finished detail into links to authoritative artifacts and Git evidence. Keep only live, load-bearing context in HANDOFF.md.
  2. If the user names the next session's focus, tailor the next action to it. Add Suggested skills only when naming them changes tool or workflow routing.
  3. Audit the handoff: verify factual claims, resolve local links, remove duplicated artifact content, and confirm that no credentials or sensitive personal information appear.
  4. When the task arc has no remaining execution work, write No active tasks. after preserving durable decisions and intentional omissions in their authoritative layers.

Complete when a fresh agent can resume safely from HANDOFF.md and its links, with no transcript and no hidden prerequisite.

Conventions and limitations

  • Keep HANDOFF.md in the repository root, with relative links and Active Work near the top.
  • Keep it lean; Git history and linked artifacts carry completed detail.
  • This skill does not run automatically at session start. Repository startup instructions must explicitly direct agents to read HANDOFF.md.

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.