cmux-diagnostics
Skill này làm gì
Skill này chạy kiểm tra sức khỏe chỉ đọc trên ứng dụng terminal cmux và giải thích kết quả bằng ngôn ngữ đơn giản. Nó dành cho người dùng cmux cần trợ giúp khi có gì đó ngừng hoạt động.
Khi nào nên dùng
- ✓Khi hook, thông báo hoặc khôi phục phiên trong cmux không hoạt động như mong đợi.
- ✓Khi tự động hóa trình duyệt, truy cập socket hoặc điều khiển CLI trong cmux bị lỗi.
- ✓Khi bạn muốn kiểm tra sức khỏe cmux hoặc có một bản tóm tắt an toàn để gửi cho người có thể giúp.
Liên kết skill
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-diagnostics/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thông báo cmux của tôi đã ngừng hoạt động. Bạn có thể kiểm tra xem có gì sai và đưa cho tôi một báo cáo để chia sẻ không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chạy một script tích hợp để đọc thông tin trạng thái cmux, bỏ qua bí mật và các file riêng tư, rồi giải thích điều gì đang ổn và điều gì cần sửa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Skill này có hiển thị mật khẩu hoặc file riêng tư của tôi không?
Không. Skill tránh đưa ra các file cấu hình hook, kho phiên, nhật ký lời nhắc, token và biến môi trường chứa bí mật.
Kiểm tra có thay đổi gì trên máy tính của tôi không?
Mặc định nó chỉ kiểm tra ở chế độ chỉ đọc, nên xem trạng thái hiện tại mà không thay đổi cài đặt.
Tôi có cần biết lệnh terminal để dùng không?
Không. Skill tự chạy các kiểm tra và giải thích ý nghĩa của kết quả.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9799
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
cmux-browser
29kCho phép agent của bạn mở website trong cmux, đọc, nhấp và trích xuất thông tin từ khung trình duyệt mà không chiếm tiêu điểm của bạn.
cmux-capture
29kCho phép agent của bạn chụp ảnh màn hình hoặc ghi lại ngắn một cửa sổ cmux, để bạn có bằng chứng thực tế khi cho thấy một thay đổi trực quan hoặc một lỗi.
cmux-cloud-vm
29kCho phép agent của bạn chạy lệnh, khởi động agent lập trình và hiển thị workspace trên các máy cmux Cloud, giữ công việc chạy tiếp sau khi pane đóng.
cmux-cua
29kCho phép agent của bạn thao tác ứng dụng macOS thật qua engine Computer Use của cmux, đọc cây accessibility và nhấp, gõ, cuộn thay bạn.
Skill tương tự
blucli
394kGiúp agent của bạn tìm, phát, tạm dừng, nhóm và chỉnh âm lượng loa Bluesound và NAD qua lệnh blu.
camsnap
394kGiúp agent của bạn chụp ảnh, quay clip ngắn hoặc lấy sự kiện chuyển động từ camera mạng và webcam nội bộ mà bạn đã thiết lập.
eightctl
394kGiúp agent của bạn kiểm tra và điều khiển thiết bị Eight Sleep pod, gồm nhiệt độ, báo thức và lịch ngủ.