cmux-debug-windows

Manage cmux debug windows and related debug menu wiring for Sidebar Debug, Background Debug, and Menu Bar Extra Debug. Use this when the user asks to open/tune these debug controls, add or adjust Debug menu entries, or capture/copy a combined debug config snapshot.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cmux-debug-windows" with this command: npx skills add manaflow-ai/cmux/manaflow-ai-cmux-cmux-debug-windows

cmux Debug Windows

Keep this workflow focused on existing debug windows and menu entries. Do not add a new utility/debug control window unless the user asks explicitly.

Workflow

  1. Verify debug menu wiring in Sources/cmuxApp.swift under CommandMenu("Debug").
    • Menu path in app: DebugDebug Windows → window entry.
    • The Debug menu only exists in DEBUG builds (./scripts/reload.sh --tag ...).
    • Release builds (reloadp.sh, reloads.sh) do not show this menu.
  2. Keep these actions available in Menu("Debug Windows"):
  • Sidebar Debug…
  • Background Debug…
  • Menu Bar Extra Debug…
  • Open All Debug Windows
  1. Reuse existing per-window copy buttons (Copy Config) in each debug window before adding new UI.
  2. For one combined payload, run:
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --copy
  1. After code edits, run build + tagged reload:
xcodebuild -project GhosttyTabs.xcodeproj -scheme cmux -configuration Debug -destination 'platform=macOS' build
./scripts/reload.sh --tag <tag>

Key Files

  • Sources/cmuxApp.swift: Debug menu entries and debug window controllers/views.
  • Sources/AppDelegate.swift: Menu bar extra debug settings payload and defaults keys.

Script

  • scripts/debug_windows_snapshot.sh

Purpose:

  • Reads current debug-related defaults values.
  • Prints one combined snapshot for sidebar/background/menu bar extra.
  • Optionally copies it to clipboard.

Examples:

skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --copy
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --domain <bundle-id> --copy

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

cmux

No summary provided by upstream source.

Repository SourceNeeds Review
General

cmux-browser

No summary provided by upstream source.

Repository SourceNeeds Review
General

cmux-markdown

No summary provided by upstream source.

Repository SourceNeeds Review