agentleFS
int2t05int2t05/engineering-skills/skills/09-operate/handoff/SKILL.md

handoff

Skill3 starsChanged 4 months agoMITView on GitHub

Use when handing off work to another session or agent — produces a structured handoff brief capturing context, decisions, and next steps. Triggers on "handoff", "hand over", "交接", "移交工作".

195 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what and 9 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

  • +4 more from aws
  • +1 more from Roentek

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 2

    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 brief summarizing the current conversation so a fresh agent can continue the work immediately.

    line 9
  2. Very specific:

    Suggest skills: Add a "Suggested skills" section naming the skills the next agent should invoke (e.g.

    line 22
  3. Distinctive:

    Tailor to the next focus: If the user passed an argument describing what the next session is for, weight the brief toward that focus.

    line 24

“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 brief summarizing the current conversation so a fresh agent can continue the work immediately. The brief is the only context the next session starts with — make it sufficient.

When to use

  • The current session is ending and another agent (or a future you) will continue the work.
  • Switching between foreground and background agents mid-task.

Not for: continuing work in the same session — just keep going; summarizing work that's already captured in specs/plans/ADRs — reference those by path instead.

Steps

  1. Summarize context and decisions. Capture the goal, what was decided and why, what was tried and rejected, and the current state. Don't restate what's already in artifacts — reference specs, plans, ADRs, issues, commits, and diffs by path or URL.
  2. List concrete next steps. Numbered, each independently actionable, starting from exactly where the work stopped.
  3. Suggest skills. Add a "Suggested skills" section naming the skills the next agent should invoke (e.g. tdd, code-review).
  4. Redact sensitive information. API keys, passwords, and PII must not appear in the brief — it may become a background agent's prompt or a shared file.
  5. Tailor to the next focus. If the user passed an argument describing what the next session is for, weight the brief toward that focus.
  6. Deliver. Save the brief to the OS temporary directory (not the current workspace), or launch a background agent seeded with it: claude --bg --name "<descriptive name>" "<brief>". Always pass --name with a descriptive title (e.g. "Fix login bug") — it sets the display name in the job list, session picker, and terminal title. The launched agent starts in the current working directory and returns immediately; manage it with claude agents.

Verify

  • A fresh agent given only the brief could continue the work without asking "what's the state?"
  • Next steps are concrete and start from where work stopped
  • No content duplicated from existing artifacts (referenced by path/URL instead)
  • No secrets, tokens, or PII in the brief
  • Brief saved to the temp dir, or a named background agent launched with it

References

  • ${CLAUDE_PLUGIN_ROOT}/references/engineering-principles.md — shared discipline (surface assumptions, verify don't assume, surgical scope)
  • references/on-call-shift.md — on-call shift handoff: active incidents, in-progress investigations, recent changes, known issues, escalation triggers, pre/mid/post-shift checklist

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.