Logo von Handoff

Handoff

Community
iamneilroberts
handoff

Write a rich session handoff to a pause-*.md file — checklist, decisions, files changed, self-critique, and a verbatim-id "coordinate closet" — so a fresh session can resume the work after /clear (via the auto-resume hook, or /session-resume). Use before you /clear with work still in flight. Triggers on `/handoff`, "write a handoff", "snapshot this session so I can resume later".

Übersicht

Herausgeberiamneilroberts
Repositoryclaude-skills
Skill-Namehandoff
Sterne
37
Forks
6
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von iamneilroberts auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Handoff in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/iamneilroberts/claude-skills/tree/main/skills/handoff
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iamneilroberts/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/handoff .claude/skills/handoff
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Handoff in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Handoff automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Handoff nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Write Handoff (auto-loaded on next /clear)

Write a rich session handoff to the pause-*.md namespace. If you run the optional hooks/auto-resume.sh (bundled in this collection), it loads the newest such file automatically on your next /clear, so the fresh session picks it up with zero effort. Without the hook, resume it manually with /session-resume.

Why pause- and not handoff-: the auto-resume.sh hook globs pause-*.md only. The handoff-*.md prefix is reserved for long-lived multi-session coordination docs and is intentionally NOT auto-loaded. So this command writes pause-<date>-<topic>.md even though it's a "handoff" — that prefix is what guarantees pickup.

