dmux-workflows
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.
About this skill
The `dmux-workflows` skill leverages `dmux`, a specialized `tmux` pane manager, to orchestrate and manage parallel sessions for AI agents. It provides patterns for executing agent workflows concurrently across different AI agent harnesses such as Claude Code, Codex, and OpenCode. This skill is designed to streamline complex development tasks that benefit from a divide-and-conquer approach, allowing agents to work on independent sub-tasks simultaneously while providing a unified management interface for coordination and oversight.
Best use case
Executing independent or interdependent AI agent tasks concurrently; coordinating development or problem-solving efforts across different agent platforms; breaking down complex problems into smaller, parallelizable sub-problems for agents; streamlining the development and testing of AI agent systems.
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.
An organized `tmux` session displaying multiple AI agent panes, each working on its assigned sub-task; faster completion of complex tasks through parallel processing; improved oversight and management of diverse agent activities; consolidated results or progress updates from all parallel agent sessions.
Practical example
Example input
Use dmux-workflows to parallelize the code review process. Have Claude Code review the backend API, and Codex review the frontend component.
Example output
Initiating dmux session for parallel code review. Claude Code is now reviewing backend API in pane 1, and Codex is reviewing the frontend component in pane 2. I will notify you when both reviews are complete, or if any issues arise.
When to use this skill
- When needing to run several AI agent sessions at the same time; when coordinating efforts between agents like Claude Code, Codex, or OpenCode; for complex tasks that can be broken into parallel components; upon explicit user requests such as 'run in parallel', 'split this work', 'use dmux', or 'agent orchestration'.
When not to use this skill
- For simple, single-agent tasks that do not benefit from concurrency; when a task requires strict sequential execution without any parallel components; if the overhead of setting up and managing an orchestrated environment outweighs the benefits for a particular task.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/dmux-workflows/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How dmux-workflows Compares
| Feature / Agent | dmux-workflows | Standard Approach |
|---|---|---|
| Platform Support | Claude, Codex, OpenCode | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | medium | N/A |
Frequently Asked Questions
What does this skill do?
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.
Which AI agents support this skill?
This skill is designed for Claude, Codex, OpenCode.
How difficult is it to install?
The installation complexity is rated as medium. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# 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](https://github.com/standardagents/dmux) ## Quick Start ```bash # Start dmux session dmux # Create agent panes (press 'n' in dmux, then type prompt) # Pane 1: "Implement the auth middleware in src/auth/" # Pane 2: "Write tests for the user service" # Pane 3: "Update API documentation" # Each pane runs its own agent session # 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 # Create worktrees for isolation git worktree add ../feature-auth feat/auth git worktree add ../feature-billing feat/billing # Run agents in separate worktrees # Pane 1: cd ../feature-auth && claude # Pane 2: cd ../feature-billing && claude # Merge branches when done git merge feat/auth git merge feat/billing ``` ## Complementary Tools | Tool | What It Does | When to Use | |------|-------------|-------------| | **dmux** | tmux pane management for agents | Parallel agent sessions | | **Superset** | Terminal IDE for 10+ parallel agents | Large-scale orchestration | | **Claude Code Task tool** | In-process subagent spawning | Programmatic parallelism within a session | | **Codex multi-agent** | Built-in agent roles | Codex-specific parallel work | ## Troubleshooting - **Pane not responding:** Check if the agent session is waiting for input. Use `m` to read output. - **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).
Related Skills
workspace-surface-audit
Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.
ui-demo
Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.
token-budget-advisor
Offers the user an informed choice about how much response depth to consume before answering. Use this skill when the user explicitly wants to control response length, depth, or token budget. TRIGGER when: "token budget", "token count", "token usage", "token limit", "response length", "answer depth", "short version", "brief answer", "detailed answer", "exhaustive answer", "respuesta corta vs larga", "cuántos tokens", "ahorrar tokens", "responde al 50%", "dame la versión corta", "quiero controlar cuánto usas", or clear variants where the user is explicitly asking to control answer size or depth. DO NOT TRIGGER when: user has already specified a level in the current session (maintain it), the request is clearly a one-word answer, or "token" refers to auth/session/payment tokens rather than response size.
skill-comply
Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines
santa-method
Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.
safety-guard
Use this skill to prevent destructive operations when working on production systems or running agents autonomously.
repo-scan
Cross-stack source code asset audit — classifies every file, detects embedded third-party libraries, and delivers actionable four-level verdicts per module with interactive HTML reports.
project-flow-ops
Operate execution flow across GitHub and Linear by triaging issues and pull requests, linking active work, and keeping GitHub public-facing while Linear remains the internal execution layer. Use when the user wants backlog control, PR triage, or GitHub-to-Linear coordination.
product-lens
Use this skill to validate the "why" before building, run product diagnostics, and pressure-test product direction before the request becomes an implementation contract.
openclaw-persona-forge
为 OpenClaw AI Agent 锻造完整的龙虾灵魂方案。根据用户偏好或随机抽卡, 输出身份定位、灵魂描述(SOUL.md)、角色化底线规则、名字和头像生图提示词。 如当前环境提供已审核的生图 skill,可自动生成统一风格头像图片。 当用户需要创建、设计或定制 OpenClaw 龙虾灵魂时使用。 不适用于:微调已有 SOUL.md、非 OpenClaw 平台的角色设计、纯工具型无性格 Agent。 触发词:龙虾灵魂、虾魂、OpenClaw 灵魂、养虾灵魂、龙虾角色、龙虾定位、 龙虾剧本杀角色、龙虾游戏角色、龙虾 NPC、龙虾性格、龙虾背景故事、 lobster soul、lobster character、抽卡、随机龙虾、龙虾 SOUL、gacha。
manim-video
Build reusable Manim explainers for technical concepts, graphs, system diagrams, and product walkthroughs, then hand off to the wider ECC video stack if needed. Use when the user wants a clean animated explainer rather than a generic talking-head script.
laravel-plugin-discovery
Discover and evaluate Laravel packages via LaraPlugins.io MCP. Use when the user wants to find plugins, check package health, or assess Laravel/PHP compatibility.