# Session Handoff

> Use when a long session should continue in a fresh agent — context is nearly full, compaction would lose detail, or the work is moving to another tool or teammate. Compacts the conversation into a handoff document in the OS temp directory, pointing at existing specs, plans, and diffs instead of repeating them.

- Skill: `mouadja02/session-handoff` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx get-skill add mouadja02/session-handoff`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mouadja02/session-handoff/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: MIT
- Author: mouadja02 (https://skillmd.com/u/mouadja02)
- Updated: 2026-11-12
- Page: https://skillmd.com/skills/mouadja02/session-handoff

---


> **Attribution:** Sourced from [mattpocock/skills](https://github.com/mattpocock/skills) by [Matt Pocock](https://github.com/mattpocock), licensed MIT. Modified for this collection (upstream name: `handoff`).

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 (`$TMPDIR`, else `/tmp`; `%TEMP%` on Windows) - not the current workspace.

Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for.

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, such as API keys, passwords, or personally identifiable information.

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.

