Skip to content
Back to skills

Session Handoff

ASecurity

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.

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 10, 2026
ai-agentsgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add mouadja02/skills --skill session-handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Handoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mouadja02-session-handoff/badge)](https://www.skillsdirectory.com/skills/mouadja02-session-handoff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-handoff
description: >-
  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.
argument-hint: "What will the next session be used for?"
disable-model-invocation: true
license: MIT
source: "https://github.com/mattpocock/skills"
attribution: "mattpocock/skills by Matt Pocock"
version: "1.0.0"
---

# 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.

Files in this skill

  • LICENSE1 KB
  • SKILL.md1.5 KB
  • agents/openai.yaml141 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.