dmux-workflows — ai agent orchestration dmux-workflows, everything-claude-code, affaan-m, official, ai agent orchestration, ai agent skill, ide skills, agent automation, tmux pane management, parallel agent sessions, claude code integration, codex workflow automation

Verified
v1.0.0
GitHub

About this Skill

Perfect for Multi-Agent Systems needing advanced parallel workflow orchestration capabilities. dmux-workflows is a multi-agent orchestration skill using dmux, a tmux pane manager for AI agents, to manage parallel agent workflows.

Features

Manages AI agent panes using tmux
Supports parallel agent sessions with dmux
Enables coordination across Claude Code, Codex, and other harnesses
Utilizes `n` command to create new panes
Facilitates complex tasks with divide-and-conquer parallelism
Integrates with multiple AI agent harnesses

# Core Topics

affaan-m affaan-m
[91.3k]
[11990]
Updated: 3/21/2026

Quality Score

Top 5%
80
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add affaan-m/everything-claude-code/dmux-workflows
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The dmux-workflows skill by affaan-m is an open-source official AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for ai agent orchestration, tmux pane management, parallel agent sessions.

Ideal Agent Persona

Perfect for Multi-Agent Systems needing advanced parallel workflow orchestration capabilities.

Core Value

Empowers agents to manage multiple parallel sessions using dmux, a tmux pane manager, enabling efficient coordination across Claude Code, Codex, and other harnesses through protocols like multi-agent workflows and libraries such as tmux.

Capabilities Granted for dmux-workflows

Orchestrating parallel AI agent sessions for complex tasks
Coordinating work across multiple agent harnesses like Claude Code and Codex
Automating divide-and-conquer parallelism for enhanced productivity

! Prerequisites & Limits

  • Requires tmux installation
  • Limited to agent harnesses compatible with dmux
  • Needs user input for workflow coordination
Project
SKILL.md
5.8 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8
SKILL.md
Readonly

dmux Workflows

Orchestrate parallel AI agent sessions using dmux, a tmux pane manager for agent harnesses.

When to Activate

  • Running multiple agent sessions in parallel
  • Coordinating work across Claude Code, Codex, and other harnesses
  • Complex tasks that benefit from divide-and-conquer parallelism
  • User says "run in parallel", "split this work", "use dmux", or "multi-agent"

What is dmux

dmux is a tmux-based orchestration tool that manages AI agent panes:

  • Press n to create a new pane with a prompt
  • Press m to merge pane output back to the main session
  • Supports: Claude Code, Codex, OpenCode, Cline, Gemini, Qwen

Install: npm install -g dmux or see github.com/standardagents/dmux

Quick Start

bash
1# Start dmux session 2dmux 3 4# Create agent panes (press 'n' in dmux, then type prompt) 5# Pane 1: "Implement the auth middleware in src/auth/" 6# Pane 2: "Write tests for the user service" 7# Pane 3: "Update API documentation" 8 9# Each pane runs its own agent session 10# Press 'm' to merge results back

Workflow Patterns

Pattern 1: Research + Implement

Split research and implementation into parallel tracks:

Pane 1 (Research): "Research best practices for rate limiting in Node.js.
  Check current libraries, compare approaches, and write findings to
  /tmp/rate-limit-research.md"

Pane 2 (Implement): "Implement rate limiting middleware for our Express API.
  Start with a basic token bucket, we'll refine after research completes."

# After Pane 1 completes, merge findings into Pane 2's context

Pattern 2: Multi-File Feature

Parallelize work across independent files:

Pane 1: "Create the database schema and migrations for the billing feature"
Pane 2: "Build the billing API endpoints in src/api/billing/"
Pane 3: "Create the billing dashboard UI components"

# Merge all, then do integration in main pane

Pattern 3: Test + Fix Loop

Run tests in one pane, fix in another:

Pane 1 (Watcher): "Run the test suite in watch mode. When tests fail,
  summarize the failures."

Pane 2 (Fixer): "Fix failing tests based on the error output from pane 1"

Pattern 4: Cross-Harness

Use different AI tools for different tasks:

Pane 1 (Claude Code): "Review the security of the auth module"
Pane 2 (Codex): "Refactor the utility functions for performance"
Pane 3 (Claude Code): "Write E2E tests for the checkout flow"

Pattern 5: Code Review Pipeline

Parallel review perspectives:

Pane 1: "Review src/api/ for security vulnerabilities"
Pane 2: "Review src/api/ for performance issues"
Pane 3: "Review src/api/ for test coverage gaps"

# Merge all reviews into a single report

