worktrunklisted
Install: claude install-skill jjmartres/ai-coding-agents
# Worktrunk Skill
Worktrunk (`wt`) is a CLI for git worktree management designed to run AI agents
(like Claude Code) in parallel across isolated branches. Think of it as making
`git worktree` as easy as `git branch`.
## Quick Reference
| Task | Command |
| ------------------------------- | ----------------------------------- |
| Create worktree + switch | `wt switch --create feat` |
| Create worktree + launch Claude | `wt switch --create feat -x claude` |
| List all worktrees | `wt list` |
| Merge & clean up | `wt merge main` |
| Remove current worktree | `wt remove` |
| Commit staged changes | `wt step commit` |
## Installation
```bash
# macOS/Linux (recommended)
brew install worktrunk && wt config shell install
# Cargo
cargo install worktrunk && wt config shell install
# Windows
winget install max-sixty.worktrunk
git-wt config shell install
```
Shell integration (`wt config shell install`) is required so that `wt switch`
can actually change the shell's directory.
## Core Workflow
### 1. Create and Switch
```bash
wt switch --create feature-auth # New branch + worktree
wt switch --create feature-auth -x claude # + launch Claude in it
wt switch existing-branch # Switch to existing worktree
wt switch - # Previous