# Dmux workflows

> Dmux workflows is an open-source agent skill for developer tools. Run and coordinate several AI agent sessions in parallel tmux panes. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Fmarzochi/EGC/tree/main/.agents/skills/dmux-workflows
- **Repository:** https://github.com/fmarzochi/egc
- **GitHub stars:** 71
- **License:** Apache-2.0
- **Skill name:** dmux-workflows
- **Collection:** https://github.com/Fmarzochi/EGC
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through orchestrating parallel agent sessions with dmux, a tmux-based pane manager for agent harnesses. It lays out common splits of work, such as pairing a research track with an implementation track, dividing a feature across independent files, running a watcher pane alongside a fixer pane, or sending parallel review passes over the same code and merging the results.

The skill also sets operating rules for these runs: only parallelize independent tasks, keep each pane on distinct files, use separate git worktrees when files overlap, and cap the number of panes because each one consumes its own API tokens. It includes git worktree commands and troubleshooting notes for unresponsive panes, merge conflicts and tmux installation.

It also documents an EGC helper script, scripts/orchestrate-worktrees.js, which takes a JSON plan, creates a worktree and task files per worker, and launches each worker in its own tmux pane. Using dmux requires tmux and a separate install from its own repository, and the helper expects a plan file and a launcher command.

## When your agent uses it

> Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Fmarzochi/EGC/tree/HEAD/.agents/skills/dmux-workflows)
- [License: Apache-2.0](https://github.com/Fmarzochi/EGC/tree/HEAD/.agents/skills/dmux-workflows)

## Features

- **Parallel pane orchestration:** Explains how to start dmux sessions and create agent panes from prompts, then merge their output back.
- **Work splitting patterns:** Covers research with implementation, multi-file features, test and fix loops, and parallel code review.
- **Cross-harness workflows:** Shows how to assign different tasks to Claude Code, Codex and other agent harnesses in separate panes.
- **Git worktree isolation:** Provides commands for giving each parallel agent its own branch and worktree to avoid file conflicts.
- **Worktree orchestration helper:** Documents a Node script that generates per-worker task, handoff and status files and launches tmux panes from a JSON plan.
- **Operating guidelines and troubleshooting:** Lists rules for limiting pane count and token use, plus fixes for unresponsive panes and tmux setup.

## Good for

- Split a feature into parallel tasks for database, API and UI work
- Run a security review and a performance review of the same module at once
- Have one agent run tests in watch mode while another fixes failures
- Set up separate git worktrees so several agents can edit overlapping code
- Coordinate Claude Code and Codex agents on different parts of a codebase

## Install

### Claude Code

This skill ships in the `egc` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Fmarzochi/EGC
/plugin install egc@egc
```

Or copy only this skill to `~/.claude/skills/dmux-workflows`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dmux-workflows &&
cp -R "$tmp/.agents/skills/dmux-workflows" ~/.claude/skills/dmux-workflows &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/dmux-workflows` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/dmux-workflows` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dmux-workflows &&
cp -R "$tmp/.agents/skills/dmux-workflows" ~/.agents/skills/dmux-workflows &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/dmux-workflows` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/dmux-workflows` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dmux-workflows &&
cp -R "$tmp/.agents/skills/dmux-workflows" ~/.cursor/skills/dmux-workflows &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/dmux-workflows` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Fmarzochi/EGC.git --path .agents/skills/dmux-workflows
```

Or copy the folder to `~/.gemini/skills/dmux-workflows` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/dmux-workflows`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dmux-workflows &&
cp -R "$tmp/.agents/skills/dmux-workflows" ~/.copilot/skills/dmux-workflows &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/dmux-workflows` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Fmarzochi/EGC.git
```

Then copy `EGC/.agents/skills/dmux-workflows` into your agent's skills folder as `dmux-workflows`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Dmux workflows need installed?

It needs tmux, and dmux must be installed separately from its own repository. The skill covers installing tmux with brew or apt.

### When does the skill trigger?

It is meant for running multiple agent sessions in parallel or coordinating multi-agent workflows, and for requests such as run in parallel, split this work, use dmux or multi-agent.

### Does Dmux workflows change my code or files on its own?

The skill itself describes patterns and commands. The EGC helper, when run with --execute, creates git worktrees, branches and task files under .orchestration and starts tmux panes.

### Which agent clients does Dmux workflows support?

It references Claude Code, Codex, OpenCode, Cline, Gemini and Qwen through dmux, and it describes cross-harness use of Claude Code and Codex.

### How do I install Dmux workflows in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dmux-workflows to use it in all your projects, or to .claude/skills/dmux-workflows in one project. Or install the egc plugin, which includes it: /plugin marketplace add Fmarzochi/EGC, then /plugin install egc@egc.

### Does Dmux workflows run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Dmux workflows?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Dmux workflows?

The closest alternatives to Dmux workflows are Dmux workflows, Mux dispatch, Cmux dispatch, Team execution and Orchestration.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Dmux workflows](https://ai-powered.com/skills/dmux-workflows): Dmux workflows is an open-source agent skill for developer tools.
- [Mux dispatch](https://ai-powered.com/skills/mux-dispatch): Mux dispatch is an open-source agent skill for developer tools.
- [Cmux dispatch](https://ai-powered.com/skills/cmux-dispatch): Cmux dispatch is an open-source agent skill for developer tools.
- [Team execution](https://ai-powered.com/skills/team-execution): Team execution is an open-source agent skill for developer tools.
- [Orchestration](https://ai-powered.com/skills/orchestration-xiaolai): Orchestration is an open-source agent skill for developer tools.
- [Vibe workstream orchestration](https://ai-powered.com/skills/vibe-workstream-orchestration): Vibe workstream orchestration is an open-source agent skill for developer tools.
- [Tmux pi](https://ai-powered.com/skills/tmux-pi): Tmux pi is an open-source agent skill for developer tools.
- [Claude teams behavior](https://ai-powered.com/skills/claude-teams-behavior): Claude teams behavior is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/dmux-workflows-fmarzochi
