Skip to content
Development
Command

/switch

Park the handoff belonging to another branch and restore this branch's one (per-branch handoffs).

From plugin
claude-handoff-revive
811 skills11 commands
> /plugin marketplace add sofumel/claude-handoff-revive
> /plugin install handoff-revive@handoff-revive-marketplace

Command definition

switch.md
description: 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.

@sofumel
Ships withclaude-handoff-revive

Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages.

Stars on GitHub

Momentum

stars in total
8
Star history of sofumel/claude-handoff-revive on GitHub, a chart by star-history.com

Other commands on claude-handoff-revive.

diff

diff

Command

Show what changed between the current handoff and a past snapshot, section by section. Usage - /handoff-revive:diff [timestamp]

preview

preview

Command

Preview what the next session will read from `.claude/handoff/current.md` (read-only dry-run, zero-token shell check).

restore

restore

Command

Restore a handoff snapshot from `.claude/handoff/history/` as the current handoff. Usage - /handoff-revive:restore <timestamp>

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command