anton-abyzov/vskill/handoff
Claude Code and agent skill by anton-abyzov/vskill
- vendor
Checking that the SKILL.md file is still in the repository.
Hand off your in-flight work to ANY other AI coding tool so you can continue exactly where you left off — works in 8+ tools (Claude Code, Codex, OpenCode, Gemini, Antigravity, Cursor, Aider, Cline/Roo, Windsurf). Writes one portable, secret-scrubbed handoff document plus a full diff of your uncommitted edits, then prints the absolute path, a clickable link, and a copy-paste resume prompt. Use this skill whenever the user is running out of subscription tokens, wants to switch tools mid-task, says 'handoff', 'continue elsewhere', 'continue on another machine', 'switch to Codex/OpenCode/Gemini/Cursor', or 'I'm out of tokens'. Self-contained: needs only git and a shell; uses 'specweave handoff' as an optional accelerator if it is on PATH.
Install
npx vskill@latest install anton-abyzov/vskill/handoffSKILL.md
The same SKILL.md was published earlier as anton-abyzov/vskill/handoff.
/handoff — Cross-Tool Work Handoff
No AI coding tool can read another's transcript: Claude Code locks sessions in ~/.claude/projects/<munged-cwd>/<uuid>.jsonl, Codex/OpenCode in their own stores, Antigravity in encrypted .pb. The only thing portable across tools is a self-contained document. This skill writes that document — your current goal, decisions, and the EXACT uncommitted edits — so any other AI agent can pick up where you left off, without you re-explaining anything.
Use this skill when the user is low on tokens, wants to switch tools mid-task, is moving to another machine, or says "handoff" / "continue elsewhere" / "out of tokens".
This skill is self-contained: it works with only git + a shell. It calls specweave handoff as an optional accelerator when that binary is on PATH (high-fidelity, increment-aware) — but it has no hard dependency on SpecWeave being installed.
Decision: which path to take
- ACCELERATOR (
specweaveon PATH) → run the engine, surface its output. Go to Path A. - STANDALONE (no
specweave) → build the doc yourself fromgit+ a short interview. Go to Path B.
Both paths emit the same doc format and the same paste-prompt (see the canonical template below), so a handoff is continuable in any tool regardless of which path produced it.
Path A — Accelerator (specweave on PATH)
Run the engine, forwarding any short context you can supply cheaply:
Then surface its stdout verbatim, in order (do not reorder or paraphrase):
- absolute doc path as plain text (FIRST), 2. clickable markdown link, 3.
.diffpath, - fenced copy-paste resume prompt, 5. per-tool "find your source session" tips.
Done. The engine handled workspace detection, task/AC parsing, git capture, the full-diff dump, secret scrub, and rendering.
Path B — Standalone (no specweave)
Build a byte-compatible doc using only the shell.
B1. Capture git state (free — no tokens)
B2. Five-question interview (only the non-derivable fields)
Ask the user (keep it to ~5 short strings — cheap even at token exhaustion):
- reason — why are you handing off? (e.g. "out of tokens")
- summary — one line: where do things stand?
- next — the exact next step.
- gotcha — anything the next agent must NOT do / must know?
- decisions — key decisions already made (semicolon-separated).
B3. Secret scrub (before writing — over BOTH free text AND the diff)
Replace matches with [REDACTED-<type>] and count per pattern. Patterns (12): sk-, ghp_, gho_, ghs_, AKIA, ASIA, -----BEGIN, vsk_, xox[bap]-, Bearer , password=, api_key=.
Scrubbing is heuristic — an empty redaction list is NOT a guarantee the file is clean.
B4. Write the doc
Write the canonical template below to $ROOT/.handoff/HANDOFF.md, filling the captured + interview fields.
Ownership sentinel: if a root ./HANDOFF.md already exists and does NOT contain the Doc format v1 marker, it is a foreign file — do NOT overwrite it; write to .handoff/HANDOFF.md instead (which is the default here anyway).
B5. Print the output — abs-path-first, in this order
- The absolute path of
.handoff/HANDOFF.mdas plain text. - A clickable markdown link to it.
- The absolute path of
.handoff/handoff.diff. - The fenced paste-prompt (see below).
- The per-tool "find your source session" tips.
Canonical handoff document template (INLINED — single source of truth)
Render these sections in this exact order, ending with the Doc format v1 footer marker. Square-bracket placeholders are filled from the captured git state + interview. This mirrors specweave's handoff-doc-format.ts so a doc produced here is byte-compatible with one produced by the CLI.
<git status --porcelain>
<git diff --stat>
Notes on the template:
- If there are no uncommitted changes, replace the Files Touched body with
_Working tree clean — no uncommitted edits._(or_Not a git repository — no diff captured._when there is no git). - If there are no decisions, the Key Decisions body is
_No decisions recorded._; omit the Gotcha: line when no gotcha was given. - The Redaction body is
_No token-like strings were detected._when nothing was masked. - The footer marker
<!-- Doc format v1 -->is mandatory and must be the last line — it is the ownership sentinel.
Paste-prompt
Default (file reachable):
`--inline` (cross-machine, file unreachable): embed the FULL doc body between markers so it travels in the prompt itself:
Safety defaults
- The doc + diff are gitignored by default (
.handoff/.gitignore=*) and never auto-committed. Do not print agit addhint. - Secret scrubbing runs over both free text and the diff before any write.
- Scrubbing is heuristic — advise the user to review before sharing or committing.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 16 Sep 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/handoff/SKILL.md
Popularity
- Repository stars
- 45
- Repository forks
- 6
- Repository npm downloads, 7 days
- 138
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 27 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/anton-abyzov/vskill/handoff)