Skip to content

Latest commit

Β 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Code Splitter

One command to launch parallel AI coding agents in a tiled terminal.

curl -sSL https://raw.githubusercontent.com/theaustinhatfield/claude-code-splitter/main/install.sh | bash

Then type claude4, opencode4, aider2 gh2, or any combo to start.


  ╦ β•”β•—β•” ╔═╗ ╔╦╗ ╔═╗ ╦  ╦    ╦ ╦ ╔═╗ ╦ ╦ ╦═╗    ╔═╗ ╔═╗ ╔═╗ β•”β•—β•” ╔╦╗ ╔═╗
  β•‘ β•‘β•‘β•‘ β•šβ•β•—  β•‘  ╠═╣ β•‘  β•‘    β•šβ•¦β• β•‘ β•‘ β•‘ β•‘ ╠╦╝    ╠═╣ β•‘ ╦ β•‘β•£  β•‘β•‘β•‘  β•‘  β•šβ•β•—
  β•© β•β•šβ• β•šβ•β•  β•©  β•© β•© ╩═╝╩═╝   β•©  β•šβ•β• β•šβ•β• β•©β•šβ•    β•© β•© β•šβ•β• β•šβ•β• β•β•šβ•  β•©  β•šβ•β•
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚                                                                 β”‚
  β”‚  CLAUDE CODE                                                    β”‚
  β”‚  curl -fsSL https://claude.ai/install.sh | bash                β”‚
  β”‚  Alt: brew install --cask claude-code                           β”‚
  β”‚                                                                 β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  β”‚                                                                 β”‚
  β”‚  OPENCODE                                                       β”‚
  β”‚  curl -fsSL https://opencode.ai/install | bash                 β”‚
  β”‚  Alt: npm install -g opencode-ai                                β”‚
  β”‚                                                                 β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  β”‚                                                                 β”‚
  β”‚  AIDER                                                          β”‚
  β”‚  pip install aider-chat                                         β”‚
  β”‚                                                                 β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  β”‚                                                                 β”‚
  β”‚  GEMINI CLI                                                     β”‚
  β”‚  npm install -g @google/gemini-cli                              β”‚
  β”‚                                                                 β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  β”‚                                                                 β”‚
  β”‚  QWEN CODE                                                      β”‚
  β”‚  npm install -g @qwen-code/qwen-code@latest                    β”‚
  β”‚  Alt: brew install qwen-code                                    β”‚
  β”‚                                                                 β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  β”‚                                                                 β”‚
  β”‚  OPENAI CODEX                                                   β”‚
  β”‚  npm install -g @openai/codex                                   β”‚
  β”‚  Alt: brew install codex                                        β”‚
  β”‚                                                                 β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  β”‚                                                                 β”‚
  β”‚  GITHUB CLI                                                     β”‚
  β”‚  brew install gh                                                β”‚
  β”‚  Alt: sudo apt install gh                                       β”‚
  β”‚                                                                 β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

  ╦ ╦ ╔═╗ ╔═╗ ╔═╗ ╔═╗
  β•‘ β•‘ β•šβ•β•— ╠═╣ β•‘ ╦ β•‘β•£
  β•šβ•β• β•šβ•β• β•© β•© β•šβ•β• β•šβ•β•
