agentleFS
CrystalPlatformsCrystalPlatforms/ADM-CLI/.claude/skills/handoff/SKILL.md

handoff

Skill1 starsChanged 6 months agoMITView on GitHub

Capture the entire current chat as a structured handoff document the user can paste into Codex, Cursor, or another IDE-based AI coding agent. Triggers on /handoff, /export-context, /dump, "package this for codex", "send this to cursor", "make a handoff doc", "i wanna take this to another model", or similar phrasing indicating intent to continue work elsewhere. Produces lossless distillation — every meaningful detail survives, with discarded approaches explicitly labeled by reason so the next model does not re-suggest rejected paths.

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 42 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 93 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 87 projects that use this

  • RoentekSkill

    loop-me

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

    Also in 51 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 54 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user clearly wants to continue the work in another tool, run the skill — do not ask first.

    line 22
  2. Distinctive:

    Do not paraphrase technical details.

    line 28
  3. Very specific:

    Read the conversation start to current turn.

    line 40
  4. Very specific:

    Follow the section order in output-template.md.

    line 48
  5. Very specific:

    Write both files with the Write tool.

    line 56
  6. Very specific:

    One-shot: Never ask clarifying questions.

    line 64
  7. Very specific:

    No em-dashes in the output files: Use double hyphens (--) or commas.

    line 66
  8. Very specific:

    No invented details: If a section has no content, write _(none recorded in this session)_.

    line 67

“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 — Chat-to-Handoff Distillation

Generate a complete, structured handoff document from the current chat session, optimized for consumption by Codex, Cursor, or other IDE-based AI coding agents.

Two output files with identical content in different formats:

  • handoff-{slug}-{YYYY-MM-DD}.md — markdown with headings, code fences, tables
  • handoff-{slug}-{YYYY-MM-DD}.txt — flat text with ASCII section dividers

When to Invoke

Any of the following — explicit or loose intent to move the session elsewhere:

  • /handoff, /export-context, /brief codex, /give to cursor, /dump
  • "package this for codex", "export this chat", "make a handoff doc", "send this to cursor", "i wanna take this to another model"

If the user clearly wants to continue the work in another tool, run the skill — do not ask first.

Core Principle

This is lossless distillation, not transcription. Every meaningful detail from the chat survives, but reorganized so the next model can act immediately. The biggest single value-add is explicitly labeling discarded approaches with the reason they were rejected, so the next model does not re-suggest them.

Do not paraphrase technical details. File paths, function names, error messages, version numbers, command strings, and config values must appear verbatim. Prose around them can be tightened.

Output

  • Save both files to ./handoffs/ in the current repo (create the directory if missing — same convention as ./plans/).
  • Project slug: lowercase, hyphenated, inferred from the chat (repo name, app name, or main subject). Fallback: session.
  • Multiple handoffs same day: append -1, -2, etc. to the slug.

Workflow

Step 1 — Walk the chat

Read the conversation start to current turn. Extract the eleven categories listed in extraction-checklist.md. Throwaway details count — port 465 needs secure: true is exactly the kind of thing the next model needs.

Step 2 — Label every code block

Tag every code block with one of [FINAL], [SUPERSEDED], [REJECTED], [DRAFT]. Rejection reasons are mandatory for [SUPERSEDED] and [REJECTED]. Never abbreviate or truncate [FINAL] or [SUPERSEDED] blocks — the receiving model has no FS access. Full rules in code-status-tags.md.

Step 3 — Render the .md

Follow the section order in output-template.md. Omit a section only if it would be empty — but prefer marking empty sections _(none recorded in this session)_ so the receiving model knows nothing was missed.

Step 4 — Render the .txt

Convert the .md content using the substitution rules in txt-format.md. Same content, different chrome.

Step 5 — Write & report

Write both files with the Write tool. Print to chat:

  1. The absolute paths of both files.
  2. A one-line summary: code-block counts per status, decision count, error count.
  3. A recommended first prompt for the receiving model: "Read this handoff doc, then continue from Next Step 1."

Skill-Specific Rules

  • One-shot. Never ask clarifying questions. Infer the project slug; fall back to session if genuinely ambiguous.
  • Verbatim discipline. Identifiers, paths, error strings, version numbers, command strings appear exactly as in the chat. Only surrounding prose may be tightened.
  • No em-dashes in the output files. Use double hyphens (--) or commas. Many downstream tools render or parse em-dashes inconsistently. (This rule applies to the generated .md and .txt only — not to this SKILL.md itself.)
  • No invented details. If a section has no content, write _(none recorded in this session)_. Do not fabricate to fill space.
  • Never abbreviate [FINAL] or [SUPERSEDED] code blocks. Full bytes only — no [... rest of file ...], no [... truncated ...], no [... see repo ...]. The next model cannot reach your filesystem.
  • Rejection reason is mandatory on every [SUPERSEDED] and [REJECTED] block. Without it, the next model re-suggests the same wrong thing — that is the whole point of this skill.

Acceptance Checklist

  • Both files written to ./handoffs/ with the handoff-{slug}-{YYYY-MM-DD} naming convention
  • Every code block from the chat carries a [FINAL], [SUPERSEDED], [REJECTED], or [DRAFT] tag
  • Every [SUPERSEDED] and [REJECTED] block has a rejection reason
  • No [FINAL] or [SUPERSEDED] block was abbreviated or truncated
  • Empty sections marked _(none recorded in this session)_ rather than omitted
  • No em-dashes in the output files
  • Both files reported to the user with absolute paths and the summary line

Session Rules

  • This skill runs without confirmation prompts. Do not interrupt the user mid-distillation to clarify.
  • The output files are deliverables. Treat them with the same care as PRDs in ./plans/ — verbatim quotes from the source chat, no shortcuts.

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.