Portable Handoff
Maintain the same context between AI chats, models, and coding agents. Stop re-explaining your project every time you switch AI tools.
Install: git clone https://github.com/legoambarish/portable-handoff
Works with Claude Code, Codex, Cursor · 22 GitHub stars
Install
git clone https://github.com/legoambarish/portable-handoffInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Portable Handoff
Move work between AI sessions without losing what mattered.
You spend an hour with a coding agent. It learns your constraints, makes three decisions you corrected twice, and gets halfway through a refactor. Then the context window fills up, or you switch tools, and the next session starts from nothing. Asking the model to "summarise what we did" gets you a summary that reads well and quietly invents the parts it doesn't remember.
Portable Handoff writes a capsule instead: one Markdown file where the model supplies the meaning and local code supplies the facts. Git state, file hashes and timestamps come from your machine, not from the model's recollection. Every claim is labelled with where it came from and how much to trust it.
Contents
- What a capsule gets you
- Install
- Have your agent install this for you
- Creating one
- Reading one
- Where it runs
- Security
- Limits
- Contributing
- License
What a capsule gets you
Loading one produces a briefing sized for a fresh session:
Written: 2026-08-18T05:52:51Z (less than a day old)
Staleness: **fresh**
## Current State
- Status: `blocked`
- Blockers: Awaiting a user decision before the next action can proceed
## Repository facts recorded in the capsule
- Branch: `master`
- Commit: `6e963af6a921724a647ffe09426ba12d17cd2d17`
- HEAD reachable from a remote: no
- Warning: the recorded commit was not present on any remote, so it may exist
only on the machine that wrote this capsule.
## Blocking question - answer before editing files
> Should phase 1 land on main or on the release branch?
Three things there are worth noticing. The status is blocked, not
in_progress, because the draft carried an unanswered question and the tool
promoted it. The publication warning was not written by a model; it came from
git branch --remotes --contains. And the capsule refuses to let a later
session read "no blockers" while a decision is still open, which is how these
things quietly go wrong.
Install
Clone the repository. pip install alone gets you the CLI, but the skill
files an agent actually reads live next to it in the same clone, and pip does
not package them.
git clone https://github.com/legoambarish/portable-handoff
cd portable-handoff
pip install -e .
portable-handoff doctor --cwd .
Python 3.11 or newer. No runtime dependencies at all, no network access, no
account, no API key, no database, no vector store. doctor prints
supported, degraded, or unsupported for wherever you just ran it, which
is worth checking before anything else.
The commands below assume you're inside that clone.
Claude Code
Skills live in ~/.claude/skills/ for every project on the machine, or in
.claude/skills/ for one project only.
python scripts/install_skill.py --destination ~/.claude/skills/handoff
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.