Best Practices

  1. Independent tasks only. Don't parallelize tasks that depend on each other's output.
  2. Clear boundaries. Each pane should work on distinct files or concerns.
  3. Merge strategically. Review pane output before merging to avoid conflicts.
  4. Use git worktrees. For file-conflict-prone work, use separate worktrees per pane.
  5. Resource awareness. Each pane uses API tokens — keep total panes under 5-6.

Git Worktree Integration

For tasks that touch overlapping files:

bash
1# Create worktrees for isolation 2git worktree add -b feat/auth ../feature-auth HEAD 3git worktree add -b feat/billing ../feature-billing HEAD 4 5# Run agents in separate worktrees 6# Pane 1: cd ../feature-auth && claude 7# Pane 2: cd ../feature-billing && claude 8 9# Merge branches when done 10git merge feat/auth 11git merge feat/billing

Complementary Tools

ToolWhat It DoesWhen to Use
dmuxtmux pane management for agentsParallel agent sessions
SupersetTerminal IDE for 10+ parallel agentsLarge-scale orchestration
Claude Code Task toolIn-process subagent spawningProgrammatic parallelism within a session
Codex multi-agentBuilt-in agent rolesCodex-specific parallel work

ECC Helper

ECC now includes a helper for external tmux-pane orchestration with separate git worktrees:

bash
1node scripts/orchestrate-worktrees.js plan.json --execute

Example plan.json:

json
1{ 2 "sessionName": "skill-audit", 3 "baseRef": "HEAD", 4 "launcherCommand": "codex exec --cwd {worktree_path} --task-file {task_file}", 5 "workers": [ 6 { "name": "docs-a", "task": "Fix skills 1-4 and write handoff notes." }, 7 { "name": "docs-b", "task": "Fix skills 5-8 and write handoff notes." } 8 ] 9}

The helper:

  • Creates one branch-backed git worktree per worker
  • Optionally overlays selected seedPaths from the main checkout into each worker worktree
  • Writes per-worker task.md, handoff.md, and status.md files under .orchestration/<session>/
  • Starts a tmux session with one pane per worker
  • Launches each worker command in its own pane
  • Leaves the main pane free for the orchestrator

Use seedPaths when workers need access to dirty or untracked local files that are not yet part of HEAD, such as local orchestration scripts, draft plans, or docs:

json
1{ 2 "sessionName": "workflow-e2e", 3 "seedPaths": [ 4 "scripts/orchestrate-worktrees.js", 5 "scripts/lib/tmux-worktree-orchestrator.js", 6 ".claude/plan/workflow-e2e-test.json" 7 ], 8 "launcherCommand": "bash {repo_root}/scripts/orchestrate-codex-worker.sh {task_file} {handoff_file} {status_file}", 9 "workers": [ 10 { "name": "seed-check", "task": "Verify seeded files are present before starting work." } 11 ] 12}

Troubleshooting

  • Pane not responding: Switch to the pane directly or inspect it with tmux capture-pane -pt <session>:0.<pane-index>.
  • Merge conflicts: Use git worktrees to isolate file changes per pane.
  • High token usage: Reduce number of parallel panes. Each pane is a full agent session.
  • tmux not found: Install with brew install tmux (macOS) or apt install tmux (Linux).

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is dmux-workflows?

Perfect for Multi-Agent Systems needing advanced parallel workflow orchestration capabilities. dmux-workflows is a multi-agent orchestration skill using dmux, a tmux pane manager for AI agents, to manage parallel agent workflows.

How do I install dmux-workflows?

Run the command: npx killer-skills add affaan-m/everything-claude-code/dmux-workflows. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for dmux-workflows?

Key use cases include: Orchestrating parallel AI agent sessions for complex tasks, Coordinating work across multiple agent harnesses like Claude Code and Codex, Automating divide-and-conquer parallelism for enhanced productivity.

Which IDEs are compatible with dmux-workflows?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for dmux-workflows?

Requires tmux installation. Limited to agent harnesses compatible with dmux. Needs user input for workflow coordination.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add affaan-m/everything-claude-code/dmux-workflows. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use dmux-workflows immediately in the current project.

Related Skills

Looking for an alternative to dmux-workflows or another official skill for your workflow? Explore these related open-source skills.

View All

flags

Logo of facebook
facebook

flags is a feature flag management tool that enables developers to check flag states, compare channels, and debug issues across different release channels.

244.1k
0
Design

extract-errors

Logo of facebook
facebook

The extract-errors skill is a React tool that extracts error codes and updates them for frontend development.

244.1k
0
Design

fix

Logo of facebook
facebook

fix is a skill that resolves lint errors and formatting issues in JavaScript code using yarn prettier and yarn linc.

244.1k
0
Design

flow

Logo of facebook
facebook

Flow is a type checking system for JavaScript, enabling developers to catch type errors in their React code.

244.1k
0
Design