Registry / marcus

marcus/sidecar/worktree-switching

Git worktree support in sidecar: worktree detection, switching between worktrees, worktree state management, and plugin reinitialization. Covers the full lifecycle of worktree context switching including registry reinit, per-worktree state persistence, deleted worktree detection and fallback. Use when working on git worktree features or worktree-related functionality.

Agent skill · version 1.17.1 · from marcus/sidecar

Install

npx yarkr-cli add skill:marcus/sidecar/worktree-switching

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:marcus/sidecar/worktree-switching
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:marcus/sidecar/worktree-switching

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:marcus/sidecar/worktree-switching

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.