cmux-keyboard-shortcuts
Что он делает
Этот скилл помогает настроить горячие клавиши в приложении cmux. Он переводит ваши рабочие привычки в настройки клавиш и сохраняет их в файл конфигурации cmux.
Когда использовать
- ✓Когда нужно переназначить, убрать или сбросить горячую клавишу cmux.
- ✓Когда нужна раскладка клавиш, похожая на tmux, Vim, iTerm или другой знакомый инструмент.
- ✓Когда вы хотите, чтобы агент проверил текущие горячие клавиши cmux перед изменениями.
Ссылка на скилл
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-keyboard-shortcuts/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Измени горячие клавиши cmux так, чтобы они работали как в tmux, потому что я к нему привык.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент читает текущие настройки клавиш, предлагает компактную раскладку, применяет выбранные вами изменения и проверяет, что файл конфигурации корректно читается.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
cmux-keyboard-shortcuts
Turn a user's workflow preferences into cmux shortcut bindings in ~/.config/cmux/cmux.json: guide, propose compact templates, apply the selected changes, and confirm the config parses with recognized keys.
Contributor rule: adding a new shortcut
Every new cmux-owned keyboard shortcut must be added to Sources/KeyboardShortcutSettings.swift, visible and editable in Settings > Keyboard Shortcuts, supported as shortcuts.bindings.<actionId> in ~/.config/cmux/cmux.json, and documented in web/app/[locale]/(landing)/docs/keyboard-shortcuts/page.tsx and the configuration docs. All four, not a subset.
Prerequisites
- Work from a cmux checkout or worktree root when possible.
- Use
skills/cmux-settings/scripts/cmux-settingsfor every read/write. It reads JSONC, writes atomically, and validates JSON plus recognized settings keys. - Action IDs:
skills/cmux-settings/references/shortcut-actions.md. Current defaults:web/data/cmux-shortcuts.tsorSources/KeyboardShortcutSettings.swift.
if [[ -z "${CMUX_SETTINGS:-}" ]]; then
root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
for candidate in \
"$root/skills/cmux-settings/scripts/cmux-settings" \
"${CODEX_HOME:-$HOME/.codex}/skills/cmux-settings/scripts/cmux-settings" \
"$HOME/.agents/skills/cmux-settings/scripts/cmux-settings"; do
[[ -x "$candidate" ]] && CMUX_SETTINGS="$candidate" && break
done
[[ -n "${CMUX_SETTINGS:-}" ]] || {
echo "cmux-settings helper not found; run from a cmux checkout or install cmux-settings" >&2
exit 1
}
fi
Shortcut model
- Setting path:
shortcuts.bindings.<actionId>. - Single stroke:
"cmd+b". - Chord:
["ctrl+b","c"]. The first stroke needs a modifier unless the key is Space. The second stroke can be bare. - Unbind: prefer
nullfor explicit unbinds."","none","clear","unbound", and"disabled"are accepted aliases, butnullis the clearest JSON value and matches the templates below. selectSurfaceByNumber,selectWorkspaceByNumberandfocusPaneByNumbermust use a digit from 1 to 9.cmd+1means the fullcmd+1throughcmd+9family.showHideAllWindowsis the only system-wide shortcut. It cannot be a chord, requires modifiers, and may be rejected by macOS if reserved.globalSearchis application-scoped and only fires while cmux is active.showHideAllWindowsalso requires Settings > Global Hotkey > Enable System-Wide Hotkey. The binding can validate incmux.jsonwhile the feature is disabled, so warn the user to enable that setting before reporting the shortcut as usable.unsetdeletes acmux.jsonoverride. It does not clear shortcut changes saved through the Settings UI/UserDefaults. If the user asks for true built-in defaults, tell them to use Settings > Keyboard Shortcuts > Reset Default Shortcuts after clearing file-managed overrides, then verify in the app. ForshowHideAllWindows, use Settings > Global Hotkey to restore the shortcut toctrl+opt+cmd+.because Keyboard Shortcuts > Reset Default Shortcuts intentionally skips the global hotkey.- Saving
cmux.jsonlive reloads. Never tell the user to restart cmux.
Workflow
Classify the request:
- One-off rebind/unbind: map the phrase to an action ID, apply, validate, report previous and new binding.
- Audit: inspect bindings, validate, summarize overrides and unbound shortcuts without writing.
- Reset: clarify file-managed overrides vs true built-in defaults (see the
unsetrule above). - Broad customization: propose 3-5 templates below and ask the user to choose.
- Named style (tmux, Vim, iTerm, browser, agent triage): pick the closest template, show the changed actions and likely collisions, and ask before a bulk apply unless the user already named that template.
Inspect existing config:
"$CMUX_SETTINGS" path "$CMUX_SETTINGS" get shortcuts.bindings 2>/dev/null || printf '{}\n' "$CMUX_SETTINGS" validateSnapshot prior values for every action you will change. A path that was absent reverts with
unset; a path with an existing custom value reverts withset <same-json-value>."$CMUX_SETTINGS" get shortcuts.bindings.focusLeft 2>/dev/null || printf '<absent>\n'Apply only the chosen action paths, then
"$CMUX_SETTINGS" validate."$CMUX_SETTINGS" set shortcuts.bindings.newSurface '["ctrl+b","c"]' "$CMUX_SETTINGS" set short
Частые вопросы
Затронет ли это другие настройки cmux?
Скилл меняет только настройки клавиш, а затем проверяет, что файл конфигурации остается корректным.
Можно ли вернуться к стандартным клавишам?
Да. Скилл может сбросить клавиши к значениям по умолчанию.
Какие раскладки доступны?
Скилл предлагает шаблоны: в стиле tmux, Vim, терминальную, для работы с браузером, похожую на iTerm и для сортировки задач агента.
Подробности
Оригинальное описание автора
Guide and apply cmux keyboard shortcut customization. Use when the user asks to customize, rebind, unbind, reset, audit, or create shortcut templates for cmux, including tmux-style, Vim-style, terminal-first, browser-heavy, iTerm/Terminal-like, or agent-triage layouts.
repo: manaflow-ai/cmux
Популярность
- Звёзды на GitHub
- 29k
- Место в рейтинге
- #9800
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
cmux-browser
29kПозволяет агенту открывать сайты в cmux и читать, кликать и извлекать информацию из панелей браузера, не забирая фокус у вашей работы.
cmux-capture
29kПозволяет агенту сделать скриншот или короткую запись окна cmux, чтобы вы могли показать визуальное изменение или ошибку с реальными доказательствами.
cmux-cloud-vm
29kПозволяет агенту запускать команды, стартовать агенты для кода и показывать рабочие пространства на машинах cmux Cloud; работа продолжается после закрытия панелей.
cmux-cua
29kПозволяет агенту работать с реальными приложениями macOS через движок Computer Use в cmux: читать дерево доступности, кликать, печатать и прокручивать от вашего имени.
Похожие скиллы
knowledge-automation
394kПомогает агенту настроить задачу по расписанию, которая добавляет новое содержимое в хранилище Knowledge, и проверить, что задача работает.
knowledge-source-ingest
394kПомогает агенту держать хранилище Knowledge в актуальном состоянии, добавляя новое из чатов, лент или почтовых ящиков без повторного добавления уже сохраненного.
benchmark
280kПомогает агенту измерять скорость и производительность кода. Полезен, чтобы убедиться, что всё быстро, и найти причины тормозов.