Agent skill

cmux Diagnostics

by manaflow-ai in manaflow-ai/cmux

Runs a read-only health check for cmux and explains what it finds, covering the CLI and socket, settings, agent hooks, session restore and notifications.

Custom licenceAuto-check passedProductivity & Automation

Install cmux Diagnostics

skills CLI
$ npx skills add manaflow-ai/cmux --skill cmux-diagnostics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install manaflow-ai/cmux cmux-diagnostics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/manaflow-ai/cmux.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cmux-diagnostics .claude/skills/cmux-diagnostics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cmux-diagnostics
GitHub stars
28k
Used in
1 other repo
Token cost
~819 tokens
SKILL.md length
374 words
Files
3 (incl. scripts)
Skills in repo
22
Repo updated
First seen
Licence
Custom licence

At a glance

Runs a read-only health check for cmux and explains what it finds, covering the CLI and socket, settings, agent hooks, session restore and notifications.

  • Works in 5 steps: CLI and socket health: command -v cmux,… → Settings health: cmux-settings validate… → Hook installation: cmux hooks setup… → …
  • cmux notifications or agent hooks stop working
  • SKILL.md covers Quick report, What to check, Interpretation and Rules
  • Agent sessions are not resuming after panes are restored

What it does

The agent starts with the bundled `cmux-diagnostics` script, found in the cmux checkout or in an installed-skill path, and keeps to read-only checks. It adds `--include-context` only when workspace names, working directories and cmux identifiers matter to the reported problem. Hook config files, session stores, prompt logs, tokens and environment secrets are never dumped, so the output is safe to pass to support.

Manual checks follow a set order: whether the CLI is on PATH and the socket answers `cmux ping`, whether the settings validate and `terminal.autoResumeAgentSessions` is enabled, whether hooks are installed for agents such as Codex and OpenCode, whether session-restore files exist, and a visible test notification when you are ready for one. An interpretation list maps symptoms to causes, for example a failed ping meaning the app is closed or automation access is off, or missing workspace variables meaning the command ran outside a cmux terminal. Installing or removing hooks happens only after you agree.

When your agent uses it

  • cmux notifications or agent hooks stop working
  • Agent sessions are not resuming after panes are restored
  • Preparing a support-safe debug summary of a cmux setup
  • Running a cmux health check or doctor report

Example prompts

  • “Run a cmux health check and tell me why my notifications never show up.”
  • “My Codex sessions don't resume after restarting cmux, so please diagnose it.”
  • “Give me a support-safe doctor report for cmux that I can paste into a bug report.”

