cmux-keyboard-shortcuts
What it does
This skill helps you customize the keyboard shortcuts in the cmux app. It turns your work habits into shortcut settings and saves them to your cmux config file.
When to use it
- ✓When you want to rebind, remove or reset a cmux keyboard shortcut.
- ✓When you want a shortcut layout that matches tmux, Vim, iTerm or another familiar tool.
- ✓When you want the agent to review your current cmux shortcuts before making changes.
Skill link
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-keyboard-shortcuts/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you change my cmux shortcuts so they work like tmux, since that is what I am used to?”
5 new skills a week. 1 minute to read.
How it works
The agent reads your current shortcut settings, proposes a compact layout, applies the changes you choose and checks that the config file still reads correctly.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Will my other cmux settings be affected?
The skill changes only the shortcut settings and then checks that the config file is still valid.
Can I go back to the default shortcuts?
Yes. The skill can reset shortcuts to their defaults.
Which layouts are available?
The skill offers templates such as tmux-style, Vim-style, terminal-first, browser-heavy, iTerm-like and agent-triage layouts.
Details
Original description by the author
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
Popularity
- GitHub stars
- 29k
- Ranking position
- #9800
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cmux-browser
29kLets your agent open websites in cmux and read, click and extract information from browser panes without taking focus from your work.
cmux-capture
29kLets your agent take a screenshot or short recording of a cmux window, so you can show a visual change or a bug with real evidence.
cmux-cloud-vm
29kLets your agent run commands, start coding agents and show workspaces on your cmux Cloud machines, leaving work running after panes close.
cmux-cua
29kLets your agent operate real macOS apps through the cmux Computer Use engine, reading the accessibility tree and clicking, typing and scrolling on your behalf.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.