agentleFS
hetalkumawat-bshetalkumawat-bs/claude-skills/skills/handoff/SKILL.md

handoff

Skill1 starsChanged 3 months agoMITView on GitHub

Write a handoff document so a fresh session (or a different account) can continue this work without starting from scratch. Saves to handoff/ in the project root. Also invoked automatically when session usage crosses the configured threshold.

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what 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.
  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 5 projects that use this

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 51 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 41 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 15 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 20 projects that use this

  • RoentekSkill

    writing-fragments

    Writing, explore — mine raw fragments, no structure yet.

    Also in 20 projects that use this

  • +5 more from aws
  • +1 more from Roentek

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write a handoff document that lets a fresh agent with no memory of this conversation continue the work.

    line 9
  2. Distinctive:

    Write to the project root of the current workspace:

    line 15
  3. Very specific:

    Create the handoff/ directory if it does not exist.

    line 20
  4. Distinctive:

    If the user passed arguments, treat them as the focus of the next session and tailor the document to that.

    line 56
  5. Distinctive:

    Write the document immediately, before doing anything else.

    line 64
  6. Distinctive:

    Keep it complete but economical — the remaining budget is small.

    line 65

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

Handoff

Write a handoff document that lets a fresh agent with no memory of this conversation continue the work. Assume the next session may run under a different account, on a different machine, with no access to this transcript.

Where to save it

Write to the project root of the current workspace:

  • handoff/HANDOFF-<YYYY-MM-DD-HHmm>.md — the document
  • handoff/HANDOFF-latest.md — a copy of the same content, always overwritten

Create the handoff/ directory if it does not exist. Use the repository root (the directory containing .git) rather than the current subdirectory. Never write to a system temp directory — the doc must survive the session ending and be readable by another account.

handoff/ is added to the repo's .gitignore automatically by a PostToolUse hook the first time you write a file there, so the documents stay local. Tell the user it was ignored, and that if they want the document to travel between machines (not just between accounts on one machine) they should commit the folder instead.

What to include

  1. Task — what the user is trying to achieve, in their own framing.
  2. State — what is done, what is in progress, what is untouched. Be specific about which parts are verified versus assumed.
  3. Key decisions and the reasons — especially ones a fresh agent would otherwise re-litigate or accidentally reverse.
  4. Next steps — concrete and ordered. First item should be immediately actionable.
  5. Do not redo — things already tried that failed or were rejected, so the next session does not waste the budget repeating them.
  6. Environment — branch, uncommitted work, running services (ports), how to start them, credentials the user must supply themselves.
  7. Suggested skills — skills the next agent should invoke.

What to leave out

  • Anything already captured in commits, diffs, specs, plans, ADRs or issues — reference those by path, SHA or URL instead of restating them.
  • Secrets. Redact API keys, passwords, tokens, connection strings and personal data. Name the variable, never the value.
  • Narration of the conversation. Write the current state, not a chat log.

Arguments

If the user passed arguments, treat them as the focus of the next session and tailor the document to that. Otherwise cover the work in progress broadly.

When invoked automatically

A Stop hook injects a request to run this skill once session usage crosses the threshold (default 90%). In that case:

  • Write the document immediately, before doing anything else.
  • Keep it complete but economical — the remaining budget is small.
  • End your turn by telling the user the path, their usage percentage, and that they can resume in a fresh session (or on another account) from that file.

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.