Requirements

  • cmux with its CLI on PATH
  • The cmux app running, for the socket checks

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. CLI and socket health: command -v cmux, cmux ping, cmux capabilities --json. If socket commands fail, check whether the agent is running…
  2. Settings health: cmux-settings validate and cmux-settings get terminal.autoResumeAgentSessions (from…
  3. Hook installation: cmux hooks setup --agent codex, --agent opencode, or bare cmux hooks setup (installs supported agents found on PATH…
  4. Session restore evidence: ls -lh ~/.cmuxterm/*-hook-sessions.json 2>/dev/null. Missing stores usually mean the agent has not run inside…
  5. Notification path: cmux notify "cmux diagnostic test", only when the user is ready for a visible test notification.

What it can do on your machine

Read from SKILL.md and the folder at commit bbb3633. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

cmux Diagnostics loads about 819 tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 374 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~819

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 374 words (~819 tokens).

“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.”

— opening of SKILL.md by manaflow-ai, Custom licence
name
cmux-diagnostics

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in skills/cmux-diagnostics of manaflow-ai/cmux.

  • SKILL.md
  • agents/openai.yaml
  • scripts/cmux-diagnostics

Open the folder on GitHubat commit bbb3633

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in manaflow-ai/cmux, which our catalogue first saw on October 7, 2026.

Compare with similar skills

cmux Diagnostics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

cmux Diagnostics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
cmux Diagnostics this skillmanaflow-ai/cmux28k1 repos~819Automated safety check: PassCustom licence
QAteam-attention/hoyeon173—~2.6kAutomated safety check: NotesMIT
OpenLogi macOS Permissions TriageAprilNEA/OpenLogi23k—~2.5kAutomated safety check: NotesApache-2.0
LangBot Plugin Developmentlangbot-app/LangBot18k—~3.9kAutomated safety check: PassApache-2.0
Apple Crash Log .NET Symbolicationdotnet/skills5.6k1 repos~2.4kAutomated safety check: PassMIT
Peon-Ping Settings EditorPeonPing/peon-ping5.1k—~1.2kAutomated safety check: PassMIT

Similar skills

  • QA

    team-attention/hoyeon

    Systematically QA test any application — web apps, native macOS apps, Electron apps, CLI tools, interactive REPLs, or anything on screen.

    173 GitHub stars~2.6k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check: notes
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • LangBot Plugin Development

    langbot-app/LangBot

    Guides building, debugging and testing LangBot plugins: components, SDK calls, README and locale rules, SDK pitfalls and WebSocket-based testing.

    18k GitHub stars~3.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.

    5.6k GitHub starsUsed in 1 repo~2.4k tokens
    MobileAuto-check passed
  • Peon-Ping Settings Editor

    PeonPing/peon-ping

    Edits the peon-ping config file to change volume, sound packs, pack rotation, sound categories and notification options, then confirms the change.

    5.1k GitHub stars~1.2k tokensUpdated 4 days ago
    Productivity & AutomationAuto-check passed
  • Official

    Configures automatic crash dumps or captures dumps from running processes for modern .NET apps on Linux, macOS and Windows, including Docker and Kubernetes.

    5.6k GitHub starsUsed in 2 repos~1.1k tokens
    DevOps & CloudAuto-check passed

More from manaflow-ai/cmux

All 22 skills in this repo
  • cmux Settings Editor

    manaflow-ai/cmux

    Reads and changes cmux preferences in `~/.config/cmux/cmux.json` through a helper that validates each change before writing, covering terminal, browser, viewers and shortcuts.

    28k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • cmux Backend Rules

    manaflow-ai/cmux

    Sets the backend TypeScript and Cloud VM rules for cmux: Effect-based services, thin route handlers, Postgres as source of truth, migrations and provider secrets.

    28k GitHub starsUsed in 1 repo~682 tokens
    Auto-check passed
  • Cmux Debugging Guide

    manaflow-ai/cmux

    Covers debug logging, the Debug menu, profiling rules and runtime pitfalls for working on the cmux macOS terminal app.

    28k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Workflow rules for the Ghostty submodule in cmux: rebuilding GhosttyKit.xcframework, pushing fork changes and updating the parent submodule pointer safely.

    28k GitHub starsUsed in 1 repo~580 tokens
    Auto-check passed
  • Cmux Release Workflow

    manaflow-ai/cmux

    Runs the cmux release process: gathers per-PR changelog lines since the last tag, bumps the version, guards against a bad tag, then tags and pushes the macOS DMG release.

    28k GitHub starsUsed in 1 repo~856 tokens
    Auto-check passed
  • Opens, inspects, and drives a browser surface through the cmux CLI without stealing the user's focus, always targeting an explicit surface handle.

    28k GitHub stars~2.7k tokensUpdated today
    Auto-check passed

Works with

Questions about cmux Diagnostics

What does cmux Diagnostics do?

Runs a read-only health check for cmux and explains what it finds, covering the CLI and socket, settings, agent hooks, session restore and notifications. The agent starts with the bundled `cmux-diagnostics` script, found in the cmux checkout or in an installed-skill path, and keeps to read-only checks. It adds `--include-context` only when workspace names, working directories and cmux identifiers matter to the reported problem.

When should I use cmux Diagnostics?

cmux Diagnostics fits situations like: cmux notifications or agent hooks stop working; agent sessions are not resuming after panes are restored; preparing a support-safe debug summary of a cmux setup; running a cmux health check or doctor report.

How do I install cmux Diagnostics in Claude Code?

Run `npx skills add manaflow-ai/cmux --skill cmux-diagnostics -a claude-code`. Or copy the skill folder (skills/cmux-diagnostics in manaflow-ai/cmux) into .claude/skills/cmux-diagnostics in your project. Claude Code loads it when a task matches its description.

How do I install cmux Diagnostics in Codex?

Run `npx skills add manaflow-ai/cmux --skill cmux-diagnostics -a codex`. Or copy the skill folder (skills/cmux-diagnostics in manaflow-ai/cmux) into .agents/skills/cmux-diagnostics in your project. Codex loads it when a task matches its description.

Can I use cmux Diagnostics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add manaflow-ai/cmux --skill cmux-diagnostics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cmux-diagnostics, .gemini/skills/cmux-diagnostics, .github/skills/cmux-diagnostics and .opencode/skills/cmux-diagnostics in your project.

What does cmux Diagnostics need to run?

SKILL.md names no scripts, command-line tools or credentials: cmux Diagnostics is instructions for the agent only. Our summary lists: cmux with its CLI on PATH; The cmux app running, for the socket checks.

Does cmux Diagnostics access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is cmux Diagnostics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does cmux Diagnostics use?

cmux Diagnostics has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does cmux Diagnostics use?

About 819 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to cmux Diagnostics?

Skills that share tags, products or a category with cmux Diagnostics: QA (team-attention/hoyeon, 173 stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars), LangBot Plugin Development (langbot-app/LangBot, 18k stars) and Apple Crash Log .NET Symbolication (dotnet/skills, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains cmux Diagnostics?

manaflow-ai (a GitHub organization) maintains it in manaflow-ai/cmux, which has 28,076 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 10, 2026.

Source: manaflow-ai/cmux on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.