Handoff Pill — AI skill for Claude Code
Move the full context of a long AI chat into a fresh one with a single ingestible markdown file.
How to install Handoff Pill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Swarno1996/Handoff-pill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Handoff Pill does
Move the full context of a long AI chat into a fresh one with a single ingestible markdown file.
Alternatives in AI
- Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
- LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
- Late CLI — High-performance AI agent for long-horizon tasks and local models 442 ★
README
Handoff Pill
[](https://github.com/Swarno1996/Handoff-pill/actions/workflows/ci.yml)  
Move a long AI chat into a fresh one with its context **and its working environment** intact.
When a chat gets long, it gets slow, expensive and forgetful, because every new message pays for the whole history. Say **"make the pill"** and the chat writes one dense markdown file. Open a new chat, load the pill, and the new chat rebuilds the old one's environment and carries on with a fresh token budget.
Think of it like Docker. The old chat is a running container. The pill is the image spec: a manifest of what to install (the Dockerfile) plus the application state (the context). The new chat is a fresh container built from that spec, with the same tools, servers, repos and files, and without the old chat's weight.
flowchart LR
A["Long chat
context + tools + state"] -- "make the pill" --> P["PROJECT_HANDOFF_PILL.md
manifest + context"]
P -- "load the pill" --> R{"Rehydrate"}
R --> E["Restore environment
repos, packages, MCP,
skills, files"]
R --> C["Restore context
state, decisions, casebook,
directives, open threads"]
E --> N["Fresh chat
same environment,
fresh token budget"]
C --> N
What a pill carries
| Layer | What's in it |
|---|---|
| Manifest (YAML) | Source platform and model, runtime, repos at exact commits with dirty and unpushed state, packages with install commands, MCP servers, connectors, skills and plugins, required files, env var names, and what is not portable. Every entry has a restore command or user action. |
| Context (prose) | Critical operational facts, current state, artifact inventory, exact working procedures, environment sharp edges, a casebook of solved problems |
Related Skills
Contextbridge
Stop losing context in long AI chats. Open-source AI conversation handoff and project memory for ChatGPT, Clau
AI Agent Handoff
Transfer context between AI agents/tools. Extracts Claude Code sessions and generates structured markdown hand
Compact Chat
Structured handoff documents to transfer context between AI chat sessions. Cursor / Claude Code / Codex skill.
Claude Toolkit
Small, honest Claude Code tools for the CLI and desktop app. /handoff mirrors your current session into a fres
Construction Claude Cowork Project Indexer
Co-work skill that builds a full AI context system for construction projects. 20-40x fewer tokens. Consistent
Yaps Codex Plugin
Persistent local Markdown memory for Codex and ChatGPT. Private MCP memory store for cross-chat context, remem
Related Agents
Pptx Reviewer
Independent reviewer for a pptx-craft deck or video. Scores rendered PNGs, click strips and the audit block ag
Feature Crew Reviewer
Code reviewer. Spawned with fresh context — no memory of build. Reads spec.md, design.md, ADRs, and the diff o
Summarizer
Draft a session-handoff summary so a fresh agent can continue with zero conversation context. Locates the curr