handoff
Installation
SKILL.md
Session Handoff
Compress the critical context from the current conversation into a prompt so the user can paste it into a new session and the new AI can pick up the work immediately.
The Problem
Long sessions accumulate cache tokens that slow responses and drain quota. But starting a new session cold loses all conversation context. This skill solves: compress context, don't lose context.
Execution Steps
Phase 1: Retrospective Scan
Scan back through the entire conversation history in sequence. Early context is easily lost to attention decay or compression truncation — scan from the beginning forward, don't rely only on recent memory.
Tag each piece of information with a priority:
- P0 (must include): information that, if lost, would cause the new session to make errors, redo work, or violate user intent
- P1 (should include): improves efficiency and avoids detours, but not fatal if lost