cmux-settings
O que ela faz
Esta habilidade gerencia o arquivo de configurações do cmux, para que você possa mudar preferências sem editar o arquivo à mão. Serve para quem quer ajustar a aparência e o comportamento do cmux.
Quando usar
- ✓Quando você quer mudar uma preferência do cmux, como o comportamento do terminal ou do navegador.
- ✓Quando você quer verificar se o arquivo de configurações do cmux é válido.
- ✓Quando você quer saber quais configurações o cmux suporta antes de mudar uma delas.
Link da skill
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-settings/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode desligar uma das minhas configurações de notificação do cmux e garantir que o arquivo de configurações continue válido?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente usa um script auxiliar para ler e gravar o arquivo de configurações do cmux com segurança e depois o valida, para que o cmux aplique a mudança quando o arquivo for salvo.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
- 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"]'
Perguntas frequentes
Preciso reiniciar o cmux depois de uma mudança?
Não. Um monitor de arquivos aplica as mudanças quando o arquivo é salvo.
A habilidade pode gravar configurações que não existem?
Não. Ela verifica cada chave contra o esquema do cmux, então só grava configurações reconhecidas.
Onde o arquivo de configurações fica guardado?
Ele se chama cmux.json e fica na pasta .config/cmux da sua conta de usuário.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 29 mil
- Posição no ranking
- #9802
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
cmux-browser
29 milPermite que seu agente abra sites no cmux e leia, clique e extraia informações de painéis de navegador sem tirar o foco do seu trabalho.
cmux-capture
29 milPermite que seu agente tire uma captura de tela ou uma gravação curta de uma janela do cmux, para mostrar uma mudança visual ou um bug com evidências reais.
cmux-cloud-vm
29 milPermite que seu agente rode comandos e inicie agentes de programação nas máquinas do cmux Cloud, mantendo o trabalho ativo após fechar os painéis.
cmux-cua
29 milPermite que seu agente opere apps reais do macOS pelo motor Computer Use do cmux, lendo a árvore de acessibilidade e clicando, digitando e rolando em seu nome.
Skills parecidas
blucli
394 milAjuda seu agente a encontrar, tocar, pausar, agrupar e ajustar o volume de alto-falantes Bluesound e NAD pelo comando blu.
camsnap
394 milAjuda seu agente a capturar fotos, clipes curtos ou eventos de movimento de câmeras de rede e webcams locais que você configurou.
eightctl
394 milAjuda seu agente a verificar e controlar um pod da Eight Sleep, incluindo temperatura, alarmes e programações de sono.