Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
manaflow-ai avatar

Cmux

  • 6.3k installs
  • 25.5k repo stars
  • Updated August 4, 2026
  • manaflow-ai/cmux

cmux is a Build skill that controls non-browser cmux topology and routing on macOS via CLI handle refs for windows, workspaces, panes, and surfaces.

About

The cmux skill teaches agents end-user control of non-browser cmux topology and routing on macOS. It maps the handle model from windows through workspaces, panes, and surfaces so automation can target deterministic placement without guessing layout state. Fast Start commands cover caller context via cmux identify --json, topology listing with list-windows, list-workspaces, list-panes, and list-pane-surfaces, plus create and focus flows such as new-workspace, new-split, move-surface, split-off, and reorder-surface. Attention cues use trigger-flash on a targeted surface. Settings guidance defers to cmux docs settings, edits ~/.config/cmux/cmux.json with timestamped backups, and reloads cmux plus Ghostty config through cmux reload-config without restarting the app. Terminal rendering stays in Ghostty config while cmux.json owns sidebar, notifications, browser behavior, and shortcuts. Cross-links point to handles-and-identify, windows-workspaces, panes-surfaces, trigger-flash-and-health, and sibling cmux-workspace, cmux-settings, cmux-browser, and cmux-markdown skills. Use when automation must navigate or rearrange a multi-pane cmux layout with stable refs like window:N and surface:N.

  • Maps window, workspace, pane, and surface handles for deterministic cmux topology targeting
  • Fast Start covers identify --json, list-* commands, new-split, move-surface, split-off, and reorder-surface
  • trigger-flash provides attention cues on a specific surface without disrupting layout
  • Settings workflow backs up cmux.json, edits user config, and reloads Ghostty plus cmux in place
  • Cross-links sibling skills for workspace rules, settings, browser automation, and markdown panels

Cmux by the numbers

  • 6,291 all-time installs (skills.sh)
  • +423 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #31 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

cmux capabilities & compatibility

Free local cmux CLI; requires macOS cmux installation.

Capabilities
cmux topology listing · surface move and reorder · caller identify context · config reload without restart · trigger flash attention cue
Works with
chrome
Use cases
orchestration · debugging
Platforms
macOS
Runs
Runs locally
Pricing
Free
From the docs

What cmux says it does

End-user control of cmux topology and routing (windows, workspaces, panes/surfaces, focus, moves, reorder, identify, trigger flash).
SKILL.md
Use this skill to control non-browser cmux topology and routing.
SKILL.md
Default output uses short refs: `window:N`, `workspace:N`, `pane:N`, `surface:N`.
SKILL.md
npx skills add https://github.com/manaflow-ai/cmux --skill cmux

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6.3k
repo stars25.5k
Security audit3 / 3 scanners passed
Last updatedAugust 4, 2026
Repositorymanaflow-ai/cmux

How do agents deterministically place, focus, and navigate surfaces inside a multi-pane cmux layout without manual UI clicks?

End-user control of cmux topology and routing for windows, workspaces, panes, surfaces, focus, moves, reorder, identify, and trigger flash.

Who is it for?

macOS cmux users running agent automation that must list topology, split panes, move surfaces, and reload cmux.json safely.

Skip if: Browser automation on cmux webviews, Windows or Linux terminals, or layout changes without reading cmux-workspace non-disruptive rules.

When should I use this skill?

Automation needs deterministic placement and navigation in a multi-pane cmux layout using identify, list, move-surface, reorder-surface, or trigger-flash.

What you get

Stable window:N and surface:N refs, focused panes, reordered surfaces, and flash cues driven through cmux identify, list, move, and reorder commands.

  • JSON topology identification
  • focused pane or surface placement

By the numbers

  • Models four hierarchy levels: Window, Workspace, Pane, and Surface
  • Provides cmux identify --json plus list-windows, list-workspaces, and list-panes CLI commands

Files

SKILL.mdMarkdownGitHub ↗

cmux Core Control

Use this skill to control non-browser cmux topology and routing.

Core Concepts

  • 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

# identify current caller context
cmux identify --json

# list topology
cmux list-windows
cmux list-workspaces
cmux list-panes
cmux list-pane-surfaces --pane pane:1

# create/focus/move
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

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

Settings and Docs

Use cmux docs settings before changing cmux-owned settings. It prints the docs URL, schema URL, raw GitHub resources, cmux.json paths, and reload command.

cmux docs settings
cmux settings path

cmux-owned settings live in ~/.config/cmux/cmux.json. Legacy ~/.config/cmux/settings.json and ~/Library/Application Support/com.cmuxterm.app/settings.json files are read only as fallback for missing keys. Before editing, copy any existing cmux.json file to a timestamped .bak next to it so the user can revert. Edit the user file, then reload:

cmux reload-config

cmux reload-config reloads BOTH cmux.json and Ghostty config (~/.config/ghostty/config) and refreshes terminals in place. No app restart needed.

Use cmux settings for app behavior, sidebar, notifications, browser behavior, automation, workspace colors, and cmux-owned shortcuts. Terminal rendering settings such as font, cursor style, theme, scrollback, background transparency (background-opacity), and blur (background-blur) belong in Ghostty config at ~/.config/ghostty/config.

Open the UI when useful:

cmux settings
cmux settings cmux-json
cmux settings shortcuts

Handle Model

  • Default output uses short refs: window:N, workspace:N, pane:N, surface:N.
  • UUIDs are still accepted as inputs.
  • Request UUID output only when needed: --id-format uuids|both.

Deep-Dive References

ReferenceWhen to Use
references/handles-and-identify.mdHandle syntax, self-identify, caller targeting
references/windows-workspaces.mdWindow/workspace lifecycle and reorder/move
references/panes-surfaces.mdSplits, surfaces, move/reorder, focus routing
references/trigger-flash-and-health.mdFlash cue and surface health checks
../cmux-workspace/SKILL.mdCurrent caller workspace rules and non-disruptive automation
../cmux-settings/SKILL.mdSafe cmux.json settings edits and validation
../cmux-browser/SKILL.mdBrowser automation on surface-backed webviews
../cmux-markdown/SKILL.mdMarkdown viewer panel with live file watching

Related skills

How it compares

Pick cmux over generic shell skills when automation must navigate cmux-specific topology rather than run commands in a single default terminal.

FAQ

What cmux hierarchy levels does this skill control?

Windows, workspaces, panes, and surfaces, using short refs like window:N and surface:N for deterministic targeting.

How should agents reload cmux settings safely?

Back up ~/.config/cmux/cmux.json, edit the user file, then run cmux reload-config to refresh cmux and Ghostty without restarting the app.

When should trigger-flash be used?

Use cmux trigger-flash --surface surface:N as an attention cue on a specific surface after moves or focus changes.

CLI & Terminalintegrationsdevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.