cmux

GitHub

提供cmux多窗格布局的确定性控制能力,支持窗口、工作区、窗格及表面的识别、移动、重排与焦点管理,适用于需要自动化界面导航和布局调整的场景。

skills/cmux/SKILL.md manaflow-ai/cmux

Trigger Scenarios

需要自动化控制终端或应用的多窗格布局 需要在多个表面或窗格间进行确定性的导航和焦点切换 需要批量创建、移动或重排工作区和窗格

Install

npx skills add manaflow-ai/cmux --skill cmux -g -y
More Options

Use without installing

npx skills use manaflow-ai/cmux@cmux

指定 Agent (Claude Code)

npx skills add manaflow-ai/cmux --skill cmux -a claude-code -g -y

安装 repo 全部 skill

npx skills add manaflow-ai/cmux --all -g -y

预览 repo 内 skill

npx skills add manaflow-ai/cmux --list

SKILL.md

Frontmatter
{
    "name": "cmux",
    "description": "End-user control of cmux topology and routing (windows, workspaces, panes\/surfaces, focus, moves, reorder, identify, trigger flash). Use when automation needs deterministic placement and navigation in a multi-pane cmux layout."
}

cmux Core Control

Non-browser cmux topology and routing.

  • Window: top-level macOS cmux window.
  • Workspace: tab-like group within a window.
  • Pane: split container in a workspace.
  • Surface: a tab within a pane (terminal or browser panel).

Fast start

cmux identify --json                              # current caller context
cmux list-windows / list-workspaces / list-panes
cmux list-pane-surfaces --pane pane:1
cmux new-workspace
cmux new-split right --panel pane:1
cmux move-surface --surface surface:7 --pane pane:2 --focus true
cmux split-off --surface surface:7 right
cmux reorder-surface --surface surface:7 --before surface:3

# workspace context-menu actions (color, description, rename, pin, ...)
cmux workspace-action --action set-color --color Blue
cmux workspace-action --action set-description --description "Ship checklist"

# attention cue
cmux trigger-flash --surface surface:7

Handle model

Output defaults to short refs (window:N, workspace:N, pane:N, surface:N). UUIDs are accepted as input; request UUID output only when needed with --id-format uuids|both.

Settings

cmux-owned settings live in ~/.config/cmux/cmux.json. cmux docs settings prints the docs URL, schema URL, raw GitHub resources, cmux.json paths, and reload command. cmux settings, cmux settings cmux-json, and cmux settings shortcuts open the UI.

cmux reload-config reloads both cmux.json and ~/.config/ghostty/config, refreshing terminals in place with no app restart.

Terminal rendering (font, cursor style, theme, scrollback, background-opacity, background-blur) belongs in Ghostty config, not cmux settings. Everything else (app behavior, sidebar, notifications, browser behavior, automation, workspace colors, cmux-owned shortcuts) is cmux settings. Before editing, copy any existing cmux.json to a timestamped .bak next to it. Legacy ~/.config/cmux/settings.json and ~/Library/Application Support/com.cmuxterm.app/settings.json are read only as fallback for missing keys.

Deep-dive references

Reference When to Use
references/handles-and-identify.md Handle syntax, self-identify, caller targeting
references/windows-workspaces.md Window/workspace lifecycle, reorder/move, and context-menu actions (color, description, rename)
references/panes-surfaces.md Splits, surfaces, move/reorder, focus routing
references/trigger-flash-and-health.md Flash cue and surface health checks
../cmux-workspace/SKILL.md Current caller workspace rules and non-disruptive automation
../cmux-settings/SKILL.md Safe cmux.json settings edits and validation
../cmux-browser/SKILL.md Browser automation on surface-backed webviews
../cmux-markdown/SKILL.md Markdown viewer panel with live file watching

Version History

  • cef69a7 Current 2026-08-20 08:16

Same Skill Collection

skills/cmux-architecture/SKILL.md
skills/cmux-backend/SKILL.md
skills/cmux-billing/SKILL.md
skills/cmux-browser/SKILL.md
skills/cmux-custom-sidebar/SKILL.md
skills/cmux-customization/SKILL.md
skills/cmux-debugging/SKILL.md
skills/cmux-dev-workflow/SKILL.md
skills/cmux-diagnostics/SKILL.md
skills/cmux-ghostty/SKILL.md
skills/cmux-keyboard-shortcuts/SKILL.md
skills/cmux-localization/SKILL.md
skills/cmux-markdown/SKILL.md
skills/cmux-release/SKILL.md
skills/cmux-settings/SKILL.md
skills/cmux-shared-behavior/SKILL.md
skills/cmux-socket-policy/SKILL.md
skills/cmux-testing/SKILL.md
skills/cmux-workspace/SKILL.md

Metadata

Files
0
Version
cef69a7
Hash
f9343b1e
Indexed
2026-08-20 08:16

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-24 22:38
浙ICP备14020137号-1 $방문자$