Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

Worktrunk plugin: parallel AI agents in separate git worktrees

max-sixty/worktrunk

Worktrunk is a separate program (wt) for keeping several working copies of one project side by side. This plugin connects it to your AI assistant. The assistant can start a task in a fresh copy, set up wt for you, and wt shows which copies have an assistant working or waiting.

Pack description by its author: “Worktrunk is a separate program (wt) for keeping several working copies of one project side by side. This plugin connects it to your AI assistant. The assistant can start a task in a fresh copy, set up wt for you, and wt shows which copies have an assistant working or waiting.”

Software engineeringGives your assistant new abilities with scriptsCommands you run when neededKnowledge and rules for your assistant

GitHub

Checked against the pack's files at commit 057037a, on Nov 7, 2026. Tap a verdict to see its source.How we checkedReport an error

The pack has changed since AgentGid checked it on Nov 7, 2026. Some details may be out of date.

Gives your assistant new abilities with scriptsCommands you run when neededKnowledge and rules for your assistant

Good for you if

  • You run several AI coding sessions on one project at the same time and want each in its own copy
  • You already use Worktrunk (wt), or want to, with Claude Code, Codex or Gemini CLI
  • You want help setting up wt, for example AI-written save messages or setup steps for each new copy

Probably not for you if

  • You don't want to install the wt program: the plugin does nothing without it
  • You work in one session on one copy of your project at a time

What its answer looks like

Activity marks in wt list

$ wt list
  Branch       Status      HEAD±     main↕
@ main             ^⇡
+ feature-api      ↑ 🤖              ↑1
+ review-ui      ? ↑ 💬    +1        ↑1

The skill's own example, from skills/worktrunk/reference/claude-code.md. More examples

What you'll notice

  • A robot or speech-bubble mark next to each copy in wt list: the assistant is working or waiting
  • /wt-switch-create makes a new copy of the project beside it and moves the session there (Claude Code only)
  • Copies the assistant makes for itself go through wt, so they follow your wt layout and setup steps
  • In Claude Code, entering a wt copy of the same project no longer asks you to confirm

What you need

  • Claude Code, Codex, Gemini CLI
  • Free, Apache-2.0 license
  • Install the wt program first, then one command: wt config plugins claude install (or codex)
  • Needs wt v0.81.0 or later on your PATH, plus bash (Git for Windows on Windows)
Words on this page
Skill
A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
Plugin
A package your assistant installs that can bring skills, commands and hooks together.
Hook
A small program the assistant runs by itself at set moments, for example when a session starts.
CLI
A program you run by typing commands in a terminal.
Repository
A project folder on GitHub with its files and history.
Slash command
A command you type in the assistant's chat, starting with /.
Repositorymax-sixty/worktrunk · website
GitHub stars12,691
Skills5 (5 SKILL.md in the repo, 2 in skills/) · 1 with scripts
CategorySoftware engineering
LicenseApache-2.0
Last updatedNov 22, 2026 · card checked Nov 7, 2026 at commit 057037a
Install countsmax-sixty/worktrunk on skills.sh, Vercel's skills directory, which shows installs and security audits per skill

max-sixty/worktrunk popularity over time

Most starred skill packs

max-sixty/worktrunk: GitHub starstotal over time 12,691
max-sixty/worktrunk: new stars per weekGitHub 371

What Worktrunk plugin does

  • Activity marks: hooks set a 🤖 (working) or 💬 (waiting) mark on the branch at each prompt, question, permission dialog and stop; the mark is cleared when the session ends
  • Agent worktrees through wt (Claude Code): when Claude Code creates or removes a worktree, the plugin runs wt switch --create / wt remove instead of plain git worktree
  • Auto-yes for one dialog (Claude Code): entering a wt worktree of the same repository at its expected path is allowed without the confirmation dialog
  • Setup guide skill: reference docs for wt config, project hooks, LLM commit messages, aliases and troubleshooting
  • /wt-switch-create: creates a worktree (optionally in another repo), moves the session into it and starts the task

Never cut, per the skill: The worktrunk skill tells the agent not to approve a project's hook commands on the user's behalf and to stop and ask the user instead.

From the pack's SKILL.md files, summarised by AgentGid.

