# Handoff

> Compact the current session into a handoff document so another agent or fresh session can continue the work. Use when user asks to hand off, transfer context, continue in another session, start a parallel agent, or preserve only the next-useful context instead of using /compact.

- Skill: `redpanda-data/handoff` (Agent Skill)
- Install (CLI): `npx skillmds@latest add redpanda-data/handoff`
- Raw SKILL.md: https://api.skillmd.com/api/skills/redpanda-data/handoff/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: redpanda-data (https://skillmd.com/u/redpanda-data)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/redpanda-data/handoff

---


# Handoff

Create a concise handoff document for another agent/session to continue from here.

## When to Use

Use when the user wants to:
- continue work in a fresh session
- hand work to another agent
- run a prototype or parallel line of work elsewhere
- preserve actionable context without carrying the whole transcript

## Procedure

1. Create a temp file:
   ```bash
   handoff_file=$(mktemp -t handoff-XXXXXX.md)
   cat "$handoff_file" >/dev/null
   ```
2. Write the handoff to that path.
3. Keep it compact. Do not duplicate artifacts already captured in PRDs, plans, ADRs, issues, commits, diffs, or docs. Reference them by path or URL.
4. If the user provided arguments, treat them as the next session focus and tailor the handoff around that work.
5. Redact sensitive information: API keys, passwords, tokens, secrets, personal data, customer data, and any other confidential values. Mention redaction only when it affects continuation.
6. Suggest skills the next session should use, if any.
7. Return only the handoff path plus a 1-2 sentence summary.

## Handoff Template

```markdown
# Handoff

## Next session focus
<What the next agent/session should do first.>

## Current state
<Only facts needed to resume. Include branch, cwd, PR/issue links if relevant.>

## Decisions made
<Bullets. Link to ADRs/plans/issues instead of restating them.>

## Open questions
<Bullets, or "None".>

## Next actions
1. <First concrete action>
2. <Second concrete action>
3. <Verification or shipping step>

## Relevant artifacts
- <path or URL>: <why it matters>

## Suggested skills
- </skill-name>: <why>
```

## Guardrails

- Do not use handoff as a hidden summary of everything. Include only continuation context.
- Prefer paths and URLs over pasted content.
- Redact secrets and personal data.
- Call out uncertainty explicitly.
- If no useful work has happened yet, say so and write a short starter brief.

