Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Worktrunk

Plugin by max-sixty

Manages git worktrees from the command line, with commands to create, switch, list, merge and remove them. It is aimed at developers who run several AI agents, such as Claude Code, in parallel.

  • Score 89
  • 13k stars
  • Apache-2.0
  • Updated
Works withClaude Code

Install Worktrunk

Built from the published package, never by AI.

/plugin marketplace add JoaquinCampo/my-plugins
/plugin install worktrunk@my-plugins

Type both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.

Step-by-step: install Worktrunk in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Worktrunk is a CLI for git worktree management, designed for running AI agents in parallel. Worktrees are addressed by branch name, and their paths are computed from a configurable template. The core commands are wt switch, wt list, wt merge and wt remove. Running wt switch -c -x claude feat creates a worktree and starts Claude in it.

Git's native worktrees give each agent its own working directory, so parallel changes do not collide. Worktrunk adds hooks to automate local workflows, LLM-generated commit messages, a merge workflow, an interactive picker, and shared build caches on APFS, btrfs, and XFS. It is aimed at developers who manage five to ten or more parallel changes with AI agents.

Written from the project's README and checked against it.

What it can do

  • wt switchSwitches to a worktree by branch name, and can create one with -c.
  • wt listLists all worktrees with status, ahead and behind counts, and commit info.
  • wt mergeSquashes, rebases, merges into the target branch and cleans up in one command.
  • wt removeRemoves a worktree and its branch once the work is merged.
  • HooksRuns commands on create, pre-merge, post-merge and other events.
  • LLM commit messagesGenerates commit messages from diffs.
  • Interactive pickerBrowses worktrees with streaming CI status and diff, log, PR and comment previews.
  • PR checkoutUses wt switch pr:123 to jump straight to a pull request's branch.
  • Shared build cachesGives new worktrees target/ and node_modules/ without building or copying them.
  • AliasesAdds custom wt <name> commands and branch-scoped variables for hook templates.

What you need

  • Git
  • macOS, Linux or Windows
  • Homebrew, Cargo, Arch pacman, Conda or PyPI for installation

Try asking

  • Create a worktree called feature-auth and start Claude Code in it.
  • List all my git worktrees with their status and CI state.
  • Merge my feature-auth worktree into main and clean it up.

Good to know

  • On Windows, wt conflicts with Windows Terminal, so the Winget install uses git-wt instead.
  • Shared build caches work only on APFS, btrfs, and XFS filesystems.
  • The PyPI install is marked experimental.
  • The Conda package is community-maintained.

Security check

C
  • Asks for administrator rights (sudo)In README.md: sudo

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Worktrunk

All alternatives →
Mattpocock skillsmattpocock
95

Matt Pocock's agent skills for real engineering work, including grilling sessions, specs and tickets, TDD, bug diagnosis and code review. Made for developers who want control over their agent's process rather than a fixed framework.

AAB 334k
Modern web guidanceGoogleChrome
95

Modern Web Guidance is a set of skills that gives coding agents current web platform best practices and browser compatibility data. It steers agents away from legacy patterns and toward modern browser APIs.

AAB 27k
Superpowersobra
95

Superpowers is a software development methodology for coding agents, built from composable skills. It covers brainstorming, planning, subagent-driven development, test-driven development and code review. It is aimed at developers who use Claude Code.

AAB 328k
Modern web guidanceGoogleChrome
95

Keeps coding agents current with modern web platform APIs, best practices, and browser compatibility data. Steers agents away from legacy patterns and heavy polyfills toward native web features. Built for developers who use AI coding agents.

AAB 27k
Code modernizationanthropics
93

Guides modernization of legacy codebases, starting with /modernize. It covers an assessment, a plan you approve, then an upgrade, rewrite or rebuild checked against the old behavior.

AAB 48k
Code simplifieranthropics
93

Code simplifier is a Claude Code agent that refines recently modified code for clarity, consistency, and maintainability. It suits developers who want cleaner code that keeps its existing functionality.

AAB 48k

Compare with Mattpocock skills, Modern web guidance or Superpowers

Worktrunk: common questions

What is Worktrunk used for?

The source says it is a CLI for git worktree management, designed for running AI agents in parallel. Each agent can get its own worktree so their changes do not step on each other.

Does Worktrunk work with Claude Code?

The source shows wt switch -x claude to start Claude Code in a new worktree. It also links to a Claude Code integration page.

Which filesystems support shared build caches?

The source says the shared build cache feature works on APFS, btrfs, and XFS.

How do I install Worktrunk?

Inside Claude Code, add the marketplace with /plugin marketplace add JoaquinCampo/my-plugins, then install the plugin with the second command shown above.

Is Worktrunk free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Worktrunk safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to Worktrunk?

Similar plugins: Mattpocock skills, Modern web guidance, Superpowers, Modern web guidance.

Worktrunk Install

Add to stack

Loading.