Skip to content
Skills Library
AI & agents · Planning

handoff

/handoff

Use when splitting work to another agent, session, or worktree; creating a paste-ready context handoff; or when the user asks to "handoff frontend", "handoff backend", "handoff QA", "handoff migration", or copy context for another coding agent. Do not use for same-session resume; use a dedicated resume workflow if available.

Repository
beislid ↗
Licence
MIT
Last repository change
30.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 30.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when splitting work to another agent, session, or worktree; creating a paste-ready context handoff; or when the user asks to "handoff frontend", "handoff backend", "handoff QA", "handoff migration", or copy context for another coding agent. Do not use for same-session resume; use a dedicated resume workflow if available.

Triggers from the description

handoff frontendhandoff backendhandoff QAhandoff migration
Original author description

Use when splitting work to another agent, session, or worktree; creating a paste-ready context handoff; or when the user asks to "handoff frontend", "handoff backend", "handoff QA", "handoff migration", or copy context for another coding agent. Do not use for same-session resume; use a dedicated resume workflow if available.

How it works

  1. Process
  2. Output Requirements
  3. Common Mistakes
Original SKILL.md headings · 175 lines, 884 words
SKILL.md preview
---
name: handoff
description: Use when splitting work to another agent, session, or worktree; creating a paste-ready context handoff; or when the user asks to "handoff frontend", "handoff backend", "handoff QA", "handoff migration", or copy context for another coding agent. Do not use for same-session resume; use a dedicated resume workflow if available.
---

# Handoff

Create a paste-ready opening prompt for another agent/session/worktree. For repo-local isolation policy and cleanup paths, see [docs/worktree-isolation.md](../../docs/worktree-isolation.md). This skill is read-only in the parent workspace except for copying text to the local clipboard.

Use this when:
- Work is being split across parallel sessions or worktrees
- The user wants a scoped context packet for another coding agent
- The user says things like "handoff frontend", "handoff backend", "handoff QA", or "make a handoff for the migration"

Do not use this when:
- Resuming the same work in the same session — use a dedicated resume workflow if available
- Starting a fresh ticket from the tracker — use `kickoff`
- Saving long-term session memory — use `memento` if available

<HARD-GATE>
Do not create tickets, commits, branches, worktrees, or cross-worktree file changes. Do not include full diffs. Do not infer decisions that were not explicitly stated.
</HARD-GATE>

## Process

### 1. Determine the slice

If the user's request includes a clear slice, proceed. Clear slices include:
- domain words: frontend, backend, mobile, QA, test, migration, infra, docs
- named files, directories, components, services, or APIs
- an explicit task statement

If the user only says "handoff" or gives vague scope like "some of this", ask one clarifying question:

> What slice should I hand off — frontend, backend, QA, migration, or something else?

Do not gather context until the slice is clear.

### 2. Gather read-only workspace state

Run simple read-only commands. Avoid compound commands when the host prompts for bash permissions.

Required:

```bash
pwd
git branch --show-current
git status --short
git diff --stat
```

Optional, if relevant and cheap:

```bash
git log --oneline -5
find plans -maxdepth 2 -type f
```

Only read plan/spec/design files if they are directly relevant to the requested slice. Do not read or paste full diffs.

### 3. Extract explicit context

Build the handoff from:
- the user's stated goal
- the requested slice
- explicit decisions made in this conversation
- relevant written artifacts you read
- current git state from the required commands

Be conservative:
- If a decision was not explicitly stated, put it under **Open questions**
- Do not infer architecture from code patterns unless the user or artifact named it
- Do not include secrets, credentials, tokens, or private values
- Do not include full diff hunks

### 4. Write the payload

The payload must be agent-neutral. Do not assume the receiver has Beislið, Claude Code, Codex, pi, or slash commands.

Use this structure:

