Loading...
Loading...
Comprehensive cmux CLI usage guide. Use when the user asks about cmux CLI, cmux --help, socket commands, command discovery, workspaces, panes, surfaces, browser CLI, hooks, feed, settings, or automation through the cmux command.
npx skill4agent add manaflow-ai/cmux-skills cmux-clicmuxcmuxPATHcmux --help
cmux version
cmux ping/tmp/cmux-cliCMUX_TAG=<tag> scripts/cmux-debug-cli.sh --help
CMUX_TAG=<tag> scripts/cmux-debug-cli.sh identify --jsonscripts/cmux-debug-cli.sh/tmp/cmux-debug-<tag>.sockcmux --help
cmux help
cmux <command> --help
cmux docs settings
cmux docs shortcuts
cmux docs api
cmux docs browser
cmux docs agents
cmux docs dockrg -n "Usage: cmux <command>|case \"<command>\"|run.*<Command>" CLIgh api--panelwindow:1workspace:2pane:3surface:4cmux --id-format refs identify
cmux --id-format both list-pane-surfaces --workspace workspace:1
cmux --json --id-format both tree --allprintf 'workspace=%s\nsurface=%s\nsocket=%s\n' \
"${CMUX_WORKSPACE_ID:-}" \
"${CMUX_SURFACE_ID:-}" \
"${CMUX_SOCKET_PATH:-}"
cmux identify --jsoncmux --socket /tmp/cmux-debug-<tag>.sock identify --json
CMUX_SOCKET_PATH=/tmp/cmux-debug-<tag>.sock cmux ping--passwordCMUX_SOCKET_PASSWORDcmux capabilities --jsoncmux --json <command>
cmux --id-format refs <command>
cmux --id-format uuids <command>
cmux --id-format both <command>
cmux --socket <path> <command>
cmux --password <password> <command>--jsoncmux ping
cmux capabilities --json
cmux identify --json
cmux list-windows --json
cmux list-workspaces --json
cmux tree --all --jsoncmux list-panes --workspace "${CMUX_WORKSPACE_ID:-}" --json
cmux list-pane-surfaces --workspace "${CMUX_WORKSPACE_ID:-}" --json
cmux read-screen --workspace "${CMUX_WORKSPACE_ID:-}" --surface "${CMUX_SURFACE_ID:-}" --lines 80# Open without stealing focus when supported.
cmux open . --focus false
cmux open https://example.com --workspace "${CMUX_WORKSPACE_ID:-}" --focus false
# Create helper output in the caller workspace.
cmux new-pane --workspace "${CMUX_WORKSPACE_ID:-}" --type terminal --direction right --focus false
cmux new-surface --workspace "${CMUX_WORKSPACE_ID:-}" --pane pane:2 --type terminal --focus false
# Read and write the caller terminal.
cmux read-screen --surface "${CMUX_SURFACE_ID:-}" --scrollback --lines 200
cmux send --surface "${CMUX_SURFACE_ID:-}" "echo ok\n"
cmux send-key --surface "${CMUX_SURFACE_ID:-}" enter
# Browser surface automation.
cmux browser open https://example.com --focus false
cmux browser snapshot --surface surface:5 --compact
cmux browser click "button[type=submit]" --snapshot-after
# Settings and docs.
cmux docs settings
cmux settings path
cmux config validate
cmux reload-config
# Sidebar status for task progress.
cmux set-status build running --workspace "${CMUX_WORKSPACE_ID:-}" --color "#ff9500"
cmux set-progress 0.4 --label "Building" --workspace "${CMUX_WORKSPACE_ID:-}"
cmux clear-status build --workspace "${CMUX_WORKSPACE_ID:-}"
cmux clear-progress --workspace "${CMUX_WORKSPACE_ID:-}"welcomedocssettingsconfigshortcutsreload-configthemesopenmarkdowndiffidentifylist-windowslist-workspacestreeread-screensendsend-keycapture-panepipe-paneclear-historyrespawn-panebrowser opengotosnapshotclickfillscreenshotgetfindtabnotifyright-sidebarset-statusset-progressloghooksfeedclaude-teamscodex-teamsomoomxomcauthloginlogoutvmcloudcapabilitieseventsrpcsurface-healthdebug-terminalstrigger-flashcapture-paneresize-panewait-forswap-panebreak-panejoin-panefind-windowfocus-windowfocus-panefocus-panelselect-workspacetab-actionright-sidebar focuscmux new-pane --workspace "${CMUX_WORKSPACE_ID:-}" --type terminal --direction right --focus false
cmux new-surface --workspace "${CMUX_WORKSPACE_ID:-}" --pane pane:2 --type terminal --focus false
cmux send --workspace "${CMUX_WORKSPACE_ID:-}" --surface surface:7 "npm test\n"list-paneslist-pane-surfaces~/.config/cmux/cmux.json~/.config/ghostty/configcmux.jsoncmux docs settings
cmux settings path.bakcmux reload-config./scripts/reload.sh --tag <tag>
CMUX_TAG=<tag> scripts/cmux-debug-cli.sh identify --json
CMUX_TAG=<tag> scripts/cmux-debug-cli.sh list-workspaces --jsonxcodebuild-derivedDataPath/tmp/cmux-clicat /tmp/cmux-last-cli-path
cat /tmp/cmux-last-debug-log-path
tail -f "$(cat /tmp/cmux-last-debug-log-path 2>/dev/null || echo /tmp/cmux-debug.log)"cmux --helpcmux <command> --help--json--workspace--surface--pane--windowCMUX_WORKSPACE_IDCMUX_SURFACE_IDCMUX_SOCKET_PATH--focus false--no-focuscmux docs settingscmux settings pathcmux.jsonCMUX_TAG=<tag> scripts/cmux-debug-cli.sh ...skills/cmux/SKILL.mdcmux-workspacecmux-browsercmux-settingscmux-markdown