handoff

Installation
SKILL.md

Context — gather first

Collect these with individual Bash calls, one command per call:

  • Claude session id — printenv CLAUDE_CODE_SESSION_ID
  • Current branch — git branch --show-current
  • Uncommitted changes — git status --porcelain, reading at most the first 20 entries
  • Recent commits — git log --oneline -5

Treat any failure as an unknown value and carry on. These are gathered here rather than pre-computed because a worktree-isolated agent refuses any command carrying a $-expansion, which made this skill fail at load in exactly the isolated sessions that most need a save-point — keep $-expansion out of the pre-compute block (#1687).

Purpose

Context bloat is expensive and quality degrades as context rots. When a task has room left but context is heavy, capture a save-point — a handoff document, or just a copy-paste resume prompt when follow-ups are small — and /clear.

Installs
2
GitHub Stars
12
First Seen
Jul 21, 2026
handoff — melodic-software/claude-code-plugins