npx claudepluginhub jack-michaud/faire --plugin cmuxWant just this skill?
Add to a custom plugin, then install with one command.
This skill should be used when the user asks to "set up a dev environment", "create a workspace", "open a browser pane", "split terminal", "spin up frontend and backend", "use cmux", "manage cmux panes", "run commands in cmux", or mentions cmux workspaces, panes, surfaces, or browser automation. Provides workflow guidance for orchestrating multi-pane development environments with terminal and browser surfaces.
This skill uses the workspace's default tool permissions.
resources/workspace-survey.mdcmux Workspace Orchestration
cmux is a terminal multiplexer application for macOS with a rich CLI for managing windows,
workspaces, panes, browser surfaces, and sidebar logging. It is controlled via a Unix socket
at /tmp/cmux.sock.
Core Concepts
cmux organizes its hierarchy as: Window > Workspace > Pane > Surface (Tab)
- Window: Top-level OS window
- Workspace: A named layout within a window (like tmux sessions). Visible in the sidebar.
- Pane: A split region within a workspace. Each pane contains one or more surfaces as tabs.
- Surface: A single terminal or browser tab within a pane. Referenced as
surface:<n>.
All commands use ref format by default: workspace:1, pane:2, surface:3.
Environment variables CMUX_WORKSPACE_ID and CMUX_SURFACE_ID are auto-set in cmux terminals
and serve as defaults for --workspace and --surface flags.
CLI Reference
Run cmux --help for the full command list. Run cmux <command> --help for details on any
specific command. Use --json flag on most commands for machine-readable output.
Tips
- Use
cmux identify --jsonto discover the current workspace, pane, and surface context. - After creating splits, use
cmux list-panesandcmux list-pane-surfacesto discover new surface refs. - Use
cmux capture-pane --lines <n>to read terminal output and detect when processes are ready. - Use
cmux logwith levels (progress,success,error) andcmux notifyfor sidebar visibility. - Browser
snapshot --interactivereturns an accessibility tree ideal for understanding page structure. cmux senduses\nfor Enter and\tfor Tab in the text argument.
Workflows
Successful workflows are documented as reference files. Check resources/ for proven patterns.
Resources
Custom docs written on cmux topics:
resources/workspace-survey.md— How to survey the current workspace state at the start of a session