Cmux
Description
cmux: tmux for Claude Code
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
cmux — tmux for Claude Code
Run a fleet of Claude agents on the same repo — each in its own worktree, zero conflicts, one command each.
Claude Code works best when it has full ownership of the working directory. Want two agents working in parallel? They'll stomp on each other — conflicting edits, dirty state, broken builds. You need separate checkouts.
[Git worktrees](https://git-scm.com/docs/git-worktree) are the perfect primitive for this. They share the same `.git` database but give each agent its own directory tree — no cloning, no syncing, branches stay in lockstep. cmux wraps the entire worktree lifecycle into single commands so you can spin agents up, jump between them, and tear them down without thinking about it.
You wanna go fast without losing your goddamn mind. This is how.
Install
curl -fsSL https://github.com/craigsc/cmux/releases/latest/download/install.sh | sh
Then add `.worktrees/` to your `.gitignore`:
echo '.worktrees/' >> .gitignore
Quick start
cmux new # creates worktree + branch, runs setup hook, opens Claude
That's it. One command, one agent, fully isolated. See [Workflow](#workflow) for the full loop.
Commands
| Command | What it does |
|---|---|
cmux new [--from ] |
Create new worktree + branch, run setup hook, launch Claude |
cmux start |
Continue where you left off in an existing worktree |
cmux cd [branch] |
cd into a worktree (no args = repo root) |
cmux ls |
List active worktrees |
cmux merge [branch] [--squash] |
Merge worktree branch into your primary checkout (no args = current worktree) |
cmux rm [branch | --all] |
Remove a worktree and its branch (no args = current, --all = every worktree with confirmation) |
cmux init [--replace] |
Generate .cmux/setup hook using Claude (--replace to regenerate) |
cmux update |
Update cmux to the latest version |
cmux version |
S |
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development