The 2 skills, explained

worktrunk

Helps you set up and fix the wt program, and answers questions about it

You give

  • What you want wt to do: AI-written save messages, setup steps for new copies, a custom folder layout, shortcuts
  • Your consent before it edits your personal wt settings file

You get

  • A proposed change to ~/.config/worktrunk/config.toml, applied after you approve
  • Project hooks in .config/wt.toml taken from your project's own scripts, with a comment on why each exists
  • A test run: wt step commit --dry-run or wt switch --create test-hooks
Say: “Set up wt so it writes commit messages with Claude Code”

wt-switch-create

Makes a fresh copy of the project for one task, moves the session into it and starts the task

You give

  • A branch name (optional, it picks one from the task)
  • Another project folder (optional)
  • The task, after --

You get

  • A new wt worktree beside your project, e.g. <repo>.fix-auth/
  • The session moved into it and the task started there
  • The worktree kept after the session; merge or remove it with wt merge / wt remove
Say: “/wt-switch-create fix-auth -- Investigate the 5-minute session timeout”

See it in action

The skill defines what its answer looks like. Its own example:

$ wt list
  Branch       Status      HEAD±     main↕
@ main             ^⇡
+ feature-api      ↑ 🤖              ↑1
+ review-ui      ? ↑ 💬    +1        ↑1

From skills/worktrunk/reference/claude-code.md.

When to reach for it

You wantUse
Start a task in its own copy of the project without leaving Claude Code/wt-switch-create <branch> -- <task>
See which copies have an assistant working or waitingwt list (🤖 working, 💬 waiting)
AI-written commit messages for wt mergeAsk the worktrunk skill to set up [commit.generation]
Install dependencies automatically in each new copyAsk the worktrunk skill to add a pre-start hook to .config/wt.toml
The agent stopped at "needs approval to execute"Run wt config approvals add yourself and review the commands
Clear a stuck mark after a killed sessionwt config state marker clear
Try it. With wt installed, run /wt-switch-create try-wt -- list the files in this project in Claude Code. The session should move into a new folder beside your project, and wt list in another terminal should show a 🤖 or 💬 mark on try-wt.

Skills in max-sixty/worktrunk

SkillIn plain wordsChanges files?What it does (author)
worktrunk Helps you set up and fix the wt program, and answers questions about itYes Guidance for Worktrunk (the `wt` CLI) — git worktree management, hooks, and config. Load when working out which worktree a `wt` command will act on, or reaching for the global `-C <path>` to target one; editing .config/wt.toml or ~/.config/worktrunk/config.toml; adding, modifying, or debugging…
npx skills add max-sixty/worktrunk --skill worktrunk
wt-switch-create
/wt-switch-create [<branch>] [<repo>] [-- <task>]
Makes a fresh copy of the project for one task, moves the session into it and starts the taskYes Create a new worktrunk worktree (optionally in another repo) and switch this session's working directory into it. Use when launching a session that should work in its own worktree.
npx skills add max-sixty/worktrunk --skill wt-switch-create
release —— Worktrunk release workflow. Use when user asks to "do a release", "release a new version", "cut a release", or wants to publish a new version to crates.io and GitHub.
npx skills add max-sixty/worktrunk --skill release
running-tend —— Worktrunk-specific guidance for tend CI workflows. Adds codecov polling, Rust test commands, labels, and review criteria on top of the bundled tend-ci-runner skills. Use when operating in CI. has scripts
npx skills add max-sixty/worktrunk --skill running-tend
writing-user-outputs —— CLI output formatting standards for worktrunk. Load before editing any code that calls warning_message, hint_message, error_message, info_message, eprintln, or println, or that produces strings the user will see (CLI help, progress UI, snapshot text). Documents ANSI color nesting rules, message…
npx skills add max-sixty/worktrunk --skill writing-user-outputs

The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.

Good to know before you install

  • It needs the wt program: the plugin's hooks only call wt, and fail with a message if wt is not on your PATH.
  • In Claude Code it answers one confirmation for you: entering a wt worktree of the same repository at its expected path is allowed without a dialog. Every other request still asks.
  • Worktrees are created outside your project folder by default (a sibling folder such as <repo>.fix-auth/), and stay after the session.
  • Creating a worktree runs your project's wt hooks (for example npm install), but only commands you approved once with wt config approvals add.
  • /wt-switch-create creates the worktree first on every call, even for a read-only task, with no extra question.
  • Activity marks are stored in the project's git config, not in a separate file.

