handoff

Summarizes the current conversation into a handoff document for a fresh agent session.

Updated May 9, 2024
One-click install
npx skills add https://github.com/AceCodePt/dotfiles --skill handoff-acecodept
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: handoff
Source: https://github.com/AceCodePt/dotfiles/tree/main/.config/opencode/flows/handoff
Command: npx skills add https://github.com/AceCodePt/dotfiles --skill handoff-acecodept

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a conversation grows long or a task needs to move to a new agent session, context is lost. This Skill compacts the current conversation into a structured handoff document so a fresh agent can continue the work without re-reading the entire history. ## Core Features & Use Cases - Conversation Compaction: Writes a handoff document summarizing the current conversation and saves it to the OS temporary directory rather than the workspace. - Suggested Skills Section: Recommends which skills the next agent should invoke to continue the work. - Deduplication & Redaction: References existing artifacts (specs, plans, ADRs, issues, commits, diffs) by path or URL instead of duplicating them, and strips sensitive data such as API keys, passwords, and PII. - Use Case: You have been debugging a deployment issue in a long session and want a new agent to implement the fix. Invoke the handoff flow with a note like "next session: implement the retry logic fix" and the document is tailored to that goal. ## 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 flow to compact the current conversation into a handoff document saved in your OS temporary directory. A fresh agent can then read that document and continue the work without the full chat history.

How do I pass context between AI agents without repeating everything?▼

The handoff document summarizes the conversation and references existing artifacts like specs, plans, ADRs, issues, commits, and diffs by path or URL instead of duplicating their content, keeping the document concise.

Where is the handoff document saved?▼

It is saved to the temporary directory of your operating system, not the current workspace, so it does not pollute the project tree or get committed to version control.

Does the handoff document include API keys or personal data?▼

No. The instructions require redacting sensitive information such as API keys, passwords, and personally identifiable information before the document is written.

Can I control what the next session focuses on?▼

Yes. Pass an argument describing what the next session will be used for, and the handoff document is tailored to that focus, including a suggested skills section for the next agent.