Aller au contenu
Skillpedia
Programmation générale29k · #9798

cmux-customization

Ce qu’il fait

Elle aide à modifier les réglages de cmux, les actions personnalisées, les dispositions d'espaces de travail, les raccourcis, les visionneuses et les thèmes de terminal, puis valide les changements. Elle s'adresse aux utilisateurs de cmux qui veulent configurer l'application à leur goût.

Quand l’utiliser

  • ✓Quand vous voulez ajouter une action personnalisée, une disposition ou une entrée dans la palette de commandes de cmux.
  • ✓Quand vous voulez modifier les raccourcis, les notifications ou les réglages de la barre latérale de cmux.
  • ✓Quand vous voulez reprendre des polices ou des couleurs d'une autre application de terminal.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-customization/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je voudrais ajouter à ma configuration cmux une action personnalisée qui ouvre un nouvel espace de travail avec ma disposition de développement, en gardant mes autres réglages.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent choisit le bon fichier de configuration pour chaque changement, le modifie en s'appuyant sur le schéma lorsqu'il est disponible, et valide le résultat avant de le déclarer terminé. Les réglages d'apparence du terminal se modifient plutôt dans la configuration de Ghostty.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

  1. 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.json
    
  2. Pick 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.

  3. 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".bak
    
  4. For app settings and cmux-owned shortcuts, use the settings helper (~/.codex/skills/... if the user installed with skills.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 validate
    
  5. For actions, UI wiring, workspace layouts, notification hooks, and Dock controls, edit the JSONC by

Questions fréquentes

Va-t-elle écraser mes réglages existants ?

Non. Elle est conçue pour garder votre configuration intacte et faire des modifications appuyées sur le schéma.

Où sont réglées les polices et couleurs du terminal ?

En général dans le fichier de configuration de Ghostty, et non dans celui de cmux.

Peut-elle importer des réglages d'un autre terminal ?

Oui. Elle peut prévisualiser un import depuis des applications comme iTerm2, Kitty ou WezTerm avant de l'appliquer.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
29k
Position au classement
#9798
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires