cmux-diagnostics
What it does
This skill runs a read-only health check on the cmux terminal app and explains the results in plain terms. It is for people who use cmux and need help when something stops working.
When to use it
- ✓When cmux hooks, notifications or session restore are not working as expected.
- ✓When browser automation, socket access or CLI control in cmux fails.
- ✓When you want a cmux health check or a support-safe summary to send to someone who can help.
Skill link
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-diagnostics/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My cmux notifications stopped working. Can you check what is wrong and give me a report I can share?”
5 new skills a week. 1 minute to read.
How it works
It runs a built-in script that reads cmux status information, skips secrets and private files, and then explains what looks healthy and what needs a fix.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
cmux Diagnostics
Collect and interpret support-safe cmux diagnostics for end users. Default to read-only checks. Never dump hook config files, session stores, prompt logs, tokens, or environment secrets.
Quick report
Run the bundled read-only script first, from whichever install path exists:
skills/cmux-diagnostics/scripts/cmux-diagnostics # cmux checkout
~/.agents/skills/cmux-diagnostics/scripts/cmux-diagnostics # installed skill
~/.codex/skills/cmux-diagnostics/scripts/cmux-diagnostics # Codex-only skills.sh install
Add --include-context only when workspace names, cwd paths, and current cmux identifiers are relevant to the reported issue.
What to check
- CLI and socket health:
command -v cmux,cmux ping,cmux capabilities --json. If socket commands fail, check whether the agent is running inside a cmux terminal and whether socket automation is enabled. - Settings health:
cmux-settings validateandcmux-settings get terminal.autoResumeAgentSessions(from~/.agents/skills/cmux-settings/scripts/, or~/.codex/skills/...for askills.shinstall). Whenterminal.autoResumeAgentSessionsis false, cmux restores panes but does not resume saved agent sessions. - Hook installation:
cmux hooks setup --agent codex,--agent opencode, or barecmux hooks setup(installs supported agents found on PATH, skips missing ones). Run install or uninstall commands only after the user agrees. - Session restore evidence:
ls -lh ~/.cmuxterm/*-hook-sessions.json 2>/dev/null. Missing stores usually mean the agent has not run inside cmux since hooks were installed, hooks are disabled, or the integration does not support resume capture. - Notification path:
cmux notify "cmux diagnostic test", only when the user is ready for a visible test notification.
Interpretation
cmuxnot found: the CLI is not installed or not on PATH for this shell.cmux pingfails: the app is closed, unreachable through the current socket path, or automation access is disabled.- No
CMUX_WORKSPACE_IDorCMUX_SURFACE_ID: the command is running outside a cmux terminal. Some hooks intentionally no-op there. - Hook config but no session store: run one supported agent inside cmux after installing hooks, then re-check.
- Session store but no agents on restore: check
terminal.autoResumeAgentSessionsand whether the saved executable still exists on PATH. - Settings validation fails: fix the config first. Invalid config makes later symptoms misleading.
Rules
- Stay read-only until the user asks to fix something.
- Never print raw hook files, session JSON, prompt logs, shell history, tokens, or API keys. Summarize file presence, size, modified time, and marker presence instead.
- Prefer a narrow fix such as
cmux hooks setup --agent codexover reinstalling every integration. - After a fix, rerun the diagnostic script and report the changed lines.
FAQ
Will this skill show my passwords or private files?
No. The skill avoids dumping hook config files, session stores, prompt logs, tokens and environment secrets.
Does the check change anything on my computer?
It defaults to read-only checks, so it looks at the current state without changing settings.
Do I need to know terminal commands to use it?
No. The skill runs the checks for you and explains what the results mean.
Details
Original description by the author
Run end-user cmux diagnostics. Use when cmux hooks, notifications, session restore, settings, browser automation, socket access, CLI control, or agent resume behavior is not working, or when the user asks for a cmux health check, doctor report, or support-safe debug summary.
repo: manaflow-ai/cmux
Popularity
- GitHub stars
- 29k
- Ranking position
- #9799
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cmux-browser
29kLets your agent open websites in cmux and read, click and extract information from browser panes without taking focus from your work.
cmux-capture
29kLets your agent take a screenshot or short recording of a cmux window, so you can show a visual change or a bug with real evidence.
cmux-cloud-vm
29kLets your agent run commands, start coding agents and show workspaces on your cmux Cloud machines, leaving work running after panes close.
cmux-cua
29kLets your agent operate real macOS apps through the cmux Computer Use engine, reading the accessibility tree and clicking, typing and scrolling on your behalf.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.