Steps

  1. Gather git state (run these):

    • git rev-parse --show-toplevel (repo/worktree root — resolves correctly inside a worktree)
    • git branch --show-current
    • git status --short
    • git diff --stat
    • git log --oneline -8
  2. Summarize from this session's memory — write these sections:

    • What Was Accomplished — completed work with file paths / commit SHAs
    • Decisions Made — key choices + rationale
    • Files Created or Modified — table: path · action · why
    • Checklist — snapshot your current TodoWrite list as GitHub-style boxes: - [x] for completed/- [ ] for pending/in-progress. This is the part that vanishes on /clear unless you write it down. If you have no active TodoWrite list, derive the checklist from Remaining Work. Carry forward any unchecked items from the prior handoff's checklist that aren't done yet, so todos survive across multiple /clears.
    • Self-Critique — before writing Remaining Work, answer five questions honestly about this session (adapted from the r/ClaudeAI "I end every AI session with two questions" thread): (1) what you're least confident about (list all, not one); (2) the biggest thing being missed about the situation; (3) if this breaks in 3 months, the likely reason (future fragility, not present state); (4) what you did NOT do — skipped/deferred/stubbed/assumed; (5) for each item in (1) and (4), the exact test or command that would confirm or kill it. Right-size it — a long-but-simple session may need only one honest line; scale up for complex / risky / shipped work. Capture, don't chase: fold findings into Remaining Work / Open Questions, or offer to /idea the standalone ones — do NOT stop to fix them here.
    • Remaining Work — actionable next steps with specific paths
    • Open Questions — anything needing the user's input
    • Coordinate Closet — see the trailing-block rule below. This is the lossless safety net: prose summaries drop exact identifiers, the closet does not.

    Also mirror the checklist to the durable file <base>/docs/summaries/CHECKLIST.md (overwrite it with the same ## Checklist block + a _Updated: {date} — {branch}_ line). That file is the stable, single-path source of truth that survives even an abrupt /clear where only a mechanical hook fires.

  3. Resolve output path (worktree-aware):

    • Base = git rev-parse --show-toplevel
    • If <base>/docs/summaries/ exists, write there; else create <base>/.claude-sessions/
    • Filename: pause-{YYYY-MM-DD}-{topic-slug}.md (topic-slug = 2–3 word kebab summary). The pause- prefix is mandatory — it's what auto-resume.sh matches.
  4. Write the file (atomic: write .tmp, then mv). It MUST contain, in this order:

markdown
# Session Handoff: {Topic}
**Date:** {YYYY-MM-DD} at {HH:MM}
**Repo:** {output of git rev-parse --show-toplevel}
**Branch:** {branch}
**Uncommitted changes:** {yes/no}
**Stale if:** {1–4 mechanically checkable conditions that invalidate this handoff, pinned to exact refs — e.g. "main moves past {SHA}" · "PR #{N} merges" · "{path} changes" · "prod redeploys off {deploy-id}"}
**Transcript:** {transcript_path if known, else "(current session)"}

## What Was Accomplished
...
## Decisions Made
...
## Files Created or Modified
| File | Action | Why |
|------|--------|-----|
...
## Git State

{git status --short}

## Checklist
<!-- snapshot of the TodoWrite list — resume rebuilds TodoWrite from these boxes -->
- [x] {completed item}
- [ ] {pending item}
- [ ] {in-progress item} (in progress)

## Self-Critique
<!-- Honest end-of-session gaps — least-confident, missing, fragile, not-done, + how to check each. -->
- **Least confident:** {shaky spots — all of them}
- **Biggest thing being missed:** {framing blind spot}
- **If it breaks in 3 months:** {most likely reason — future fragility}
- **Did NOT do:** {skipped / deferred / stubbed / assumed}
- **How to check:** {for each uncertainty/gap above, the exact test or command that confirms or kills it}

## Remaining Work
...
## Open Questions
...
## Coordinate Closet
<!-- Exact ids/paths/SHAs/PR-refs/key=value pairs scraped VERBATIM from this
     session — use these as exact ids/paths/values when the narrative above
     omits or summarizes detail. Newest-first, deduped. Each opaque id (bare
     UUID / hex) is labeled with its nearest key (`7fd5835b (changelog_id)`). -->
- `{verbatim id/path/sha/ref}` ({nearest-key label, if the value is opaque})
- ...

## Instructions
Resume this work. **First, re-create the TodoWrite list** from the `## Checklist`
section above (one TodoWrite entry per `- [ ]` unchecked item; mark `- [x]` items
done or omit them) — if `docs/summaries/CHECKLIST.md` exists and is newer, prefer
it. Then summarize the above for the user and run `git status` /
`git branch --show-current` to confirm state matches this handoff (warn on any
mismatch — different branch, unexpected changes). **Evaluate each "Stale if"
condition in the header**: if any holds, say which, treat the claims it covers as
stale, and re-verify them against the live artifact before acting on them.
Present the rebuilt checklist + Remaining Work and ask whether to continue or do
something else.

The ## Instructions section is required — the auto-resume.sh hook rejects any handoff without it as "incomplete."

Stale if makes the handoff self-expiring (the "receipts" pattern from the r/ClaudeCode "Verify, Don't Trust" thread): pin each condition to an exact ref from this session (a SHA, PR #, path, deploy id) so the resume session can check it mechanically instead of trusting the summary. Conditions should cover the claims most likely to rot — "prod is at X", "branch Y is unmerged", "file Z looks like W". If nothing in the handoff can rot, write nothing — self-contained.

  1. Offer to commit it (don't force): handoffs read from disk, so an uncommitted one auto-loads fine within the same worktree — but committing it (git add <file> && git commit -m "docs(handoff): <topic>") makes it durable and visible to other worktrees. Ask: "Commit the handoff, or leave it uncommitted?"

  2. Confirm to the user, exactly:

    Handoff written: <path>
    → if the auto-resume.sh hook is installed, this loads on your next /clear; otherwise run
      /session-resume. Safe to /clear now.

Coordinate Closet — the trailing-block rule

Prose summaries drop exact identifiers (SHAs, KV ids, ports, absolute paths, PR/issue refs) first — and those are what the next session needs to act without re-deriving. The closet conserves them verbatim. Scrape this session's transcript for carry-worthy literals; list them newest-first, deduped:

  • Nominate (id-shaped wins under a cap): UUIDs → hex ids ≥12 → short mixed-hex 8–11 (must hold ≥1 letter AND ≥1 digit, so 20260610 and deadbeef are skipped) → absolute paths → key=value pairs whose value has a digit///@ → issue refs #1234.
  • Label opaque ids with their nearest key/subject ("changelog_id":"7fd5835b" → 7fd5835b (changelog_id)); self-describing values (paths, #refs) need none.

Mirrors a verbatim-id-scraping algorithm from context-warp-drive (MIT), applied here by hand.

Length budget (only when a hard size cap is set)

If the handoff must fit a byte cap: fill sections in importance order (Coordinate Closet + Checklist first — never drop the lossless data — then Remaining Work, Decisions, the rest), but display them in template order. When a section overflows, truncate the middle (keep ~58% head

  • ~42% tail joined by …[N omitted]…), not the tail. No cap → write every section in full.

Häufig gestellte Fragen

Was macht der KI-Skill Handoff?

Write a rich session handoff to a pause-*.md file — checklist, decisions, files changed, self-critique, and a verbatim-id "coordinate closet" — so a fresh session can resume the work after /clear (via the auto-resume hook, or /session-resume). Use before you /clear with work still in flight. Triggers on `/handoff`, "write a handoff", "snapshot this session so I can resume later".

Warum Handoff in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Handoff besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Handoff in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/iamneilroberts/claude-skills/tree/main/skills/handoff ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Handoff nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Handoff verwenden?

So viele Sie möchten. In TypingMind können Sie Handoff mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Handoff kostenlos?

Der Skill wird von iamneilroberts auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