Cmux — Development skill for Claude Code
cmux: tmux for Claude Code.
How to install Cmux
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open craigsc/cmux and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cmux does
cmux: tmux for Claude Code.
Alternatives in Development
- Tmux Claude Hatch — tmux plugin that runs Claude Code sessions in popups per project directory, with an fzf picker showing each se 381 ★
- Tmux Claude Session Manager — Run many Claude Code sessions across your projects, each in its own tmux session — then list them, see which a 380 ★
- Codeman — Manage Claude Code & Opencode in Tmux Sessions in a modern WebUI 329 ★
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
Cmux Did Spawn
Orient yourself as orchestrator over a full-stack team that was just scripted into its own cmux window. Reads
Cmux Fresh
Clear cmux's persisted session so the next launch opens with fresh/blank windows. Quits cmux first (so the cle
Upstream Triage
Import upstream cmux PRs into c11 — agent evaluates desirability, judges difficulty, and writes the c11 versio
Cmuxlayer
10 public MCP tools for controlling cmux workspaces and managing Claude, Codex, Gemini, Kiro, and Cursor agent
Claude Cmux Skill
Moved to ph3on1x/agent-plugins-skills (skills/cmux)
Muxboard
Stream Deck+ dashboard for cmux, Orca, and Herdr coding agents, with live attention keys and CodexBar quotas,
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Codex Orchestrator
CLI tool for delegating tasks to GPT Codex agents via tmux sessions. Designed for Claude Code orchestration wi
Turbo Flow Quick Setup
This guide explains how to run the installer scripts for the turbo-flow-claude environment. These scripts will