cmux-customization
できること
カスタムアクション、ワークスペースのレイアウト、ショートカット、ビューア、ターミナルのテーマなど、cmuxの設定の変更を手伝い、変更内容を検証します。cmuxを好みの形に整えたい利用者向けです。
使う場面
- ✓cmuxにカスタムアクション、レイアウト、コマンドパレットの項目を追加したいとき。
- ✓cmuxのショートカット、通知、サイドバーの設定を変更したいとき。
- ✓別のターミナルアプリからフォントや色を持ってきたいとき。
スキルのリンク
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-customization/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“cmuxの設定に、新しいワークスペースを私の開発用レイアウトで開くカスタムアクションを追加してください。ほかの設定はそのままにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは変更ごとに適切な設定ファイルを選び、スキーマが使える場合はそれを使って編集します。結果を完了と報告する前に検証します。ターミナルの見た目の設定は、代わりにGhosttyの設定で変更します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
cmux Customization
Keep the user's config intact, prefer schema-backed edits, and validate before reporting completion.
For content viewers, start with the viewer customization matrix. It maps each viewer to the settings, command, or external file that owns its knobs, including explicit fallbacks for viewer types whose template settings have not shipped yet.
Choose the right surface
| Want to change | Edit |
|---|---|
| App preferences (appearance, sidebar, notifications, browser routing, automation, shortcuts, new-workspace placement) | ~/.config/cmux/cmux.json via the cmux-settings helper |
| Custom actions, workspace layouts/commands, tab bar buttons, plus-button behavior, Command Palette entries, notification hooks | ~/.config/cmux/cmux.json globally or .cmux/cmux.json in the project |
Dock controls (right-sidebar terminals: logs, test watchers, git TUIs, dev servers, queues, cmux feed tui --opentui) |
.cmux/dock.json or ~/.config/cmux/dock.json; cmux docs dock when available |
| Terminal rendering and terminal keybindings (fonts, themes, cursor style, copy-on-select, shell integration) | Ghostty config, usually ~/.config/ghostty/config |
| Bring fonts, colors and terminal behavior over from iTerm2, Terminal, Alacritty, Kitty, WezTerm or a Warp theme | cmux import <terminal> --dry-run to preview, then cmux import <terminal>; writes cmux's own Ghostty config and a generated theme, never ~/.config/ghostty/config |
| Workspace names, descriptions, colors, read state, sidebar metadata | cmux CLI, see ../cmux-workspace/SKILL.md |
| Feed event sources | cmux hooks setup |
Viewer-specific JSON settings live in the global cmux.json: browser.*,
markdown.*, fileEditor.*, fileExplorer.*, and diffViewer.*. Generic file
preview routing also uses app.openSupportedFilesInCmux and
app.openMarkdownInCmuxViewer plus app.preferredEditor. Right-sidebar tools
are structural state and Dock configuration, not a templates.rightSidebarTool
object.
Project-local .cmux/cmux.json and .cmux/dock.json let worktree, SSH, review, dev, CI, and docs patterns travel with the repo; project actions and commands override global entries with the same ID or name. Global app preferences do not belong there.
If a request can be handled by Ghostty config, say so and use Ghostty config instead of inventing cmux UI settings.
Key surfaces in cmux.json: actions (reusable, can appear in Cmd+Shift+P, surface tab bars, shortcuts, and the plus-button right-click menu; type: "text" pastes a snippet into the focused terminal and does not submit it unless submit: true), ui.newWorkspace.action (replaces the plus-button click) and ui.newWorkspace.contextMenu (right-click menu; ui.newWorkspace.rightClick is an accepted alias but new examples use contextMenu), ui.surfaceTabBar.buttons (replaces default tab bar buttons; include built-ins like cmux.newTerminal, cmux.newBrowser, cmux.splitRight, cmux.splitDown only when they should stay visible; copy built-ins cmux.copyWorkingDirectory, cmux.copyProjectRoot, and cmux.copyScreen also work here and in actions), and commands (workspace definitions with split layouts).
Workflow
Inspect existing config.
test -f ~/.config/cmux/cmux.json && sed -n '1,220p' ~/.config/cmux/cmux.json test -f .cmux/cmux.json && sed -n '1,220p' .cmux/cmux.jsonPick global or project-local scope. Default to project-local for repo-specific commands, global for app preferences. Ask only when the choice changes behavior meaningfully.
Back up the target file when it already exists (applicable path only, no backup for a missing file).
stamp="$(date +%Y%m%d-%H%M%S)" test -f ~/.config/cmux/cmux.json && cp -p ~/.config/cmux/cmux.json ~/.config/cmux/cmux.json."$stamp".bak test -f .cmux/cmux.json && cp -p .cmux/cmux.json .cmux/cmux.json."$stamp".bakFor app settings and cmux-owned shortcuts, use the settings helper (
~/.codex/skills/...if the user installed withskills.sh).~/.agents/skills/cmux-settings/scripts/cmux-settings list-supported ~/.agents/skills/cmux-settings/scripts/cmux-settings set browser.openTerminalLinksInCmuxBrowser true ~/.agents/skills/cmux-settings/scripts/cmux-settings validateFor actions, UI wiring, workspace layouts, notification hooks, and Dock controls, edit the JSONC by
よくある質問
既存の設定が上書きされますか?
いいえ。設定はそのまま残り、スキーマに基づく編集が行われるよう設計されています。
ターミナルのフォントや色はどこで設定しますか?
通常はcmuxの設定ではなく、Ghosttyの設定ファイルで設定します。
別のターミナルから設定を取り込めますか?
はい。適用する前に、iTerm2、Kitty、WezTermなどのアプリからの取り込みをプレビューできます。
詳細
作者による元の説明
Customize cmux for an end user, including terminal, browser, Markdown, diff, file preview, notes, HTML, and right-sidebar viewers. Use when changing cmux.json actions, custom commands, workspace layouts, plus-button behavior, surface tab bar buttons, Command Palette entries, Dock controls, sidebar and app settings, shortcuts, notifications, browser routing, examples-library presets, or Ghostty-backed terminal preferences.
repo: manaflow-ai/cmux
人気
- GitHubのスター
- 29k
- ランキング
- #9798
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
cmux-browser
29kエージェントが、cmuxでWebサイトを開き、作業のフォーカスを奪わずに、ブラウザのペインを読み取り、クリックし、情報を取り出せるよう支援します。
cmux-capture
29kエージェントが、cmuxのウィンドウのスクリーンショットや短い録画を撮れるようにし、視覚的な変化やバグを実際の証拠として示せるよう支援します。
cmux-cloud-vm
29kエージェントが、cmux Cloudのマシン上でコマンドを実行し、コーディングエージェントを起動し、ワークスペースを表示できるよう支援します。ペインを閉じても作業は続きます。
cmux-cua
29kエージェントが、cmux Computer Useエンジンを通じて、実際のmacOSアプリを操作できるよう支援します。アクセシビリティツリーを読み取り、あなたの代わりにクリック、入力、スクロールを行います。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。