Work3 CLI
A CLI that creates a fully set up git worktree for a branch and launches Claude Code inside it with one command.
At a Glance
Work3 CLI is released under the MIT License, which permits use, copying, modification and distribution free of charge.
Engagement
Available On
Listed Nov 2026
About Work3 CLI
Work3 is an open-source command-line tool by Borut Svara (svaraborut) for running multiple Claude Code agents in parallel, each on its own branch in its own git worktree. A single command creates the worktree, runs shared setup tasks and starts a Claude Code session. The latest release listed is v0.5.0.
What It Is
Work3 wraps git worktree for parallel AI-agent workflows. Plain worktrees still need dependencies installed, .env files copied, folders named and later cleaned up. Work3 handles these steps from a worktree.json or worktree.yaml config that is committed to the repository and shared with the team.
How the Workflow Runs
work3 init writes a default config and ignores the worktrees folder. work3 open <branch> creates the worktree, runs the configured initialize tasks and starts Claude Code with remote control, so agents can be steered from a phone. A previously used branch reopens without repeating setup. work3 list shows each workspace as clean, dirty or missing.
Landing and Cleanup
work3 fold lands a finished branch on the base branch fast-forward only, with no merge commit, rebase or push. It refuses branches that have uncommitted work or have fallen behind. work3 remove runs destroy tasks and removes the worktree, optionally deleting the branch. It refuses worktrees with uncommitted changes unless forced.
Configuration and Setup
Config keys are location, base, initialize and destroy. Tasks run in order inside the worktree through Bun Shell, so built-ins such as cp, rm, mkdir and echo behave the same on Windows, macOS and Linux. Tasks receive WORK3_ROOT, WORK3_PATH and WORK3_BRANCH environment variables. It requires Bun 1.2.21 or newer, git and Claude Code on the PATH, and installs with bun add -g @svara/work3.
Community Discussions
Be the first to start a conversation about Work3 CLI
Share your experience with Work3 CLI, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
Work3 CLI is released under the MIT License, which permits use, copying, modification and distribution free of charge.
- One command per branch: worktree, setup and Claude Code
- Shared setup tasks committed with the repo
- Remote Control support
- Fast-forward-only linear history
- Safe teardown of worktrees
Capabilities
Key Features
- One command creates a worktree, runs setup and starts Claude Code
- Shared setup and cleanup tasks committed in worktree.json or worktree.yaml
- Claude Code Remote Control for steering agents from a phone
- Fast-forward-only landing of finished branches
- Safe teardown that refuses to delete uncommitted work
- Cross-platform tasks via Bun Shell
- Worktree status listing (clean, dirty, missing)
- No hidden state; git is the source of truth
