Przejdź do treści
Biblioteka skilli
AI i agenci · Pisanie

handoff

/handoff

Streszcza bieżącą rozmowę w dokument przekazania dla innego agenta lub dewelopera, z sugerowanymi skillami, ukrytymi sekretami i odsyłaczami.

Repozytorium
agents ↗
Licencja
MIT
Ostatnia zmiana repozytorium
28.08.2026

Ocena i bezpieczeństwo

88/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena13 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 28.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Streszcza bieżącą rozmowę w dokument przekazania dla innego agenta lub dewelopera, z sugerowanymi skillami, ukrytymi sekretami i odsyłaczami.

Wyzwalacze z opisu

handoffswitch sessionpass this tocontinue in a fresh window
Oryginalny opis (EN)

Compact the current conversation into a handoff document for another agent or developer to pick up. Use when switching sessions, forking a side task mid-phase, moving work to a new directory, or delegating to a colleague. Generates a portable markdown summary with suggested skills, redacted secrets, and references to existing artifacts instead of duplicating content. Trigger phrases: "handoff", "switch session", "pass this to", "continue in a fresh window".

Jak działa

  1. R — Reference (≤100 words)
  2. I — Methodology (in own words)
  3. A1 — Upstream Typical Applications
  4. A2 — Trigger Scenarios (3 contexts + language signals + sibling distinction)
  5. E — Execution Steps (each with "完成标准:")
  6. B — Boundaries & Limits
  7. Related Skills
  8. Audit
Sekcje z nagłówków SKILL.md, w oryginale · 79 linii, 831 słów
Podgląd SKILL.md
---
name: handoff
description: Compact the current conversation into a handoff document for another agent or developer to pick up. Use when switching sessions, forking a side task mid-phase, moving work to a new directory, or delegating to a colleague. Generates a portable markdown summary with suggested skills, redacted secrets, and references to existing artifacts instead of duplicating content. Trigger phrases: "handoff", "switch session", "pass this to", "continue in a fresh window".
source_project: mattpocock/skills
tags: [handoff, context-transfer, session-boundary, productivity]
---

## R — Reference (≤100 words)

Upstream: `skills/productivity/handoff/SKILL.md` (16 lines). Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS — not the current workspace. Include a "suggested skills" section naming which skills the next agent should invoke. Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs) — reference them by path or URL instead. Redact any sensitive information (API keys, passwords, PII). If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.

## I — Methodology (in own words)

**Core principle**: Handoff is a *bridge*, not a dump. It compresses conversation context into a portable document that lets a fresh agent resume without re-reading the entire history.

**Key invariants**:
- Save to OS temp dir (`$TMPDIR` or `/tmp` or `%TEMP%`), never the workspace
- Reference existing artifacts by path/URL — never duplicate content already in specs, ADRs, issues, or commits
- Redact all secrets before writing
- Include a "suggested skills" section so the next agent knows which tools to reach for
- Tailor the document to the stated focus if arguments were provided

**Handoff document structure**:
1. **Context summary**: What was being worked on, key decisions made, current state
2. **Artifacts**: Paths/URLs to specs, ADRs, issues, commits, diffs — referenced, not copied
3. **Suggested skills**: Which skills the next agent should invoke and why
4. **Open questions**: What remains unresolved, what the next session should tackle
5. **Redaction log**: What was redacted and why (secrets, PII)

**When to use**:
- Switching to a fresh context window (session approaching smart zone limit)
- Forking a side task into its own session
- Moving work to a new directory (prototype detour)
- Delegating to a colleague or different agent

## A1 — Upstream Typical Applications

- Session compaction: context window approaching 150k tokens → handoff → fresh session picks up from document
- Prototype detour: main flow needs a throwaway UI → handoff to new session → prototype built → handoff back with findings
- Multi-agent collaboration: agent A does research → handoff doc → agent B implements based on findings
- Team handoff: AI session produced valuable context → handoff doc → human developer continues
- Mid-phase fork: grilling reveals a sub-question needing its own investigation → handoff to parallel session

## A2 — Trigger Scenarios (3 contexts + language signals + sibling distinction)

