Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By marcoskichelv0.17.0MITIn 1 marketplace
Opens isolated git worktrees for parallel branches, then lists, closes and cleans them up, and drafts PR descriptions. Gates single PR merges on green CI and lands stacked PR chains bottom-up.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Git workflow skills: parallel worktree lifecycle, PR description templating, and gated PR merging.
Part of the empire marketplace.
/plugin marketplace add marcoskichel/empire
/plugin install empire-git@empire
Or install the full empire bundle (which includes this plugin):
/plugin install empire@empire
These skills run in OpenAI Codex (and other Agent Skills runtimes). Install with skills.sh:
npx skills add marcoskichel/empire -a codex
Codex invokes skills flat (/worktree-open, $worktree-close), so the /empire-git: command examples below are the Claude Code form. The bundled worktree-setup.sh and worktree-registry.sh ship inside each skill; Claude Code resolves them via ${CLAUDE_PLUGIN_ROOT}, other agents via the skill's own scripts/ directory. Worktrees still live under .claude/worktrees/.
worktree-openCreate or reopen an isolated git worktree for parallel development. Derives a deterministic path from the branch name (so the same branch always maps to the same worktree), copies .env* files, runs the matching dependency install, and prints the path so you can launch a Claude Code session or VSCode window in it.
Triggers: "open a worktree", "spin up a branch", "work on X separately", "in parallel", "start a parallel task", "isolated environment for an agent", "side branch without switching".
Usage: /empire-git:worktree-open [branch | task description] [--base <branch>]
flowchart LR
args[Branch or task] --> resolve[Resolve path]
resolve --> setup[Copy env + install deps]
setup --> open[Worktree ready]
Source: skills/worktree-open/SKILL.md, scripts/worktree-setup.sh
worktree-listRead-only inventory of active worktrees with branch, dirty/clean status, ahead/behind counts, last commit, and staleness. Never modifies anything.
Triggers: "list worktrees", "show my worktrees", "what worktrees do I have", "what's in flight", "any forgotten worktrees", "stale worktrees".
Usage: /empire-git:worktree-list [--stale]
flowchart LR
scan[Scan worktrees] --> enrich[Status + age]
enrich --> render[Report]
Source: skills/worktree-list/SKILL.md
worktree-mergeFold one worktree's branch into another local branch using git merge (defaults to --no-ff). Useful for batching small fixes into one branch before opening a single PR, or folding sub-feature branches back into a parent.
Triggers: "merge this worktree into X", "fold sub-branches back", "combine worktree branches", "merge feat/X into main locally".
Usage: /empire-git:worktree-merge <branch> --into <target> [--no-close] [--ff]
flowchart LR
source[Source branch] --> target[Target branch]
target --> merge[git merge]
merge --> close[Optional cleanup]
Source: skills/worktree-merge/SKILL.md
worktree-closeFinish work in a single worktree: optional push, remove the worktree, and let you choose whether to delete the branch. Uses safe delete (git branch -d) to flag unmerged work.
Triggers: "close this worktree", "I'm done with this worktree", "wrap up this branch", "push and remove", "tear down this worktree".
Usage: /empire-git:worktree-close [branch] [--push] [--discard] [--force]
flowchart LR
target[Target worktree] --> push[Optional push]
push --> remove[Remove worktree]
remove --> branch[Optional branch delete]
Source: skills/worktree-close/SKILL.md
worktree-cleanupBatch housekeeping: scan for stale worktrees and orphaned branches, classify them (stale, missing, merged orphan, remote deleted, has open PR), then let you pick what to clean up. --dry-run previews without changes.
Triggers: "stale worktrees", "orphan branches", "prune worktrees", "clean up old branches", "purge stale worktrees", "housekeeping".
Usage: /empire-git:worktree-cleanup [--dry-run] [--days N]
flowchart LR
scan[Scan worktrees + branches] --> classify[Classify stale + orphan]
classify --> pick[User picks actions]
pick --> exec[Execute]
Source: skills/worktree-cleanup/SKILL.md
worktree-helpNatural-language FAQ for the worktree toolkit. Answers questions about VSCode integration, port offsets, env file handling, dependency installs, and typical workflows. With no arguments, prints the overview.
Triggers: "how do I open this in VSCode", "why is .env copied", "what about port collisions", "worktree workflow", "show me the worktree FAQ".
Usage: /empire-git:worktree-help [question]
7-day copy clicks
npx claudepluginhub marcoskichel/empire --plugin empire-gitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground