agentleFS
MegapromptingMegaprompting/torque-loop/skills/handoff/SKILL.md

handoff

Skill10 starsChanged 4 months agoMITView on GitHub

Produce a compact handoff for another model, agent, teammate, or future session. Use when work must transfer without losing state. Returns a self-contained brief — objective, what's done, what's decided, what's open, the exact next action, and the context needed to act — compressed so the receiver can start immediately with zero re-derivation.

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

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

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 1

    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. Very specific:

    Start from ratchet receipt — its eight fixed sections (target · delta · proof · seam · verdict · authority · state · next) are already the …

    line 20
  2. Distinctive:

    Self-contained: If the receiver needs to ask you a question to start, the handoff failed.

    line 50

“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

/ratchet:handoff — transfer without loss

A handoff fails when the receiver has to reconstruct what you already knew. This command produces a self-contained brief that lets another model, agent, teammate, or future you start acting immediately — no re-reading the session, no re-deriving decisions.

Step 0 — Load state

ratchet receipt
ratchet export markdown
ratchet score confidence

Start from ratchet receipt — its eight fixed sections (target · delta · proof · seam · verdict · authority · state · next) are already the handoff spine; the steps below expand each one for the receiver. Delegate to the ratchet-scribe subagent for a long or high-stakes session.

Procedure

Compress the session to exactly what the receiver needs to act — and nothing they'd have to skim past:

  1. Objective — the locked target, one line.
  2. State of play — what's done, what's in flight, current confidence.
  3. Decisions made — commitments + their reversal tripwires (so the receiver doesn't relitigate settled calls).
  4. Artifacts — what exists, where, and each one's known holes.
  5. Open defects / risks — by severity.
  6. The single next action — the exact first move, concrete enough to start on.
  7. Context to act — the minimum files, commands, or facts the receiver needs. Point to locations; don't paste the world.
  8. Watch-outs — the traps you already hit or foresee.
  9. Deviations from the map — if /ratchet:map ran, where the build diverged from its plan (map said X → code revealed Y → call made) and which calls still need the user's judgment. This is what stops the receiver from re-litigating what you already discovered.
  10. Probe outcomes — for each probe: the unknown it attacked, the finding, and whether its code was disposed or explicitly promoted. An undisposed probe is a watch-out, not an asset — the receiver must not mistake build-for-learn residue for kept work.

Rules

  • Self-contained. If the receiver needs to ask you a question to start, the handoff failed. Anticipate the first question and answer it.
  • Compressed, not lossy. Cut commentary; keep every fact that changes a move.
  • One next action, not a menu. Handoffs die in ambiguity — name the single move.

Output contract

# Handoff: <working title>
OBJECTIVE: <one line>
STATE: <done / in-flight / confidence score>
DECISIONS: <commitment — tripwire> (each)
ARTIFACTS: <title — location — holes> (each)
OPEN RISKS: <[severity] summary> (each)
NEXT ACTION: <the single concrete first move>
CONTEXT TO ACT: <files / commands / facts, by location>
WATCH-OUTS: <traps>
DEVIATIONS: <map said X → code revealed Y → call made> (each, if a map ran)
PROBES: <unknown → finding → disposed | promoted> (each, if any ran)
NEXT COMMAND: /ratchet:<command>

Serialize

ratchet artifact add '{"title":"handoff brief","kind":"decision-record","status":"v0"}'
ratchet compile done

ratchet compile done is the only checkpoint transition. The checkpoint scalars are no longer settable by hand, because a checkpoint you can assert records nothing. It prints the next required transition; a handoff that ends on a checkpoint says CHECKPOINTED, not CLOSED, and names what closing would still take.

A good handoff is measured by one thing: the receiver's first action is correct without asking you anything.

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.