| Context | User Language Signals (≥3) | vs Sibling Skills |
|---------|---------------------------|-------------------|
| **Session boundary** | "handoff", "switch session", "fresh window", "context is getting long" | vs compact: compact compresses *within* a session; handoff exports *across* sessions/directories |
| **Side task fork** | "fork this into its own session", "parallel work", "delegate this part" | vs subagent: subagent runs in same session; handoff creates a *portable* document for a new session |
| **Collaboration transfer** | "pass this to a colleague", "continue in a fresh window", "someone else will pick this up" | vs writing-for-agents: writing-for-agents designs *skill documents*; handoff designs *session transfer documents* |

## E — Execution Steps (each with "完成标准:")

1. **Identify artifacts to reference** — Scan the conversation for specs, ADRs, issues, commits, diffs, CONTEXT.md entries. List their paths/URLs.  
   完成标准: Every artifact referenced by path/URL; none duplicated into the handoff doc.

2. **Determine focus from arguments** — If user passed arguments describing the next session's focus, tailor the document to emphasize relevant context.  
   完成标准: Document structure reflects the stated focus (if any); otherwise covers full session scope.

3. **Redact sensitive information** — Scan for API keys, passwords, tokens, PII. Replace with `<REDACTED>`. Build loops against env vars where possible.  
   完成标准: Zero secrets in output; all redactions logged with reason.

4. **Write handoff document** — Save to OS temp dir with descriptive filename. Include: context summary, artifact references, suggested skills, open questions, redaction log.  
   完成标准: File exists in temp dir; all 5 sections present; no duplicated content.

5. **Report path to user** — Tell the user the absolute path to the handoff document and which skills are suggested for the next session.  
   完成标准: User receives path and suggested skills list.

## B — Boundaries & Limits

**不适用**:
- No artifacts to reference and no conversation context to compress (nothing to hand off)
- User wants to continue in the same session (use compact instead)
- Need to transfer code, not context (use git commit/branch directly)

**局限**: Handoff document is a snapshot — if the conversation continues after handoff, the document becomes stale. Secrets redaction depends on detection; missed secrets require manual audit. OS temp dir may be cleaned by the system.

## Related Skills

- **compact** (in-session compression vs cross-session handoff), **grill-with-docs** (produces CONTEXT.md/ADRs that handoff references), **wayfinder** (map tickets may be referenced in handoff), **writing-for-agents** (design principles for handoff document structure), **setup-matt-pocock-skills** (precondition for issue tracker references)

## Audit

V1✓ V2✓ V3✓ | 2026-08-26 | Source: D:\outcome\self\upstream\mattpocock__skills\skills\productivity\handoff\SKILL.md
Pliki w paczce (3)
  • SKILL.md 6 KB
  • test-prompts.json 3 KB
  • test-results.md 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · natsummerance/agents88MIT
lumpen-mya/claude-handoff100MIT
generous-corp/pulp100MIT
Ovid/paad100MIT
Ovid/paad100MIT
Ovid/paad100MIT
webdevnerdstuff/claude-marketplace100MIT
terencebristol/terencebristol-toolkit100MIT
verkyyi/claude-fleet100MIT

Migawka bazy z 13.11.2026 · wersja paczki 625cabe34a3b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100session-handoff
    Kompaktuje bieżącą rozmowę w dokument przekazania dla innego agenta: zapis w wybranym miejscu, redakcja sekretów przed zapisem, sugestie skilli dla następnej sesji i automatyczne wczytanie ostatniego dokumentu.
  • 100session-handoff
    Zamienia rozmowę w dokument przekazania dla nowego agenta, zapisując to, czego wie tylko rozmowa, i linkując rekordy oraz commity.
  • 100session-handoff
    Pakuje bieżącą rozmowę do przekazania w nowym czacie: streszcza kontekst, cele i ustalenia, by nie zaczynać od zera.
  • 100session-handoff
    Kontynuuje rozmowę z zapisu sesji innego agenta kodującego, np. Codex lub Claude, gdy skończy się limit lub zmieniasz narzędzie.
  • 100context-handoff
    Pisze zwięzłe dokumenty przekazania dla konfiguracji przestrzeni roboczej AI i orkiestracji agentów: aktualne decyzje, sugerowane skille, otwarte pytania i kolejne działania dla innego agenta lub przyszłej sesji.
  • 100wheypoint
    Zapisuje bieżącą rozmowę jako trwały punkt przekazania, aby nowy agent mógł wznowić pracę.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.