Before you start

Works in

  • Claude Code: plugin
  • Codex: plugin
  • Gemini CLI: extension
  • OpenCode: plugin file written by wt (activity marks, worktree isolation; no skills)

You will need

  • wt CLI v0.81.0 or later: The hooks and both skills drive wt
  • bash (Git for Windows on Windows): The hooks run through hooks/wt.sh
  • jq: Only for the Codex commit-message command

Steps only you can do

  1. Install the wt program and its shell integration (https://worktrunk.dev (README.md install section))
    Then: The agent can install the plugin with wt config plugins claude install (or codex)
  2. Approve the project's wt hook commands once with wt config approvals add, after reading them (skills/worktrunk/SKILL.md (Hook approvals in non-interactive sessions))
    Then: The agent can create and merge worktrees without hitting the approval error
  3. If /wt-switch-create reports the worktree is unreachable, add the parent folder to permissions.additionalDirectories or run /add-dir (skills/wt-switch-create/SKILL.md)
    Then: The agent continues the task inside the new worktree
  4. Approve each proposed change to ~/.config/worktrunk/config.toml (skills/worktrunk/SKILL.md (Two types of configuration))
    Then: The agent applies the change and tests it, e.g. wt step commit --dry-run

Mistakes to avoid

  • Install the plugin and expect it to work on its own
    Install the wt program (v0.81.0 or later) first, then the plugin
    Every hook only calls wt, and fails with a message when wt is not on PATH
  • Let the agent add --yes when wt stops with "needs approval to execute"
    The person runs wt config approvals add and reviews each project hook command
    Approving a project's hooks decides whether the repository may run arbitrary commands on the machine
  • Start parallel Claude Code sub-agents with isolation set to worktree
    Pre-create each worktree with wt switch --create <branch> --no-cd and name its path in the sub-agent prompt
    The hook then creates the worktree on a throwaway agent-<id> branch, leaving odd paths and orphan branches
  • Expect /wt-switch-create and worktree isolation in Codex or Gemini CLI
    In those agents, run wt switch --create and wt remove directly
    Only Claude Code and OpenCode 2 expose the worktree-lifecycle hooks
  • Expect worktrees made with a repo argument to clean themselves up
    Merge or remove them yourself with wt merge or wt remove
    Worktrees the command creates through wt are kept after the session

Which one to pick

If you needPick
You want each parallel agent session in its own git worktree, with activity marks in wt list and worktree setup hooksThis pack
You want project management on GitHub Issues with parallel agents in git worktreesautomazeio/ccpm
You want a whole AGENTS.md workflow template that isolates work in worktrees and proves changes with evidencemichaelshimeles/rstack

Works well with

  • claude-code: Full support: skills, activity marks, worktree isolation hooks and /wt-switch-create
  • openai-codex: Codex plugin with the configuration skill and activity marks
  • gemini-cli: Gemini CLI extension with the configuration skill and activity marks
  • opencode: OpenCode plugin with activity marks and worktree isolation under OpenCode 2

May I use it like this?

UseAnswerCondition
In a commercial app YesMIT or Apache-2.0 at your choice: keep the license notice
Passing the files on YesUnder MIT keep the copyright and permission notice in copies
Work for clients YesMIT allows use in work for others
Shipped inside your app YesDual MIT / Apache-2.0; the skill files repeat it in their frontmatter

What leaves your machine

  • The diff being committed, inside a commit-message prompt → The LLM command you set in [commit.generation] (for example claude, codex, opencode, llm or aichat) and that tool's model provider, On wt merge, wt step commit and wt step squash, and on wt list --full with summaries on, only if [commit.generation] is set. Opt out: Leave [commit.generation] unset (the plugin does not set it without your approval)
  • Branch and pull request lookups for CI status → Your code forge (GitHub, GitLab, Gitea or Azure DevOps), Only with wt list --full. Opt out: Use wt list without --full

Install Worktrunk plugin

Official commands from the repository

brew install worktrunk && wt config shell install

Also cargo install worktrunk, winget install max-sixty.worktrunk (as git-wt), pacman or conda; see the README.

Or with the open-source skills CLI: npx skills add max-sixty/worktrunk. Skills are instructions your agent follows: read them before installing.

What it installs and runs on your machine

Read in the code at commit 057037a, Nov 7, 2026

WhenWhat happens
Every prompt, notification, question, permission dialog and stop; session endbash hooks/wt.sh runs wt to set or clear the 🤖/💬 mark on the current branch (stored in the repo's git config). Failures are ignored.
Claude Code PermissionRequestIf the request is EnterWorktree into a wt worktree of the same repository at its expected path, the hook answers allow; otherwise it sets the 💬 mark and the normal dialog shows.
Claude Code WorktreeCreate / WorktreeRemoveRuns wt switch --create (or wt switch) / wt remove instead of git worktree. This creates or removes a worktree folder, by default beside the project, and runs the project's approved wt hooks.
Windows (Codex)hooks/wt.cmd finds Git for Windows' bash and runs wt.sh.
NetworkThe hook scripts make no network calls. wt itself reaches the network only for things you ask for, such as CI status in wt list --full or LLM commit messages, and runs whatever your approved project hooks do.

Settings

  • WORKTRUNK_BIN: Path to the wt binary the hooks use instead of wt on PATH
  • [commit.generation] command: In ~/.config/worktrunk/config.toml: the LLM command that writes commit messages
  • worktree-path: Template for where new worktrees go (default: beside the repo)

Quick answers

Is it free?
Yes. Dual-licensed MIT or Apache-2.0.
Does it work without the wt program?
No. The hooks and both skills require wt; the plugin README asks for v0.81.0 or later.
Does it send my code or usage anywhere?
The hook scripts make no network calls, and the author says Worktrunk collects no telemetry. wt reaches the network only for features you turn on, such as CI status.
Which features work in Codex and Gemini CLI?
The setup skill and activity marks. Worktree isolation and /wt-switch-create are Claude Code features (isolation also in OpenCode 2).
Will the agent approve my project's hook commands by itself?
The worktrunk skill tells it not to: it should ask you to run wt config approvals add and review the commands.
How do I remove it?
wt config plugins claude uninstall (or codex), or gemini extensions uninstall worktrunk. Worktrees it made stay until you run wt remove.

Checked by AgentGid on Nov 7, 2026 against commit 057037a of the pack's own files. agent.md for AI agents · Report a mistake

More software engineering skill packs

All software engineering skills

# Install
1
mattpocock/skills CheckedRuns scripts

Gets a set of working habits for building software. It interviews you about a plan before it builds, turns the talk into a spec and small tickets, builds them test-first and reviews the result.

330K +32.5K 39
2
obra/superpowers CheckedRuns scripts

Follows one fixed way of working. Before it builds anything, it asks what you really want and writes a short design for you to approve. Then it writes a step-by-step plan, builds it with tests first, has the work checked and asks how you want to finish.

324K +18.8K 15
3

Gets four rules: think before coding, keep it simple, change only what you asked for, and set a clear goal it can check. It asks before guessing and writes less extra code. The rules come from the README's reading of a public post by Andrej Karpathy; the files do not say he made or reviewed them.

235K +14K 1
4

Stops overbuilding. It does what you asked in the simplest way that works, reuses what your project already has, and ends every answer by telling you what it left out.

197K +27.3K 6
5
Shubhamsaboo/awesome-llm-apps CheckedRuns scripts

This repo is mostly a big collection of AI apps and tutorials. Its agent_skills folder holds seven separate skills you install one at a time. They help your assistant explain why old code exists, check a change or a package list, or find your abandoned side projects. Others test a draft on simulated readers, untangle a voice ramble, or split a big job across several AI models.

145K +3,089 10
6
addyosmani/agent-skills CheckedRuns scripts

Works like a careful senior engineer. It writes down what to build before coding, splits the work into small steps, proves each step with a test and reviews the result before launch. Nine slash commands cover the stages, and 25 skills switch on when a task matches.

120K +11K 26