본문으로 건너뛰기
Skillpedia
기타29k · #9802

cmux-settings

하는 일

이 스킬은 cmux 설정 파일을 관리해, 파일을 직접 편집하지 않고도 환경설정을 바꿀 수 있게 합니다. cmux의 모양과 동작을 조정하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓터미널이나 브라우저 동작 같은 cmux 환경설정을 바꾸고 싶을 때.
  • ✓cmux 설정 파일이 유효한지 확인하고 싶을 때.
  • ✓바꾸기 전에 cmux가 어떤 설정을 지원하는지 알고 싶은 경우.

스킬 링크

https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-settings/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-settings/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“cmux 알림 설정 중 하나를 꺼 주시고, 설정 파일이 여전히 유효한지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 도우미 스크립트로 cmux 설정 파일을 안전하게 읽고 쓰고, 그다음 검증해서 파일이 저장될 때 cmux가 변경을 적용할 수 있게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

  1. Look up the key when the user named a setting in plain English:
    cmux-settings list-supported | rg -i 'sidebar.*terminal|terminal.*sidebar'
    
  2. 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"]'
    
자주 묻는 질문

변경 후 cmux를 다시 시작해야 하나요?

아니요, 파일 감시자가 파일이 저장될 때 변경을 적용합니다.

존재하지 않는 설정을 쓸 수 있나요?

아니요, 각 키를 cmux 스키마와 대조하므로 인식되는 설정만 쓸 수 있습니다.

설정 파일은 어디에 있나요?

cmux.json이라는 이름으로, 사용자 계정의 .config/cmux 폴더에 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
29k
순위
#9802
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