agentleFS
ronnyvg071ronnyvg071/Claude-skills/handoff/SKILL.md

handoff

Skill0 starsChanged 7 months agoApache-2.0View on GitHub

Produce a session-handoff summary and copy it to the clipboard so it can be pasted into a new session after /clear. Use when the user says "handoff", "handoff summary", "summarize session", "prepare for context clear", "copy summary", or indicates they're about to clear context and want to preserve what was just done.

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping, setup-ts-deep-modules 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.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 8 projects that use this

  • liufeng1976Skill

    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 52 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 63 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 110 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 107 projects that use this

  • LesaniSkill

    writing-fragments

    Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.

    Also in 67 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 7

    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:

    Keep each section tight. Better short and truthful than long and padded.

    line 53
  2. Distinctive:

    Stop: Do not prompt the user about saving to memory.

    line 65
  3. Distinctive:

    Don't skip the clipboard step.

    line 69
  4. Distinctive:

    Don't ask the user about memory — they'll tell you what to save if anything's worth keeping.

    line 70
  5. Distinctive:

    Don't ask the user to approve the summary before copying — they want it fast.

    line 71
  6. Distinctive:

    Don't include verbatim code blocks in the handoff unless the code itself IS the decision (rare).

    line 72
  7. Distinctive:

    Don't pad. If the session was 3 messages, the handoff is 3 lines.

    line 73

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

Produce a compact handoff summary of the current session, save a dated copy to disk, and put it on the clipboard so the user can paste it into a fresh Claude session after /clear.

Why this exists

Context windows fill up. Many users clear around 15% remaining (per Nate Herk's workflow). A good handoff = new session continues productively instead of starting cold.

Output format (Standard detail level)

The handoff is written in second-person to future-Claude, not as a status report. Shape:

# Session handoff — <YYYY-MM-DD HH:MM>

**Workspace:** <cwd basename>
**Context at handoff:** ~<N>% remaining (approximate)

## What we were doing
<1-3 sentences: the goal of this session in plain terms>

## What got done
- <concrete change 1>
- <concrete change 2>
- ...

## Decisions made
- <decision + one-line rationale>
- ...

## Open questions / not yet decided
- <question 1>
- ...

## Files / systems touched
- `<path>` — <what changed>
- ...

## Next step
<one concrete action the fresh session should take first>

## Pick up by
1. Run `/prime` to load workspace context + memory.
2. Read this handoff.
3. Start with "Next step" above.

Keep each section tight. Better short and truthful than long and padded. Omit sections that genuinely have nothing (e.g. "Open questions" if there are none — just drop the heading).

Steps

  1. Compose the summary using what you remember from this session. Be concrete — names of files, exact decisions, actual blockers. No fluff like "we had a productive discussion about X."
  2. Save to disk at outputs/handoffs/YYYY-MM-DD-HHMM-<slug>.md where <slug> is a 2-4 word kebab-case hint of the topic. Create the directory if it doesn't exist. If the current workspace has no outputs/ convention, fall back to ~/.claude/handoffs/.
  3. Copy to clipboard via pbcopy < <saved-file> (macOS). This is the critical step — the user's whole reason for invoking this skill is to paste into a fresh session.
  4. Confirm in one sentence: where it was saved, that it's on the clipboard, and the filename. Then show the full handoff text back to the user so they can sanity-check before clearing.
  5. Stop. Do not prompt the user about saving to memory. The user will tell you what to save (e.g. "save X to memory") if anything from this session needs persisting. Don't ask, don't propose — just produce the handoff and end.

Don't

  • Don't skip the clipboard step. That's the whole point.
  • Don't ask the user about memory — they'll tell you what to save if anything's worth keeping.
  • Don't ask the user to approve the summary before copying — they want it fast. They'll read it after it's on the clipboard and adjust next time if needed.
  • Don't include verbatim code blocks in the handoff unless the code itself IS the decision (rare). Reference files by path instead.
  • Don't pad. If the session was 3 messages, the handoff is 3 lines.

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.