claude4              # 4 Claude agents
claude2 aider2       # 2 Claude + 2 Aider
opencode8            # 8 OpenCode agents
gemini2 qwen2 gh2   # mixed swarm
claude100            # infinity mode
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ claude ────────────┬──────────── aider ─────────────┐
  β”‚                                β”‚                                β”‚
  β”‚  > Building the auth module    β”‚  > Fixing the login bug        β”‚
  β”‚                                β”‚                                β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ opencode ────────────┼──────────── qwen ───────────────
  β”‚                                β”‚                                β”‚
  β”‚  > Writing unit tests          β”‚  > Updating the docs           β”‚
  β”‚                                β”‚                                β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

  β•”β•—β•” ╔═╗ ╦  ╦ ╦ ╔═╗ ╔═╗ ╔╦╗ ╦ ╔═╗ β•”β•—β•”
  β•‘β•‘β•‘ ╠═╣ β•šβ•—β•”β• β•‘ β•‘ ╦ ╠═╣  β•‘  β•‘ β•‘ β•‘ β•‘β•‘β•‘
  β•β•šβ• β•© β•©  β•šβ•  β•© β•šβ•β• β•© β•©  β•©  β•© β•šβ•β• β•β•šβ•
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚  Select pane      β”‚  Click with mouse                      β”‚
  β”‚  Navigate         β”‚  Ctrl+B then arrow keys                β”‚
  β”‚  Fullscreen       β”‚  Ctrl+B then Z                         β”‚
  β”‚  Resize           β”‚  Drag pane borders                     β”‚
  β”‚  Detach           β”‚  Ctrl+B then D                         β”‚
  β”‚  Close pane       β”‚  exit or Ctrl+D                        β”‚
  β”‚  Reattach         β”‚  tmux attach -t claude-swarm           β”‚
  β”‚  Kill all         β”‚  tmux kill-session -t claude-swarm     β”‚
  β”‚  Set todo         β”‚  todo "fix tests"                      β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

  β•”β•—  ╔═╗ ╔═╗ ╔╦╗    ╔═╗ ╦═╗ ╔═╗ ╔═╗ ╔╦╗ ╦ ╔═╗ ╔═╗ ╔═╗
  β• β•©β•— β•‘β•£  β•šβ•β•—  β•‘     ╠═╝ ╠╦╝ ╠═╣ β•‘    β•‘  β•‘ β•‘   β•‘β•£  β•šβ•β•—
  β•šβ•β• β•šβ•β• β•šβ•β•  β•©     β•©   β•©β•šβ• β•© β•© β•šβ•β•  β•©  β•© β•šβ•β• β•šβ•β• β•šβ•β•
  β”Œβ”€ Be specific ────────── "fix the login bug" > "fix the bug"
  β”‚
  β”œβ”€ One task per agent ─── Each pane = one focused job
  β”‚
  β”œβ”€ Use todo titles ────── todo "auth module" to label panes
  β”‚
  β”œβ”€ Mix models ─────────── claude2 aider2 for different strengths
  β”‚
  β”œβ”€ Start small ────────── 4 agents first, scale up as needed
  β”‚
  └─ Detach & reattach ─── Ctrl+B D to background, come back later

  ╔╦╗ ╦═╗ ╔═╗ ╦ ╦ β•”β•—  ╦  ╔═╗ ╔═╗ ╦ ╦ ╔═╗ ╔═╗ ╔╦╗
   β•‘  ╠╦╝ β•‘ β•‘ β•‘ β•‘ β• β•©β•— β•‘  β•‘β•£  β•šβ•β•— ╠═╣ β•‘ β•‘ β•‘ β•‘  β•‘
   β•©  β•©β•šβ• β•šβ•β• β•šβ•β• β•šβ•β• β•©β•β•β•šβ•β• β•šβ•β• β•© β•© β•šβ•β• β•šβ•β•  β•©

tmux: command not found

brew install tmux          # Mac
sudo apt-get install tmux  # Ubuntu/Debian

duplicate session: claude-swarm

tmux kill-session -t claude-swarm

agent: command not found

  1. Install the agent from the table above.
  2. Run source ~/.bashrc (or source ~/.zshrc).
  3. Still missing? export PATH="$PATH:$HOME/.local/bin" or restart terminal.

Security β€” Only whitelisted CLIs can run. Recursion guard prevents nested swarms.

Platform β€” Mac, Linux, Windows (WSL). Requires tmux.


  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚                                                             β”‚
  β”‚   MIT License                                               β”‚
  β”‚                                                             β”‚
  β”‚   Created by @theaustinhatfield                             β”‚
  β”‚   github.com/theaustinhatfield/claude-code-splitter         β”‚
  β”‚                                                             β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

About

πŸ”€ Run 4 Claude Code AI agents in parallel. Multiply your productivity.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages