/switch
Park the handoff belonging to another branch and restore this branch's one (per-branch handoffs).
$ npx -y skills add sofumel/claude-handoff-revive --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/switch
Context preview
What this command does when you run it.
Park the handoff belonging to another branch and restore this branch's one (per-branch handoffs).
Command definition
switch.mddescription: Park the handoff belonging to another branch and restore this branch's one (per-branch handoffs).
Run the `switch-branch-handoff` script and relay its output in the user's language (read `.claude/handoff/lang`):
- Linux/macOS/WSL/Git-Bash:
bash "${CLAUDE_PLUGIN_ROOT:-.claude}/skills/handoff-revive/scripts/switch-branch-handoff.sh"- Windows PowerShell:
$r = if ($env:CLAUDE_PLUGIN_ROOT) { $env:CLAUDE_PLUGIN_ROOT } else { ".claude" }; powershell -ExecutionPolicy Bypass -File "$r/skills/handoff-revive/scripts/switch-branch-handoff.ps1"What it does: `current.md` stays the single active handoff; the one belonging to another branch is parked under `.claude/handoff/branches/<branch>.md` and the current branch's parked handoff (if any) is restored. Nothing is destroyed — collisions are archived to history first.
After a successful restore, offer `/handoff-revive:resume`. If it restored nothing (clean slate), suggest `/handoff-revive:save` once work starts. If it errors because the handoff has no `branch:` metadata, explain it predates v1.1 and should be re-saved on its own branch first.
Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages.
Other commands on claude-handoff-revive.
- /auto
Toggle automatic handoff save (90%/95% triggers) for THIS session — pass on, off, or status
Open command - /diff
Show what changed between the current handoff and a past snapshot, section by section. Usage - /handoff-revive:diff [timestamp]
Open command - /doctor
Diagnose the handoff-revive installation - toolchain, script pairs, hooks, and current handoff state.
Open command - /list
List handoff snapshots in `.claude/handoff/history/` (one is archived automatically on every save).
Open command - /preview
Preview what the next session will read from `.claude/handoff/current.md` (read-only dry-run, zero-token shell check).
Open command - /restore
Restore a handoff snapshot from `.claude/handoff/history/` as the current handoff. Usage - /handoff-revive:restore <timestamp>
Open command

