cmux-customization
Skill này làm gì
Skill này giúp thay đổi cài đặt cmux, hành động tùy chỉnh, bố cục workspace, phím tắt, trình xem và giao diện terminal, rồi kiểm tra các thay đổi. Dành cho người dùng cmux muốn ứng dụng được thiết lập theo ý thích của họ.
Khi nào nên dùng
- ✓Khi bạn muốn thêm một hành động tùy chỉnh, bố cục hoặc mục command palette vào cmux.
- ✓Khi bạn muốn thay đổi phím tắt, thông báo hoặc cài đặt sidebar của cmux.
- ✓Khi bạn muốn đưa phông chữ hoặc màu sắc từ một ứng dụng terminal khác sang.
Liên kết skill
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-customization/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thêm một hành động tùy chỉnh vào cấu hình cmux của tôi để mở một workspace mới với bố cục phát triển của tôi, và giữ nguyên các cài đặt khác.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn đúng file cấu hình cho từng thay đổi, chỉnh sửa bằng schema khi có sẵn, rồi kiểm tra kết quả trước khi báo cáo đã xong. Các thiết lập giao diện terminal được thay đổi trong cấu hình Ghostty thay thế.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có ghi đè cài đặt hiện có của tôi không?
Không. Nó được thiết kế để giữ nguyên cấu hình của bạn và chỉ thực hiện các chỉnh sửa có schema hỗ trợ.
Phông chữ và màu terminal được thiết lập ở đâu?
Thường là trong file cấu hình Ghostty, chứ không phải trong cấu hình cmux.
Nó có nhập cài đặt từ terminal khác không?
Có. Nó có thể xem trước việc nhập từ các ứng dụng như iTerm2, Kitty hoặc WezTerm trước khi áp dụng.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9798
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
cmux-browser
29kCho phép agent của bạn mở website trong cmux, đọc, nhấp và trích xuất thông tin từ khung trình duyệt mà không chiếm tiêu điểm của bạn.
cmux-capture
29kCho phép agent của bạn chụp ảnh màn hình hoặc ghi lại ngắn một cửa sổ cmux, để bạn có bằng chứng thực tế khi cho thấy một thay đổi trực quan hoặc một lỗi.
cmux-cloud-vm
29kCho phép agent của bạn chạy lệnh, khởi động agent lập trình và hiển thị workspace trên các máy cmux Cloud, giữ công việc chạy tiếp sau khi pane đóng.
cmux-cua
29kCho phép agent của bạn thao tác ứng dụng macOS thật qua engine Computer Use của cmux, đọc cây accessibility và nhấp, gõ, cuộn thay bạn.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.