Back to skills

Agent Skill

Handoff

handoff

Compact the current conversation into a handoff document for another agent to pick up.

MattpocockGeneralShell

578K installs

mattpocock/skills

by Mattpocock

Score

9.4

/ 10

Installs

578K

Repo Stars

215.5K

Last Updated

5d ago

Fresh

Quality Ratio

96%

Description

Verified

Language

Shell

First Published

May 2026

Summary

The Handoff agent skill creates structured, comprehensive documents that capture the precise state of a development session, enabling seamless continuation for subsequent work. This agent skill is particularly valuable for developers and AI agents operating in continuous development environments, ensuring smooth transitions between work sessions or team members. It is a skill with 6K installs, demonstrating its utility in maintaining context across development sessions. Invoked with `/handoff [topic]`, this agent skill automatically analyzes recent activity like commits and file changes to derive session context and identify the exact pause point. It generates a detailed handoff markdown document, specifying accomplishments, key files to read, and a precise continuation prompt for the next session's AI agent or developer. The skill also suggests running a `/post-mortem` if significant learnings were detected, ensuring both state and knowledge transfer.

Skill Definition

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 in the document, which suggests skills that the 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, 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.

How to Use

Use in O-mega

Claude Code

npx skills add mattpocock/skills handoff