본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)280k · #301

dmux-workflows

하는 일

여러 AI 작업을 별도의 창에서 동시에 실행하도록 정리합니다. 복잡한 작업을 나누고 프로젝트의 여러 부분을 조율하는 데 도움이 됩니다.

사용하는 경우

  • ✓AI가 여러 일을 동시에 처리하게 해야 할 때.
  • ✓큰 프로젝트를 더 작고 관리하기 쉬운 부분으로 나눌 때.
  • ✓서로 다른 작업에 여러 AI 도구를 사용할 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/skills/dmux-workflows/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/skills/dmux-workflows/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“웹사이트 제작을 디자인, 프런트엔드, 백엔드의 세 부분으로 나누고 병렬로 실행해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

‘dmux’라는 도구를 사용해 각 AI 작업을 위한 별도 창(‘패인’이라고 함)을 만들고 관리합니다. 작업이 끝나면 결과를 다시 합칠 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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: Install dmux from its repository after reviewing the package. See github.com/standardagents/dmux

Quick Start

# 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:

# Create worktrees for isolation
git worktree add -b feat/auth ../feature-auth HEAD
git worktree add -b feat/billing ../feature-billing HEAD

# 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

ECC Helper

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

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

Example plan.json:

{
  "sessionName": "skill-audit",
  "baseRef": "HEAD",
  "launcherCommand": "codex exec --cwd {worktree_path} --task-file {task_file}",
  "workers": [
    { "name": "docs-a", "task": "Fix skills 1-4 and write handoff notes." },

…
자주 묻는 질문

‘dmux’란 무엇인가요?

여러 AI가 동시에 작업할 수 있도록 창(패인)을 관리하는 도구입니다. AI 어시스턴트를 위한 창 관리자와 같습니다.

각 창에서 다른 종류의 AI를 쓸 수 있나요?

네. Claude Code와 Codex 같은 다른 AI 도구를 별도의 패인에서 사용해 각 도구의 강점을 활용할 수 있습니다.

작업들이 서로의 정보를 필요로 하면 어떻게 하나요?

작업이 서로 독립적일 때 가장 좋습니다. 정보가 필요하다면, 완료 후 한 창의 결과를 수동으로 다른 창에 합칠 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#301
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