craigsc

craigsc / cmux

Public

cmux: tmux for Claude Code

324
17
100% credibility
Found Feb 18, 2026 at 279 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Shell
AI Summary

cmux is a bash tool that simplifies creating, switching, and managing isolated workspaces in a Git repository for running parallel AI coding sessions like Claude Code without conflicts.

How It Works

1
📖 Discover cmux

You hear about cmux, a simple way to run multiple AI coding helpers on your project at the same time without them interfering with each other.

2
🛠️ Install easily

You grab it with one quick download and add it to your computer's setup so it's always ready.

3
🏗️ Prep your project

In your code project folder, you make a small note to keep the helper folders out of your main files.

4
🚀 Launch first helper

You create a fresh, private workspace for a new task and start your AI coding assistant right inside it, feeling the productivity boost.

5
🔄 Add more helpers

When another task pops up, you spin up another isolated workspace and jump between them seamlessly.

6
Finish and combine
Merge success

Blend the changes smoothly into your main work and keep going.

🗑️
Clean up

Remove the extra workspace safely to stay organized.

🎉 Code faster together

Your project hums along with multiple AI helpers collaborating without chaos, making development quicker and saner.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 279 to 324 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is cmux?

cmux is a shell script billed as tmux for Claude Code, letting you spin up multiple cmux agents on the same repo via git worktrees. Each agent gets a fully isolated directory for parallel coding sessions—no stomping on files, dirty states, or build breaks when juggling features and bugs. One command like `cmux new feature-x` creates a branch, runs project setup, and launches Claude; `start`, `merge`, `rm`, and others handle the full lifecycle.

Why is it gaining traction?

It nails the pain of multi-agent Claude workflows with dead-simple CLI commands, tab completion for branches, and auto-generated setup hooks via Claude itself—zero manual git worktree fiddling. Unlike raw git or tmux multiplexing, cmux enforces isolation while keeping branches in sync, plus self-updates and idempotent ops. Devs hooked on Claude Code grab it for the "one command, one agent" speed without repo chaos.

Who should use this?

Fullstack or backend devs leaning on Claude for code generation, especially when switching between features, bugfixes, or refactors mid-session. Solo coders prototyping multiple ideas in parallel, or teams experimenting with cmux ai agents before scaling to full CI. Skip if you're not using the Claude CLI or prefer heavy IDEs over terminal flows.

Verdict

Grab cmux if Claude Code is your daily driver—its workflow shines for parallel dev, with solid docs and bash polish despite 276 stars and a 1.0% credibility score signaling early maturity. Test on a side repo first; low adoption means watch for edge cases in complex monorepos.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.