Operations

/cmux

Use when running inside cmux terminal to control panes, splits, browser, sidebar, and coordinate multi-agent workflows. Covers split panes, notifications, browser automation, agent-to-agent messaging via cmux send. NOT for: regular terminal operations (use Bash), non-cmux sessions.

$ golems-cli skills install cmux
Golden
100% best pass rate
8 assertions
3 evals

Updated 2 weeks ago

Teach agents to drive cmux: split panes, notify, open browser, coordinate with other agents.

Detect cmux

Always check first — skip gracefully if not in cmux:

if ! command -v cmux &>/dev/null || ! cmux identify --json &>/dev/null; then
  echo "Not in cmux — skipping cmux operations"
  exit 0
fi

Self-Identification

# Get your own location
cmux identify --json
# → { "surface_ref": "surface:4", "pane_ref": "pane:5", "workspace_ref": "workspace:2" }

Identify & Navigate

# Get your current surface/pane/workspace refs
cmux identify
 
# List all workspaces
cmux list-workspaces
 
# List panes in current workspace
cmux list-panes
 
# List surfaces (tabs) in a pane
cmux list-pane-surfaces --pane pane:1