Operations

/cmux

Control cmux panes, splits, browser/sidebar, messages. Triggers: cmux, split panes, terminal reads. NOT shell.

$ golems-cli skills install cmux
Golden
100% best pass rate
27 assertions
6 evals

Updated 1 week ago

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

For agent workflows, prefer /cmux-agents and the agent-based MCP tools (spawn_agent, send_to_agent, wait_for, list_agents, my_agents, get_agent_state, stop_agent). This skill stays primitive-first on purpose: panes, tabs, browser surfaces, raw terminal delivery, and low-level inspection.

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