handoff-v2
跨会话交接协议。用户只要表现出“现在先停一下,下一会话接着干”“继续刚才那一轮”“上下文太长要迁移工作现场”等意图,就必须使用此 skill。 `handoff out` 生成一个最小可执行的 handoff 包;`handoff in <id|latest>` 先读取 handoff 包并给出恢复预览,获得用户同意后才继续执行;`handoff list` 查看最近的交接记录。 整个协议只允许一个载体:handoff.md,不生成额外 prompt,不要求用户重新讲背景。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/allen-cao/handoff-sessionWhat This Skill Does
The handoff-v2 skill is an advanced state-persistence protocol designed for OpenClaw AI agents to manage cross-session workflows seamlessly. Unlike standard summarization tools, this skill creates a "frozen state" captured within a strictly formatted handoff.md file. It allows users to pause long-term projects, switch between sessions, or migrate contexts without ever having to re-explain their background or project history to the agent. By using a structured 8-slot template (Task, Status, Completed, Decisions, Constraints, Files, Next Steps, and Pending Items), the agent ensures that the next session can resume execution immediately upon recovery.
Installation
To install this skill, run the following command in your OpenClaw terminal:
clawhub install openclaw/skills/skills/allen-cao/handoff-session
Use Cases
- Long-term Project Management: When a task spans multiple days and you need to clear your active session context.
- Context Migration: Moving a complex coding or research project from a chat session that has become too long to a fresh, optimized session.
- Deferred Work: Pausing a multi-step execution to resume later without losing track of current dependencies or blocking items.
- Session Cleanup: Reducing token usage in LLM-based agents by effectively "checkpointing" work and starting with a fresh context window.
Example Prompts
- "I'm wrapping up for now, please perform a handoff out so I can continue this task tomorrow."
- "handoff in latest - I'm ready to pick up where we left off yesterday."
- "Let's see what we were working on; list my recent handoff sessions."
Tips & Limitations
- Strict Compliance: The protocol relies on the 8-slot structure. Ensure no slots are left blank; use "None" or "Not Recorded" if necessary.
- Compression is Key: This is not a conversation logger. Always delete fluff, emotional content, or historical discussions before executing
handoff out. Keep the document under 120 lines to ensure the agent maintains focus. - Approval Loop: For safety,
handoff inwill never execute a task until you explicitly confirm the recovery preview. Always check the proposed 'Next Step' before approving. - Atomicity: The skill treats
handoff.mdas the unique source of truth. Do not manually edit the file if you are not prepared for a potential break in the state logic.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-allen-cao-handoff-session": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read