agentleFS
hdprajwalhdprajwal/agent-skills/skills/session-handoff/SKILL.md

session-handoff

Skill1 starsChanged 5 months agoMITView on GitHub

Write or restore a handoff note when pausing or switching between projects, so the next session (you, another agent, or the user) resumes without re-deriving context. Use when wrapping up for now, context is getting long, switching to another repo, or starting back up on a project left mid-task. Captures state + next step, not a transcript.

139 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

  • 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

  • botlearn-aiSkill

    doc-gen

    Also in 4 projects that use this

  • flyingobsidianSkill

    terminology

    Read a codebase, find terminology, create/update definitions into a markdown document.

    Also in 3 projects that use this

  • Dizzy-TenSkill

    bug-diagnosis

    Diagnose bugs and product issues without modifying code. Use when the user explicitly invokes $bug-diagnosis or asks for diagnosis, root-cause analysis, issue classification, or fix strategy for code bugs, failing tests, configuration/dependency problems, deployment issues, performance regressions, data anomalies, or frontend/user-experience problems described through screenshots, annotations, logs, errors, or natural-language reports. Prioritize analysis and recommendations only; do not edit files.

    Also in 3 projects that use this

  • +1 more from SethGammon

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 117 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:

    Before writing it, capture real state, don't guess:

    line 43
  2. Distinctive:

    Verify it against reality — git status, git log, run the build/tests.

    line 58

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

Across many parallel projects, the expensive part of resuming is rebuilding context. A handoff note fixes that: a short, current snapshot of where things stand and what's next — written when you stop, read when you start.

Writing a handoff (when pausing / switching)

Save to docs/HANDOFF.md in the repo (or update it if it exists). Keep it short and current — overwrite stale parts, don't append forever.

# Handoff — <project> — <YYYY-MM-DD>

## Goal
<the task in one or two sentences>

## State
- Done: <what's working and verified>
- In progress: <what's half-built, and where exactly>
- Branch: <current branch> · last commit: <sha + subject>

## Next step
<the single concrete next action — specific enough to start cold>

## Open questions / decisions pending
- <thing you or the user still needs to decide>

## Key files / commands
- `path/to/file.rs` — <why it matters>
- run: `pnpm dev` / `cargo run` / test: `…`

## Watch out for
- <gotcha, flaky test, half-done migration, anything that'll bite>

Before writing it, capture real state, don't guess:

git branch --show-current
git log --oneline -5
git status --short

Rules: state the next step concretely (the whole point); record decisions pending so they're not silently re-made; note what's broken or half-done; keep it to a screen. It's a snapshot, not a changelog.

Restoring from a handoff (when starting back up)

  1. Read docs/HANDOFF.md.
  2. Verify it against reality — git status, git log, run the build/tests. The repo is the source of truth; the note can be stale.
  3. Confirm the branch and that the baseline still passes before continuing.
  4. Pick up at "Next step." If reality and the note disagree, trust the repo and say so.

Notes

  • A handoff is for resuming work; a plan (writing-plans) is for specifying it, and a PRD for defining it. Don't duplicate those here — link to them.
  • For a quick same-day pause a few lines is enough; scale the detail to how cold the restart will be.

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.