sync · git:20261117.6f99b9f · 2026-11-17 · sha256 cc044ff90282410a

sync git:20261117.6f99b9fA

Immutable. This exact content never changes and is served at /api/v1/blob/cc044ff90282410a.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_wkl4dugyc5f5sbcp/cc044ff90282410a9a4771bc6bcf2f7a6f7a95e3148289ba21b73f2b4e3e67fb.json

Then /plugin install sync@markdownregistry-wkl4dugyc5f5sbcp in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: sync
description: Pull the default branch, arm stranded pull requests and remove finished topic-branch worktrees.
disable-model-invocation: true
allowed-tools: Bash(python3:*)
---

Run, from the default branch's checkout:

```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/branchstate.py" --sync
```

It removes a topic-branch worktree only when its work is in the default branch, no process stands in it, it
holds no uncommitted or untracked file and it sat idle past the bound. Report each tree it KEPT with the
reason it printed; never remove a kept tree by force.