handoff

Generates a handoff document summarizing the current conversation for a fresh agent session.

1|Updated Jul 23, 2026
One-click install
npx skills add https://github.com/sanjanb/my-agent-harness --skill handoff-sanjanb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: handoff
Source: https://github.com/sanjanb/my-agent-harness/tree/main/skills/mp-handoff
Command: npx skills add https://github.com/sanjanb/my-agent-harness --skill handoff-sanjanb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Long agent sessions lose context quality as conversations grow, and starting fresh means losing all prior progress. This Skill compacts the current conversation into a portable handoff document so a new agent session can continue the work without re-reading the entire history. ## Core Features & Use Cases - Conversation Compaction: Summarizes the current conversation into a structured handoff document saved to the OS temporary directory, keeping the workspace clean. - Artifact Referencing: Avoids duplicating content already captured in specs, plans, ADRs, issues, commits, or diffs by referencing them via path or URL. - Suggested Skills Section: Recommends which skills the next agent should invoke to continue the work effectively. - Sensitive Data Redaction: Strips API keys, passwords, and personally identifiable information from the handoff. - Use Case: After a long debugging session, invoke the handoff with a note like "next session: implement the fix" so a fresh agent picks up exactly where you left off with full context. ## Quick Start Ask the agent to create a handoff document for the next session, optionally describing what that session will focus on.

Frequently Asked Questions about handoff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transfer an AI agent conversation to a new session?

Invoke the handoff skill to compact the current conversation into a summary document saved to your OS temporary directory. A fresh agent session can then read that document and continue the work with full context.

How do I avoid context loss in long AI coding sessions?

Create a handoff document before the conversation grows too large. The document summarizes progress, references existing artifacts like specs and commits, and suggests skills for the next session to invoke.

Where is the handoff document saved?

The handoff document is saved to the temporary directory of your operating system, not the current workspace. This keeps your project repository free of transient session files.

Does the handoff document include sensitive information?

No. The skill explicitly redacts sensitive information such as API keys, passwords, and personally identifiable information before writing the handoff document.

Can I customize the handoff for a specific next task?

Yes. Pass an argument describing what the next session will focus on, and the handoff document will be tailored accordingly, including a suggested skills section for the incoming agent.