Claude Code multi-agent

Worktree Sh

Provide an out-of-the-box isolated environment for your codex/claude code.

Install

From source
git clone https://github.com/notdp/worktree.sh.git

From the README

worktree.sh

Zero-friction git worktree manager for parallel feature development.

中文 • 日本語

What is worktree.sh?

worktree.sh automates the tedious setup of git worktrees. With a single command, it creates isolated development sandboxes for coding agents like Codex and Claude Code—complete with branches, environment files, dependencies, and running dev servers. No context pollution.

Perfect For

- AI-Powered Development — Isolated sandboxes for Codex and Claude Code
- Parallel Development — Multiple features without branch switching
- Quick Experiments — Safe disposable environments
- Code Reviews — Review PRs without interrupting main work

Quick Look

Quick Start

Install

Basic Workflow

Core Features

- One-Command Setup — wt add 3000 creates worktree, branch, copies env files, installs deps, and starts dev server on port 3000
- Instant Navigation — Jump between worktrees with wt 3000 or wt main, no path memorization needed
- Smart Syncing — Propagate staged changes from main to multiple worktrees with wt sync all
- Safe Cleanup — Remove worktrees and branches together with wt rm, batch-clean with wt clean
- Fully Configurable — Control branch prefixes, auto-install, dev server behavior per project

Commands

Core Commands

Synchronization

Cleanup

Configuration

Advanced Features

Broadcasting Changes Across Worktrees

Propagate uncommitted changes from main to multiple feature branches simultaneously:
Note: Target worktrees must have clean status

Custom Configuration

Configuration is stored per-project in ~/.worktree.sh/projects//config.kv.

Use Cases

Multiple UI Iterations

Parallel Code Reviews

Concurrent Feature Development

Installation Details

What Gets Installed

- Binary: ~/.local/bin/wt
- Config: ~/.worktree.sh/
- Shell hooks: Added to ~/.bashrc…
Read the full README on GitHub

Details

Language
Shell
License
AGPL-3.0
Last updated
2 December 2025

FAQ

What is Worktree Sh?

Provide an out-of-the-box isolated environment for your codex/claude code. It is a multi-agent for Claude Code, from notdp/worktree.sh on GitHub.

How do I install Worktree Sh?

Clone notdp/worktree.sh from GitHub and follow the setup steps in its README.

Is Worktree Sh popular?

notdp/worktree.sh has 55 GitHub stars and 7 forks. It was last updated on 2 December 2025.

More multi-agent & worktrees

Prometeu

64

prometeucorp/prometeu

Free, open-source desktop app to run Claude Code, Codex, Cursor CLI and Antigravity agents in parallel with git worktrees and diff review.

Multi-agent & worktrees

Factory Factory

53

purplefish-ai/factory-factory

Workspace-based coding environment for running multiple Claude Code and Codex sessions in parallel.

Multi-agent & worktrees

AI Agents

49

rjmurillo/ai-agents

Open source multi agent toolkit for Claude Code and GitHub Copilot CLI: 30 agents, plan to ship workflows, review and security gates, plugin marketplace.

Multi-agent & worktrees/plugin install17

Cre Skills Plugin

51

mariourquia/cre-skills-plugin

100+ institutional-grade CRE skills for Claude Code, Desktop, and Cowork. Deal screening, underwriting, structuring, capital markets, asset management, leasing, investor relations, development, disposition, and daily ops. 50+ expert agents, 12+ Python calculators, 10+ orchestrator pipelines, catalog-driven routing.

Multi-agent & worktrees/plugin install12

Rag CLI

53

ItMeDiaTech/rag-cli

Local Retrieval-Augmented Generation (RAG) plugin for Claude Code that combines Chroma db vector embeddings with intelligent info retrieval with Multi-Agent Framework (MAF) orchestration for context-aware development assistance. Uses Open Source / Free frameworks. Implements bridge to Claude Code CLI so no token use. And it's easy to setup.

Multi-agent & worktrees/plugin install10

Project Flow Cy

49

CY-CHENYUE/project-flow-cy

File-based multi-agent project workflow for Claude Code and Codex

Multi-agent & worktrees15

Browse the most popular Claude Code mods, all multi-agent & worktrees, or the skills and MCP server directories.