cmux-settings
Skill này làm gì
Skill này quản lý file thiết lập cmux, để bạn có thể thay đổi tùy chọn mà không cần tự sửa file. Nó dành cho người muốn điều chỉnh cách cmux hiển thị và hoạt động.
Khi nào nên dùng
- ✓Khi bạn muốn thay đổi một tùy chọn cmux, như hành vi terminal hoặc trình duyệt.
- ✓Khi bạn muốn kiểm tra xem file thiết lập cmux có hợp lệ không.
- ✓Khi bạn muốn biết cmux hỗ trợ những thiết lập nào trước khi thay đổi một cái.
Liên kết skill
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-settings/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
“Bạn có thể tắt một trong các thiết lập thông báo cmux của tôi và đảm bảo file thiết lập vẫn hợp lệ không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dùng một script hỗ trợ để đọc và ghi file thiết lập cmux một cách an toàn, rồi kiểm tra tính hợp lệ để cmux có thể áp dụng thay đổi khi file được lưu.
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-settings
cmux reads user settings from ~/.config/cmux/cmux.json (JSONC). A file watcher applies changes on save, no restart. Legacy ~/.config/cmux/settings.json is read only as a fallback for keys absent from cmux.json.
Schema: https://raw.githubusercontent.com/manaflow-ai/cmux/main/web/data/cmux.schema.json. The helper uses the schema-generated path list in references/all-keys.md in both checkouts and installed skills. If that reference is unavailable, it falls back to paths discoverable in Sources/CmuxSettingsJSONPathSupport.swift. Settings sections are app, terminal, notifications, sidebar, sidebarAppearance, workspaceColors, automation, agentMessages, browser, markdown, fileEditor, fileExplorer, diffViewer, and shortcuts. Non-settings sections (actions, ui, commands, vault, rightSidebar) share the same file.
For a viewer-specific route, read the viewer matrix. It distinguishes settings-backed knobs from structural configuration and viewer types that do not have a shipped setting yet. Do not invent a templates.<viewer> path: the schema is authoritative, and the adjacent templates proposal is not a supported configuration surface until its keys appear in web/data/cmux.schema.json.
Helper script
Use the bundled helper for every read/write. It strips JSONC comments, validates the complete proposed document with cmux config validate before writing, and writes atomically unless the change adds a validation issue. Issues the file already had, such as a key from a newer cmux, don't block an unrelated change; run validate to see them.
skills/cmux-settings/scripts/cmux-settings <subcommand> # from a cmux checkout
~/.codex/skills/cmux-settings/scripts/cmux-settings <subcommand> # installed Codex skill
The rest of this doc assumes it is on $PATH as cmux-settings; from a checkout, export PATH="$PWD/skills/cmux-settings/scripts:$PATH".
| Command | What it does |
|---|---|
cmux-settings path |
Print the config path. |
cmux-settings dump |
Print the raw file (preserves comments). |
cmux-settings dump --no-comments |
Print the parsed JSON. |
cmux-settings get <a.b.c> |
Print value at dotted JSON path. |
cmux-settings set <a.b.c> <value> |
Set value. <value> is parsed as JSON (true, 42, "text", […], {…}); unquoted plain words are stored as strings. |
cmux-settings unset <a.b.c> |
Delete key, reverting to the in-app default. |
cmux-settings undo <receipt> |
Restore one path changed by set/unset --receipt, only if it still holds the value that change installed. |
cmux-settings list-supported |
List every settings JSON path the app recognizes. |
cmux-settings validate |
Run the same semantic validation as cmux config validate (unknown paths, types, enums, bounds, nested constraints, and config scope). |
cmux-settings open |
Open cmux.json in $EDITOR, VS Code, Cursor, or TextEdit. |
--file <path> overrides the target file. Scope is inferred from the real global paths and the project config discovered from the current directory; use --scope global|project to override that inference for an arbitrary file.
The installed cmux CLI covers the common edits without the helper: cmux config get|set|unset|toggle|cycle <path> and cmux config preset <name> validate against the same schema, keep comments, and write ~/.config/cmux/cmux.json. They share one write path with "type": "setting" and "type": "settingPreset" actions, which put the same edits on a tab bar button, shortcut, or Command Palette entry. Use the helper when you need --preview, receipts, undo, or a file other than the global config. Paths split on every ., so a key that itself contains . (for example a workspaceGroups.byCwd entry for ~/src/app.web) is refused by these commands with an error saying so; edit that key in the file directly.
Workflow
- Look up the key when the user named a setting in plain English:
cmux-settings list-supported | rg -i 'sidebar.*terminal|terminal.*sidebar' - Set it. JSON literals must be valid JSON.
cmux-settings set sidebarAppearance.matchTerminalBackground true cmux-settings set app.appearance dark cmux-settings set shortcuts.bindings.newTab '["ctrl+b","c"]' cmux-settings set browser.hostsToOpenInEmbeddedBrowser '["localhost","*.internal.example"]'
Câu hỏi thường gặp
Tôi có cần khởi động lại cmux sau khi thay đổi không?
Không. Một bộ theo dõi file sẽ áp dụng thay đổi khi file được lưu.
Skill có thể ghi thiết lập không tồn tại không?
Không. Skill kiểm tra từng khóa với lược đồ cmux, nên chỉ những thiết lập được nhận diện mới được ghi.
File thiết lập được lưu ở đâu?
File có tên cmux.json và nằm trong thư mục .config/cmux của tài khoản người dùng của bạn.
Chi tiết
Mô tả gốc của tác giả
View and edit cmux settings in ~/.config/cmux/cmux.json, including terminal, browser, Markdown, diff, notes, HTML, file preview, and sidebar-tool behavior. Use when the user wants to change cmux preferences, set a value by JSON path, validate the file, open it in an editor, or look up which keys cmux recognizes. Triggers on '/cmux-settings', 'change cmux setting', 'customize viewer', 'set <something> in cmux', 'cmux config', 'cmux.json', or 'rebind a cmux shortcut'.
repo: manaflow-ai/cmux
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9802
- 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ự
blucli
394kGiúp agent của bạn tìm, phát, tạm dừng, nhóm và chỉnh âm lượng loa Bluesound và NAD qua lệnh blu.
camsnap
394kGiúp agent của bạn chụp ảnh, quay clip ngắn hoặc lấy sự kiện chuyển động từ camera mạng và webcam nội bộ mà bạn đã thiết lập.
eightctl
394kGiúp agent của bạn kiểm tra và điều khiển thiết bị Eight Sleep pod, gồm nhiệt độ, báo thức và lịch ngủ.