cmux-delegate

Delegate tasks to a new Claude Code session in a cmux workspace with collected Git and PR context.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/devseunggwan/praxis --skill cmux-delegate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmux-delegate
Source: https://github.com/devseunggwan/praxis/tree/main/skills/cmux-delegate
Command: npx skills add https://github.com/devseunggwan/praxis --skill cmux-delegate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegates a current work task to a fresh, independent Claude Code session in a new cmux workspace, enabling isolated review, debugging, or implementation without disturbing the ongoing context.

Core Features & Use Cases

  • Auto-collected context: gathers git state, recent commits, changed files, and PR context to bootstrap a new session.
  • Flexible delegation: supports new sessions or sending prompts to an existing workspace, with optional distribution across multiple workspaces.
  • Safe orchestration: uses file-based prompts to avoid inline prompt injection and preserves workspace isolation.

Quick Start

Start a new delegated session for a long-running task by running the provided wrapper script that creates a new cmux workspace and hands off the task prompt.

Frequently Asked Questions about cmux-delegate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate a task to a parallel Claude Code session?

You can delegate a task to a parallel Claude Code session by running a wrapper script that creates a new cmux workspace and hands off a structured prompt. This isolates the task without disturbing your ongoing context.

How does cmux workspace context collection work for delegated sessions?

Context collection for delegated sessions gathers Git state, recent commits, changed files, and PR context. This auto-collected data bootstraps the new session with relevant project state to ensure a secure handoff.

Can I distribute work across multiple existing cmux workspaces?

Yes, you can distribute work across multiple existing cmux workspaces. The delegation supports sending prompts to new sessions or scaling across existing workspaces when distributing tasks.

What is the best way to prevent prompt injection when orchestrating multiple Claude Code sessions?

To prevent prompt injection during session orchestration, use file-based prompts rather than inline commands. This approach preserves workspace isolation and executes the delegation securely across independent sessions.

Do I need Git to run isolated debugging tasks in a new Claude Code session?

Git is required to run isolated debugging sessions because the delegation collects Git state, recent commits, and changed files. This repository context is necessary to bootstrap the new cmux workspace accurately.

When should I avoid delegating tasks to independent Claude Code sessions?

You should avoid task delegation when your ongoing context requires tight synchronization, because delegated sessions operate independently in isolated workspaces and do not share real-time state with your original session.