cmux-diagnostics
できること
このスキルは、cmuxターミナルアプリの読み取り専用の健全性チェックを行い、結果を平易な言葉で説明します。cmuxを使い、何かが動かなくなったときに助けが必要な人向けです。
使う場面
- ✓cmuxのフック、通知、セッションの復元が、期待どおりに動かないとき。
- ✓cmuxのブラウザの自動操作、ソケットへのアクセス、CLIの制御が失敗するとき。
- ✓cmuxの健全性チェックや、助けてくれる人に送るサポート用の要約が欲しいとき。
スキルのリンク
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-diagnostics/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“cmuxの通知が動かなくなりました。何が問題か確認して、共有できるレポートを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、cmuxの状態情報を読む組み込みのスクリプトを実行し、秘密情報や非公開のファイルは飛ばします。そのうえで、何が正常で、何に修正が必要かを説明します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
このスキルは、私のパスワードや非公開のファイルを表示しますか?
いいえ、フックの設定ファイル、セッションの保存、プロンプトのログ、トークン、環境の秘密情報は表示しないようにしています。
チェックでパソコンの設定は変わりますか?
初期設定は読み取り専用のチェックなので、設定を変えずに現在の状態を確認します。
使うのにターミナルのコマンドを知っている必要がありますか?
いいえ、スキルがチェックを実行し、結果の意味を説明します。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 29k
- ランキング
- #9799
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
cmux-browser
29kエージェントが、cmuxでWebサイトを開き、作業のフォーカスを奪わずに、ブラウザのペインを読み取り、クリックし、情報を取り出せるよう支援します。
cmux-capture
29kエージェントが、cmuxのウィンドウのスクリーンショットや短い録画を撮れるようにし、視覚的な変化やバグを実際の証拠として示せるよう支援します。
cmux-cloud-vm
29kエージェントが、cmux Cloudのマシン上でコマンドを実行し、コーディングエージェントを起動し、ワークスペースを表示できるよう支援します。ペインを閉じても作業は続きます。
cmux-cua
29kエージェントが、cmux Computer Useエンジンを通じて、実際のmacOSアプリを操作できるよう支援します。アクセシビリティツリーを読み取り、あなたの代わりにクリック、入力、スクロールを行います。