agentleFS
nikkogiblernikkogibler/cabinet/skills/handoff-protocol/handoff/SKILL.md

handoff

Skill4 starsChanged 7 months agoMITView on GitHub

name: handoff description: Create a date-stamped markdown handoff document that captures enough verified context for another agent to resume quickly and safely. Use when the user asks for a handoff, session summary, continuation brief, context file, or wants to save work state for another agent. argument-hint: "[artifact, scope, or destination folder]" version: 1.0.0 user-invocable: true license: MIT metadata: author: Nik Gibler copyright: Copyright (c) 2026 Nik Gibler --- Write a continuation-grade markdown handoff, not a fluffy recap. The handoff exists…

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

Show its rules and text

We split this skill into the rules it gives an agent

29 rules. 0 are common, 24 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 24

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write a continuation-grade markdown handoff, not a fluffy recap.

    line 14
  2. Distinctive:

    Use this skill when the user says things like:

    line 20
  3. Distinctive:

    create a continuation brief

    line 25
  4. Distinctive:

    write a handoff doc

    line 26
  5. Distinctive:

    If the user does not specify a path:

    line 41
  6. Very specific:

    Prefer an existing chat-session-summaries/ folder in the active workspace root.

    line 43
  7. Very specific:

    If the workspace already uses a legacy chat_session_summaries/ folder in the root, use that instead of creating a second summaries folder.

    line 44
  8. Very specific:

    If neither summaries folder exists in the workspace root, create chat-session-summaries/ there and place the handoff inside it.

    line 45
  9. Distinctive:

    Only fall back to placing the handoff next to the primary artifact or file worked on, or in the workspace root, if creating the root …

    line 46
  10. Distinctive:

    Never overwrite an existing handoff file without explicit user permission.

    line 47
  11. Distinctive:

    Use the current date and time.

    line 57
  12. Very specific:

    Always include a <CATEGORY>_ tag in ALL CAPS immediately after the timestamp.

    line 58
  13. Distinctive:

    Use a lowercase slug with hyphens for the artifact/scope segment.

    line 59
  14. Distinctive:

    Use the main artifact, feature, or file family as the artifact segment.

    line 60
  15. Distinctive:

    If there are multiple artifacts, choose the one that best identifies the work.

    line 61
  16. Very specific:

    If none of the above clearly fit, invent a short, descriptive, uppercase category tag (e.g.

    line 74
  17. Distinctive:

    If the session was mostly one category with a small amount of another, pick the dominant one.

    line 79
  18. Distinctive:

    Before creating the handoff, inspect the current workspace and gather the facts that matter most:

    line 92
  19. Distinctive:

    Always reference the previous handoff if this is a continuation of an earlier session, and call out what has changed since then.

    line 104
  20. Distinctive:

    Do not dump raw transcripts or whole files.

    line 106
  21. Distinctive:

    Use a structure close to this unless the user asks for a different format:

    line 110
  22. Distinctive:

    Use a clear title naming the artifact or feature.

    line 114
  23. Distinctive:

    Call out the current UI, behavior, or process rules that should remain unless the user explicitly changes them.

    line 162
  24. Distinctive:

    If you opened the page and saw the UI, say it was validated in the browser.

    line 192
  25. Distinctive:

    If you only edited the file and did not reload, do not claim live validation.

    line 193
  26. Distinctive:

    If no tests were run, say so.

    line 194
  27. Distinctive:

    If the session had noisy side effects, mention them if another agent would care.

    line 195
  28. Distinctive:

    After creating the handoff file:

    line 199
  29. Distinctive:

    If the workspace has task logging requirements, follow them after the handoff is created.

    line 205

“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

name: handoff description: Create a date-stamped markdown handoff document that captures enough verified context for another agent to resume quickly and safely. Use when the user asks for a handoff, session summary, continuation brief, context file, or wants to save work state for another agent. argument-hint: "[artifact, scope, or destination folder]" version: 1.0.0 user-invocable: true license: MIT metadata: author: Nik Gibler copyright: Copyright (c) 2026 Nik Gibler

Handoff

Write a continuation-grade markdown handoff, not a fluffy recap.

The handoff exists so another agent can resume work without reconstructing the whole session from chat. It should be detailed on the important parts, compressed on the unimportant parts, and explicit about what was actually verified.

When To Use

Use this skill when the user says things like:

  • create a handoff
  • make a session summary for another agent
  • save the context to a markdown file
  • create a continuation brief
  • write a handoff doc
  • summarize what we did so another agent can continue

Core Outcome

Produce one markdown file that gives another agent enough context to:

  • understand what was built or decided
  • know which files matter
  • know what constraints to preserve
  • know what is already validated
  • know what still needs work

Default Location Rules

If the user does not specify a path:

  1. Prefer an existing chat-session-summaries/ folder in the active workspace root.
  2. If the workspace already uses a legacy chat_session_summaries/ folder in the root, use that instead of creating a second summaries folder.
  3. If neither summaries folder exists in the workspace root, create chat-session-summaries/ there and place the handoff inside it.
  4. Only fall back to placing the handoff next to the primary artifact or file worked on, or in the workspace root, if creating the root summaries folder is impossible.
  5. Never overwrite an existing handoff file without explicit user permission.

Filename Convention

Default to:

YYYY-MM-DD-HHMM_<CATEGORY>_<artifact-or-scope>_session-handoff.md

Guidelines:

  • Use the current date and time.
  • Always include a <CATEGORY>_ tag in ALL CAPS immediately after the timestamp.
  • Use a lowercase slug with hyphens for the artifact/scope segment.
  • Use the main artifact, feature, or file family as the artifact segment.
  • If there are multiple artifacts, choose the one that best identifies the work.

Category Tag

Pick one category that best describes what the session was about. Always uppercase, followed by an underscore.

Standard categories:

  • DEBUG_ — diagnosing or fixing a bug, regression, performance issue, or broken behavior.
  • NEWFEATURE_ — building a new feature, page, component, endpoint, or capability from scratch.
  • EXPERIMENT_ — exploratory / spike / proof-of-concept work that may or may not ship.
  • IMPROVEMENT_ — refactor, polish, or enhancement of something that already works (not bug-driven).

If none of the above clearly fit, invent a short, descriptive, uppercase category tag (e.g. MIGRATION_, RESEARCH_, PLANNING_, DOCS_, AUDIT_). Prefer one of the standard four when possible; only mint a new tag when the session genuinely doesn't fit.

Rules:

  • Exactly one category tag per handoff. Do not stack (DEBUG_IMPROVEMENT_ is not allowed).
  • If the session was mostly one category with a small amount of another, pick the dominant one.
  • The category reflects the session's intent, not the file type.

Examples:

  • 2026-04-23-1247_DEBUG_landing-page-performance_session-handoff.md
  • 2026-04-20-1430_NEWFEATURE_scheduler-ui_session-handoff.md
  • 2026-04-20-1430_EXPERIMENT_airtable-crm-model_session-handoff.md
  • 2026-04-20-1430_IMPROVEMENT_release-checklist_session-handoff.md
  • 2026-04-20-1430_MIGRATION_firestore-meals-schema_session-handoff.md

What To Gather Before Writing

Before creating the handoff, inspect the current workspace and gather the facts that matter most:

  • Primary file or artifact worked on
  • Other changed files that materially matter to continuation
  • Main objective of the session
  • Important iterations or pivots in direction
  • Decisions made about architecture, naming, process, or ownership
  • Current state of the UI or behavior if relevant
  • Validation performed: browser checks, errors checked, tests run or not run
  • Open issues, unresolved risks, or things intentionally deferred
  • Any workspace-specific routing, memory, or task-tracking rules that affect future work
  • Skills used if they materially influenced the approach
  • Always reference the previous handoff if this is a continuation of an earlier session, and call out what has changed since then.

Do not dump raw transcripts or whole files. Summarize them into high-value context.

Required Handoff Structure

Use a structure close to this unless the user asks for a different format:

Title

Use a clear title naming the artifact or feature.

Metadata

Include compact bullets for:

  • Date
  • Naming convention used
  • Artifact or feature
  • Primary file
  • Workspace or repo

Purpose

State what this session was trying to accomplish.

Final State

Describe the current artifact/system state as another agent should assume it now exists.

Files Created / Changed

List the relevant files. Focus on the ones another agent actually needs to inspect.

Major Accomplishments

Summarize the important outcomes with enough detail to preserve reasoning, not just output.

Important Decisions / Rules

Capture the decisions that future work must respect, such as:

  • data model rules
  • stack ownership rules
  • naming rules
  • UX rules
  • process rules

Validation Status

Be explicit:

  • what was validated
  • what was only inferred
  • what was not tested

Current State To Preserve

Call out the current UI, behavior, or process rules that should remain unless the user explicitly changes them.

Next Steps

List the most natural follow-up tasks.

Short Continuation Summary

End with a short paragraph another agent could skim in under 20 seconds.

Writing Standard

The handoff should be:

  • detailed on critical decisions
  • concise on repetitive iterations
  • explicit about verified vs inferred facts
  • optimized for continuation, not storytelling

Avoid:

  • motivational language
  • chatty filler
  • vague summaries like “various improvements were made”
  • pretending tests passed if they were not run

Verification Discipline

Mark only verified facts as verified.

  • If you opened the page and saw the UI, say it was validated in the browser.
  • If you only edited the file and did not reload, do not claim live validation.
  • If no tests were run, say so.
  • If the session had noisy side effects, mention them if another agent would care.

Final Delivery

After creating the handoff file:

  1. Tell the user where it is.
  2. State the filename convention used.
  3. Briefly summarize what the handoff contains.

If the workspace has task logging requirements, follow them after the handoff is created.

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.