#Навыки
cmux поставляется с навыками, которые учат кодовых агентов использовать управление cmux CLI, браузерные поверхности, панели Markdown, окна отладки и релизный workflow.
#Установка
Запустите skills.sh, чтобы установить навыки из репозитория в каталог навыков Codex.
# Install all cmux skills
npx skills add manaflow-ai/cmux -g -y
# Or install just diagnostics
npx skills add manaflow-ai/cmux --skill cmux-diagnostics -g -ycurl -fsSL https://raw.githubusercontent.com/manaflow-ai/cmux/main/skills.sh | bash~/.codex/skills или в $CODEX_HOME/skills, если задан CODEX_HOME. Передайте --dest, если ваш агент читает навыки из другого каталога.#Установка из checkout
В клонированном checkout cmux скрипт использует локальный каталог skills.
./skills.sh
./skills.sh --list
./skills.sh --skill cmux --skill cmux-browser
./skills.sh --dest ~/.codex/skills
./skills.sh --dry-runИспользуйте --ref, чтобы установить из конкретной ветки, тега или commit, когда скрипт скачивает с GitHub.
curl -fsSL https://raw.githubusercontent.com/manaflow-ai/cmux/main/skills.sh | bash -s -- --ref main#Включенные навыки
У каждого навыка есть файл SKILL.md, необязательные справочные материалы и файл метаданных OpenAI в agents/openai.yaml.
| Навык | Назначение | Типичная команда |
|---|---|---|
cmux Coreskills/cmux/SKILL.md | Управляет окнами, workspace, панелями, поверхностями, фокусом, перемещением, переупорядочиванием и маршрутизацией через cmux CLI. Используйте, когда агенту нужны детерминированное размещение или навигация в многопанельном макете cmux. | cmux identify --json |
cmux Workspaceskills/cmux-workspace/SKILL.md | Keeps automation scoped to the current caller workspace, caller surface, panes, sidebar metadata, and socket context. Use it when an agent should add panes, send input, inspect state, or open helper surfaces without disrupting another workspace. | cmux current-workspace --json |
cmux Settingsskills/cmux-settings/SKILL.md | Inspects, edits, validates, and opens ~/.config/cmux/cmux.json with a bundled helper script. Use it when changing appearance, sidebar, notification, browser, automation, or shortcut settings by JSON path. | skills/cmux-settings/scripts/cmux-settings list-supported |
cmux Customizationskills/cmux-customization/SKILL.md | Customizes cmux.json actions, plus-button behavior, tab bar buttons, workspace layouts, Dock controls, Feed hooks, sidebar settings, Command Palette entries, shortcuts, and Ghostty-owned terminal preferences. Use it to make cmux open a user's worktrees, multiple checkouts, SSH sessions, dev tools, or project layout from the exact UI entrypoints they want. | cmux reload-config |
cmux Diagnosticsskills/cmux-diagnostics/SKILL.md | Runs support-safe checks for cmux CLI health, socket access, hooks, session restore, settings, and agent binaries. Use it when notifications, hooks, restore, or automation are not behaving as expected. | skills/cmux-diagnostics/scripts/cmux-diagnostics |
cmux Browserskills/cmux-browser/SKILL.md | Автоматизирует webview-поверхности cmux с помощью snapshot-ссылок, DOM-действий, ожиданий, скриншотов и состояния сессии. Используйте для браузерных задач, которые должны выполняться внутри cmux, а не в отдельном инструменте автоматизации браузера. | cmux browser surface:2 snapshot --interactive |
cmux Markdown Viewerskills/cmux-markdown/SKILL.md | Открывает Markdown-файлы в отформатированной панели cmux с live reload. Используйте, чтобы показывать планы, документацию, заметки и списки задач рядом с терминалом во время работы. | cmux markdown open plan.md |
#What the skills cover
The top-level SKILL.md files stay short. Deeper command details live in references, scripts, and templates next to each skill.
| Навык | Scope | Reference coverage |
|---|---|---|
cmux Corecmux | Topology control for windows, workspaces, panes, surfaces, focus, moves, reorders, split-off flows, and attention flashes. | Handle syntax, caller targeting, window and workspace lifecycle, pane and surface routing, trigger flash, and health checks. |
cmux Workspacecmux-workspace | Current-workspace automation rules for caller context, additive panes, helper surfaces, sidebar metadata, input, and socket selection. | Workspace command reference covering context, windows, workspaces, panes, surfaces, input, sidebar state, notifications, docs, and tagged reloads. |
cmux Settingscmux-settings | cmux.json settings reads and writes, key lookup, JSONC parsing, safe atomic updates, validation, editor opening, and shortcut binding edits. | Generated settings key list, shortcut action ids, schema URL, supported path detection, and the bundled cmux-settings helper. |
cmux Customizationcmux-customization | End-user customization across cmux.json settings, actions, commands, workspace layouts, plus-button click and right-click menus, surface tab bar buttons, Dock controls, Feed and notification hooks, sidebar metadata, Command Palette entries, shortcuts, and Ghostty config boundaries. | Config-surface selection, what can be customized, global versus project-local scope, action examples, plus-button wiring, tab bar button examples, Dock examples, Feed hooks, workspace layout examples, reload steps, validation rules, and safety constraints. |
cmux Diagnosticscmux-diagnostics | Read-only health checks for CLI reachability, socket access, cmux environment, settings validation, hook installation markers, session stores, auto-resume settings, and supported agent binaries. | Bundled support-safe diagnostic script, hook setup commands, session restore interpretation, notification checks, and rules for redacting sensitive files. |
cmux Browsercmux-browser | Browser automation inside cmux webview surfaces, including navigation, DOM actions, waits, state capture, screenshots, and snapshots. | Command mapping, snapshot ref lifecycle, authentication, session persistence, video status, proxy behavior, and reusable automation templates. |
cmux Markdown Viewercmux-markdown | Formatted markdown panels that live beside terminals and reload as files change. | Command syntax, routing options, live reload behavior, atomic file replacement, and markdown rendering coverage. |
#Customization examples library
These are reusable workflow patterns that a user can ask an agent to apply with cmux Customization.
| Example | Customizes | Good for |
|---|---|---|
Worktree agentsworktree-agents | Plus-button click, plus-button right-click menu, Command Palette, workspace layout | Opening a dedicated worktree or checkout with paired Codex, Claude, SSH, or helper terminals. |
Full-stack devfull-stack-dev | Workspace command, browser preview, Dock controls | Starting frontend, backend, tests, logs, and preview panes in the same repeatable layout. |
SSH devboxssh-devbox | Workspace command, remote terminal, browser surface | Connecting to a remote environment while keeping local previews, notes, and navigation in cmux. |
Review PRreview-pr | Workspace command, browser surface, markdown or terminal notes | Opening GitHub status, the pull request, and review notes in a single workspace. |
Docs workspacedocs-workspace | Workspace command, markdown panel, browser preview | Editing documentation with the rendered page, local dev server, and source notes visible. |
CI watchci-watch | Dock controls, Feed TUI, notification hooks | Watching GitHub Actions, CircleCI, release monitors, and agent hook events without losing the main workspace. |
Quick agent buttonsquick-agent-buttons | Surface tab bar buttons, actions, Command Palette entries | Adding one-click Codex, Claude, or custom-agent launchers while keeping built-in tab buttons visible. |
skills/cmux-customization/references/examples.md. Agents load that file only when an examples-library pattern is needed.Use $cmux-customization to set up the worktree-agents example.
Use $cmux-customization to create a project-local full-stack-dev layout with Dock controls.
Use $cmux-customization to add quick-agent-buttons for Codex and Claude.#Меню справки
Меню macOS Help повторяет эту боковую панель документации и включает Skills. Используйте пункт Skills в Help, чтобы открыть эту страницу из приложения.
#Структура навыка
Держите основной SKILL.md кратким. Более подробные таблицы команд, скрипты и переиспользуемые шаблоны размещайте рядом с навыком.
skills/<name>/SKILL.md
skills/<name>/agents/openai.yaml
skills/<name>/references/*.md
skills/<name>/scripts/*
skills/<name>/templates/*agents/openai.yaml, чтобы установщик показывал понятное имя, короткое описание и prompt по умолчанию.#Suggested future skills
These are good candidates if the skill set grows beyond the current installed list.
| Skill idea | Use case | Why it helps |
|---|---|---|
cmux SSHcmux-ssh | Drive remote workspaces, SSH URL launches, browser routing through remote networks, and reconnect behavior. | Remote sessions are a major cmux surface with behavior that differs from local terminal workflows. |
cmux Cloud VMcmux-cloud-vm | Operate Cloud VM create, attach, exec, SSH endpoint, billing, and provider troubleshooting flows. | Cloud VM work crosses the web app, database, provider APIs, and smoke tests. |
cmux Vaultcmux-vault | Manage vault-backed agent configuration, credentials, and restore behavior without leaking secrets into prompts. | Vault workflows need stricter handling than normal settings because they affect secrets and agent startup. |