handoff
Installation
SKILL.md
/handoff
Write a handoff document so a fresh session can continue the work.
Step 1 — Get current session ID
SESSION_ID=$(cat "$HOME/.claude/.session-pids/$PPID" 2>/dev/null)
If empty, fall back to the most recently modified JSONL:
SESSION_ID=$(ls -t ~/.claude/projects/$(echo "$PWD" | sed 's|/|-|g')/*.jsonl 2>/dev/null | head -1 | xargs basename | sed 's/.jsonl//')