```markdown
# Handoff: <slice>

You are taking over the <slice> slice of this work in a separate session/worktree.

## Goal
<One or two sentences describing the overall goal and this slice's assignment.>

## Parent workspace state
- Parent path: `<pwd>`
- Parent branch: `<branch>`
- Working tree summary:
  ```text
  <git status --short output or "clean">
  ```
- Diff stat:
  ```text
  <git diff --stat output or "no local diff">
  ```

## Assigned scope
- <What the receiving agent should work on>
- <Boundaries of the slice>

## Explicit decisions so far
- <Decision and rationale, only if explicitly known>

## Constraints / do not touch
- Do not assume unstated product or architecture decisions.
- Do not modify work outside the assigned slice without asking.
- Do not rely on the parent session transcript being available.
- <Any project-specific constraints surfaced by the parent session>

## Suggested first steps
1. Inspect the local repo/worktree state.
2. Read relevant plans/specs/docs named in this handoff.
3. Verify assumptions before editing.
4. Implement only the assigned slice.

## Open questions
- <Questions the receiver should resolve before proceeding, or "None known.">
```

Scale the payload to the work. Small handoffs can be short, but keep the section headings so the receiver can scan quickly.

### 5. Preview and copy

Always show the payload in the chat before or alongside copying.

Then copy immediately if a clipboard command is available. Try these in order:

```bash
command -v wl-copy
command -v xclip
command -v pbcopy
command -v clip.exe
command -v clip
```

Copy using the first available command:

```bash
printf '%s' '<payload>' | wl-copy
printf '%s' '<payload>' | xclip -selection clipboard
printf '%s' '<payload>' | pbcopy
printf '%s' '<payload>' | clip.exe
printf '%s' '<payload>' | clip
```

If shell quoting would be fragile, write the payload to a temporary file, copy from that file, then remove it:

```bash
mktemp
# write payload to temp file using the host's file write/edit tool
wl-copy < /tmp/<file>
rm /tmp/<file>
```

If no clipboard command is available, say so and leave the payload printed for manual copy.

## Output Requirements

After copying or falling back, end with:
- whether clipboard copy succeeded
- which clipboard command was used, if any
- a reminder that the parent workspace was not modified

## Common Mistakes

| Mistake | Fix |
|---|---|
| Bare handoff proceeds with guessed scope | Ask what slice to hand off |
| Payload tells receiver to run Beislið commands | Keep it agent-neutral |
| Includes full `git diff` | Use `git diff --stat` only |
| Infers decisions from code shape | Move uncertain items to Open questions |
| Creates a worktree or branch | Stop; handoff is copy-only |
| Skips preview because clipboard succeeded | Always show the payload |

Versions

RepositoryScoreLicence
This page · sandsower/beislid100MIT
lumpen-mya/claude-handoff100MIT
generous-corp/pulp100MIT
Ovid/paad100MIT
Ovid/paad100MIT
Ovid/paad100MIT
webdevnerdstuff/claude-marketplace100MIT
terencebristol/terencebristol-toolkit100MIT
verkyyi/claude-fleet100MIT

Database snapshot: 13.11.2026 · package version 35bce38ce573 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100sdlc-handoff
    Session handoff and takeover that works with any coding agent. 会话交接与会话接手:旧会话上下文将满、或任务要换会话/换机器/换 agent 继续时,把当前任务压缩成一张自足的交接卡(write);新会话读取交接卡并直接继续(resume),覆盖开发、排查、梳理、调研、文档等任意任务。Use when 交接、接手、继续上次的工作、上下文满了、换个会话做、上次做到哪了、pick up where I left off, handoff, resume previous work,…
  • 82handoff-resume
    Reload the latest session handoff (knowledge/handoffs/CURRENT.md), or an archived one, and get ready to continue the work it describes. Use when the user says "resume", "where did we leave off", "continue from last time" or "load the handoff".
  • 100write-handoff
    Write or update a HANDOFF.md for a multi-session or multi-agent project so the next agent (or human) can resume work with zero prior context. Use when the user asks to "write a handoff doc", "update the handoff", "leave notes for the next session", "document where we left off",…
  • 100session-handoff
    Creates comprehensive handoff documents for seamless AI agent session transfers. Triggered when: (1) user requests handoff/memory/context save, (2) context window approaches capacity, (3) major task milestone completed, (4) work session ending, (5) user says 'save state',…
  • 100session-handoff
    Use when a work session is ending, or the context window is getting full, and someone (you or a fresh session) must continue later. Writes a short HANDOFF.md that can be checked against the real files.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.