[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CABAPYFZJHSNMWEYGV7MJT":3,"skill-same:01M6CABAPYFZJHSNMWEYGV7MJT":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":57,"linkOnly":58,"markdownContent":59,"markdownBody":60,"frontMatter":61,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":65,"repositoryHtmlUrl":66,"repositoryHomepageUrl":13,"ownerHtmlUrl":67,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":68,"install":69,"resources":82},"01M6CABAPYFZJHSNMWEYGV7MJT","cmux","cmux 终端复用器控制","Control cmux terminal multiplexer via its Unix socket API. Use when needing to: (1) List, create, select, or close workspaces; (2) Split panes and manage surfaces; (3) Send text or key presses to terminals; (4) Create notifications; (5) Set sidebar status, progress bars, or log entries; (6) Query system state. Requires cmux CLI or Unix socket at \u002Ftmp\u002Fcmux.sock. ALWAYS validate commands via cmux_validator before execution.","通过 Unix socket API 控制 cmux 终端复用器。适用于以下需求：(1) 列出、创建、选择或关闭工作区；(2) 拆分窗格并管理界面；(3) 向终端发送文本或按键；(4) 创建通知；(5) 设置侧边栏状态、进度条或日志条目；(6) 查询系统状态。需要 cmux CLI 或位于 \u002Ftmp\u002Fcmux.sock 的 Unix socket。执行前务必通过 cmux_validator 校验命令。","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX",null,"01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fhermes-imports\u002Fcmux\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[5,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56],"list","when","send","at","socket","validator","multiplexer","close","progress","query","workspaces","log","use","cli","select","panes","text","system","api","execution","SET","notifications","state","create","status","validate","terminal","2026-11-10 10:12:30",false,"---\nname: cmux\ndescription: \"Control cmux terminal multiplexer via its Unix socket API. Use when needing to: (1) List, create, select, or close workspaces; (2) Split panes and manage surfaces; (3) Send text or key presses to terminals; (4) Create notifications; (5) Set sidebar status, progress bars, or log entries; (6) Query system state. Requires cmux CLI or Unix socket at \u002Ftmp\u002Fcmux.sock. ALWAYS validate commands via cmux_validator before execution.\"\n---\n\n## ⚠️ Submit Discipline (MANDATORY — read this before every cmux steer)\n\n`cmux send` does **NOT** press Enter. This is the #1 recurring cmux failure mode\n(verified 2026-07-16: user explicitly flagged \"you always forget to send\" after the\nfable iOS pivot bootstrap). The **4-step ritual** below is a hard contract for every\nsend to a cmux surface. Skip ANY step and the message sits in the input buffer\nwithout ever reaching the agent.\n\n### ⚠️ Output Contract — typed text + terminal response (MANDATORY)\n\nEvery reply that reports a `cmux send` action MUST include, in the same reply:\n\n1. **The exact text that was typed** — verbatim copy of the string passed to `cmux send`.\n2. **The cmux terminal response** — verbatim transcript of what `cmux capture-pane` \u002F\n   `cmux read-screen` returned AFTER the `cmux send-key enter` settle window\n   (typically 5-15s). Specifically, the agent's first action after absorption.\n3. **Submission status** — explicit verdict: \"submitted (churning label X)\",\n   \"not submitted (text still at ❯ prompt)\", or \"blocked (no churn, retried N times)\".\n\n**Treat as not working until we see a response.** A reply that does NOT include\nboth the typed text AND a terminal response is invalid evidence that the\nsteer landed. The operator cannot distinguish a successful send from a failed\nsend that left text in the input buffer.\n\nCanonical contract + echo-back template: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md`.\n\n### ⚠️ LLM-Provenance Caveat (MANDATORY footer)\n\nEvery reply that quotes cmux output, terminal text, or agent actions produced\nby another LLM (the worker agent OR the assistant's own synthesis of agent\noutput) MUST end with this verbatim footer:\n\n> *This was generated from another LLM and not the actual user, so feel free\n> to push back if you disagree and we can discuss.*\n\nFull caveat rules + scope: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md` § \"LLM-Provenance Caveat\".\n\n### The 4-step ritual\n\n```bash\n# STEP 1 — Type the text. OK response only proves socket acceptance, NOT submission.\ncmux send --workspace workspace:N --surface surface:M \"your message\"\n\n# STEP 2 — Press Enter. send does NOT auto-press Enter.\ncmux send-key --workspace workspace:N --surface surface:M enter\n\n# STEP 3 — Wait 5-15 seconds for the agent to start processing.\nsleep 8\n\n# STEP 4 — Verify with churning label (THE ONLY definitive proof).\ncmux capture-pane --workspace workspace:N --surface surface:M --lines 25\n# Look for one of:\n#   - \"Working (Xs • esc to interrupt)\"\n#   - \"Forming… (Xs · thinking)\"\n#   - \"Precipitating… (Xs · ↓ tokens)\"\n#   - \"Brewed \u002F Churned \u002F Cooked for Xm\"\n# If you see ANY active churning label → SUBMITTED.\n# If the text is still sitting at the ❯ prompt → NOT submitted, repeat step 2.\n# If \"Stopped\" \u002F \"Done\" \u002F nothing → no churn, investigate.\n```\n\n### Echo-back proof (MANDATORY)\n\nEvery cmux steering action MUST be followed by an **echo-back proof** in the same\nturn or the immediate next turn to your operator (Slack thread, terminal reply,\nor whichever channel triggered the steer):\n\n> ◀ sent to surface:55 (LEFT\u002Fclaudec) at \u003CHH:MM:SS PT> — 4-step ritual complete;\n> churning label \"Forming… 9s · ↓ 4.9k tokens\" confirmed via capture-pane.\n\n**Banned** (these are the failure modes the user keeps flagging):\n- \"I sent the message\" (no Enter proof)\n- \"The agent should have received it\" (no churning label)\n- `cmux send` with no follow-up `cmux send-key enter`\n- Sending to a surface that hasn't been focused (the global focus may be on a\n  different workspace; use the raw RPC `surface.focus` if needed)\n\n### Worktree-pointer strategy for long briefs\n\nFor task briefs >200 chars (e.g. orchestrating iOS app pivot, multi-PR review),\ndo NOT paste the full text into the input. Write the brief to a file in the\nagent's cwd (e.g. `.cmux-\u003Ctask>-brief.md`) and send a 1-2 line pointer. This\navoids the autocompleter contamination pitfall where shell-style tokens inside\nlong text trigger tab completion mid-stream.\n\n### Canonical reference\n\nFull recipe + edge cases + the 2026-06-25 worked example live at:\n`~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Fsend-submit-proof-2026-06-25.md`\n\nThis rule was added 2026-07-16 after the fable iOS pivot bootstrap surfaced\n\"you always forget to send\" \u002F \"make sure you press submit and the work starts\non the cmux input\" (Slack ts 1784185650.528089). Apply it uniformly to every\ncmux-touching skill.\n\n# cmux\n\nControl cmux terminal multiplexer programmatically via its Unix socket API or CLI.\n\n## ⚠️ Preflight Validation (REQUIRED before execution)\n\n**Before running any cmux CLI command, you MUST validate it.**\n\nThe cmux command validator catches common mistakes before they produce silent help dumps:\n\n```python\nfrom orchestration.cmux_validator import validate, truncate_output\n\nresult = validate(\"cmux list-surfaces --workspace 23 --json\")\nif not result.valid:\n    # Post the rejection to Slack thread immediately\n    slack.post_message(channel_id, result.to_slack_message(session_id=ws))\n    return  # Stop — do not proceed with invalid command\n```\n\n**Known failure modes this prevents:**\n- `cmux list-surfaces --workspace 23 --json` → `--json` is not a valid flag for this command\n- `cmux list-surface` → wrong subcommand (should be `list-surfaces`)\n- `cmux tree` → no such command (use `cmux list-surfaces`)\n\n## ⚠️ Status Bar Interpretation — NOT Frozen\n\nClaude Code status bar states to interpret correctly:\n- **`⏵⏵ bypass permissions on`** in status bar = normal Claude Code prompt UI, NOT a blocking dialog — Claude Code is actively working around it\n- **Active churning timestamps** (e.g., \"Churned for 9m 41s\", \"Sautéed for 2m 38s\") = genuinely working workspace, NOT frozen\n- **\"Still running\" indicator** = work in progress, not stalled\n- **Idle bash shell** (fresh login prompt) = workspace is done or waiting for input, NOT frozen\n- **ctx XX% progress** = active context usage, workspace is alive\n\n**What IS actually blocked:**\n- `bypass permissions on (shift+tab to cycle)` with NO active churning\u002Ftime-on-task and NO progress indicator = may be a real stall\n- \"Index error\" or \"workspace unreachable\" = workspace handle drift, genuinely blocked\n- Shell at `claude`\u002F`claudem` typed but no Claude Code active = shell-level stall, needs restart\n- \"Add a follow-up\" dialog open in Composer 2 Fast = blocked on human follow-up, not frozen\n\n**Key rule:** A workspace with an active time-on-task label (\"Churned for Xm\", \"Crunched for Xm\") is working, regardless of what the status bar shows. Only report as \"frozen\" when there's evidence of no activity AND no active time-on-task.\n\n## Error \u002F stderr Handling\n\nIf cmux fails and emits a large help dump to stderr:\n\n```python\n# Always emit terminal status even on error\ntry:\n    result = subprocess.run(...)\nexcept Exception as exc:\n    msg = f\":fire: cmux error: `{exc}`\"\n    slack.post_message(channel_id, msg, thread_ts=thread_ts)\n    return\n\n# Truncate large output for Slack display\nif len(stderr) > 2000 or stderr.count(\"\\n\") > 20:\n    summary = truncate_output(stderr)\n    slack.post_message(channel_id, f\":warning: cmux output truncated:\\n```\\n{summary}\\n```\", ...)\n```\n\n## Socket Connection\n\n```bash\nSOCKET_PATH=\"${CMUX_SOCKET_PATH:-\u002Ftmp\u002Fcmux.sock}\"\n```\n\nSend JSON-RPC requests:\n```json\n{\"id\":\"req-1\",\"method\":\"workspace.list\",\"params\":{}}\n```\n\n## CLI Quick Reference\n\n```bash\n# Output as JSON\ncmux --json \u003Ccommand>\n\n# Target specific workspace\u002Fsurface\ncmux --workspace \u003Cid> --surface \u003Cid> \u003Ccommand>\n```\n\n## Workspace\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| List all | `cmux list-workspaces` | `workspace.list` |\n| Create new | `cmux new-workspace` | `workspace.create` |\n| Select | `cmux select-workspace --workspace \u003Cid>` | `workspace.select` |\n| Get current | `cmux current-workspace` | `workspace.current` |\n| Close | `cmux close-workspace --workspace \u003Cid>` | `workspace.close` |\n\n## Splits & Surfaces\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| New split | `cmux new-split \u003Cdirection>` | `surface.split` (direction: left\u002Fright\u002Fup\u002Fdown) |\n| List surfaces | `cmux list-surfaces` | `surface.list` |\n| Focus surface | `cmux focus-surface --surface \u003Cid>` | `surface.focus` |\n\n## Input\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| Send text | `cmux send \"echo hello\"` | `surface.send_text` |\n| Send key | `cmux send-key enter` | `surface.send_key` |\n| Send to surface | `cmux send-surface --surface \u003Cid> \"cmd\"` | `surface.send_text` (with surface_id) |\n\nKeys: `enter`, `tab`, `escape`, `backspace`, `delete`, `up`, `down`, `left`, `right`\n\n## Notifications\n\n```bash\ncmux notify --title \"Title\" --body \"Body\"\n# Socket: notification.create\n```\n\n## Sidebar Metadata\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| Set status | `cmux set-status \u003Ckey> \u003Cvalue>` | (socket only) |\n| Clear status | `cmux clear-status \u003Ckey>` | (socket only) |\n| Set progress | `cmux set-progress 0.5 --label \"Building...\"` | (socket only) |\n| Clear progress | `cmux clear-progress` | (socket only) |\n| Log entry | `cmux log \"message\" --level error` | (socket only) |\n| Clear log | `cmux clear-log` | (socket only) |\n\n## System\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| Ping | `cmux ping` | `system.ping` |\n| Capabilities | `cmux capabilities` | `system.capabilities` |\n| Identify context | `cmux identify` | `system.identify` |\n\n## Python Client\n\n```python\nimport json\nimport os\nimport socket\n\nSOCKET_PATH = os.environ.get(\"CMUX_SOCKET_PATH\", \"\u002Ftmp\u002Fcmux.sock\")\n\ndef rpc(method, params=None, req_id=1):\n    payload = {\"id\": req_id, \"method\": method, \"params\": params or {}}\n    with socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) as sock:\n        sock.connect(SOCKET_PATH)\n        sock.sendall(json.dumps(payload).encode(\"utf-8\") + b\"\\n\")\n        return json.loads(sock.recv(65536).decode(\"utf-8\"))\n\n# List workspaces\nprint(rpc(\"workspace.list\", req_id=\"ws\"))\n\n# Send notification\nprint(rpc(\"notification.create\", {\"title\": \"Hello\", \"body\": \"From Python!\"}))\n```\n\n## Shell Helper\n\n```bash\ncmux_cmd() {\n    SOCK=\"${CMUX_SOCKET_PATH:-\u002Ftmp\u002Fcmux.sock}\"\n    printf \"%s\\n\" \"$1\" | nc -U \"$SOCK\"\n}\n\ncmux_cmd '{\"id\":\"ws\",\"method\":\"workspace.list\",\"params\":{}}'\n```\n\n## Check if cmux is Available\n\n```bash\n[ -S \"${CMUX_SOCKET_PATH:-\u002Ftmp\u002Fcmux.sock}\" ] && echo \"cmux socket available\"\ncommand -v cmux &>\u002Fdev\u002Fnull && echo \"cmux CLI available\"\n```\n","## ⚠️ Submit Discipline (MANDATORY — read this before every cmux steer)\n\n`cmux send` does **NOT** press Enter. This is the #1 recurring cmux failure mode\n(verified 2026-07-16: user explicitly flagged \"you always forget to send\" after the\nfable iOS pivot bootstrap). The **4-step ritual** below is a hard contract for every\nsend to a cmux surface. Skip ANY step and the message sits in the input buffer\nwithout ever reaching the agent.\n\n### ⚠️ Output Contract — typed text + terminal response (MANDATORY)\n\nEvery reply that reports a `cmux send` action MUST include, in the same reply:\n\n1. **The exact text that was typed** — verbatim copy of the string passed to `cmux send`.\n2. **The cmux terminal response** — verbatim transcript of what `cmux capture-pane` \u002F\n   `cmux read-screen` returned AFTER the `cmux send-key enter` settle window\n   (typically 5-15s). Specifically, the agent's first action after absorption.\n3. **Submission status** — explicit verdict: \"submitted (churning label X)\",\n   \"not submitted (text still at ❯ prompt)\", or \"blocked (no churn, retried N times)\".\n\n**Treat as not working until we see a response.** A reply that does NOT include\nboth the typed text AND a terminal response is invalid evidence that the\nsteer landed. The operator cannot distinguish a successful send from a failed\nsend that left text in the input buffer.\n\nCanonical contract + echo-back template: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md`.\n\n### ⚠️ LLM-Provenance Caveat (MANDATORY footer)\n\nEvery reply that quotes cmux output, terminal text, or agent actions produced\nby another LLM (the worker agent OR the assistant's own synthesis of agent\noutput) MUST end with this verbatim footer:\n\n> *This was generated from another LLM and not the actual user, so feel free\n> to push back if you disagree and we can discuss.*\n\nFull caveat rules + scope: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md` § \"LLM-Provenance Caveat\".\n\n### The 4-step ritual\n\n```bash\n# STEP 1 — Type the text. OK response only proves socket acceptance, NOT submission.\ncmux send --workspace workspace:N --surface surface:M \"your message\"\n\n# STEP 2 — Press Enter. send does NOT auto-press Enter.\ncmux send-key --workspace workspace:N --surface surface:M enter\n\n# STEP 3 — Wait 5-15 seconds for the agent to start processing.\nsleep 8\n\n# STEP 4 — Verify with churning label (THE ONLY definitive proof).\ncmux capture-pane --workspace workspace:N --surface surface:M --lines 25\n# Look for one of:\n#   - \"Working (Xs • esc to interrupt)\"\n#   - \"Forming… (Xs · thinking)\"\n#   - \"Precipitating… (Xs · ↓ tokens)\"\n#   - \"Brewed \u002F Churned \u002F Cooked for Xm\"\n# If you see ANY active churning label → SUBMITTED.\n# If the text is still sitting at the ❯ prompt → NOT submitted, repeat step 2.\n# If \"Stopped\" \u002F \"Done\" \u002F nothing → no churn, investigate.\n```\n\n### Echo-back proof (MANDATORY)\n\nEvery cmux steering action MUST be followed by an **echo-back proof** in the same\nturn or the immediate next turn to your operator (Slack thread, terminal reply,\nor whichever channel triggered the steer):\n\n> ◀ sent to surface:55 (LEFT\u002Fclaudec) at \u003CHH:MM:SS PT> — 4-step ritual complete;\n> churning label \"Forming… 9s · ↓ 4.9k tokens\" confirmed via capture-pane.\n\n**Banned** (these are the failure modes the user keeps flagging):\n- \"I sent the message\" (no Enter proof)\n- \"The agent should have received it\" (no churning label)\n- `cmux send` with no follow-up `cmux send-key enter`\n- Sending to a surface that hasn't been focused (the global focus may be on a\n  different workspace; use the raw RPC `surface.focus` if needed)\n\n### Worktree-pointer strategy for long briefs\n\nFor task briefs >200 chars (e.g. orchestrating iOS app pivot, multi-PR review),\ndo NOT paste the full text into the input. Write the brief to a file in the\nagent's cwd (e.g. `.cmux-\u003Ctask>-brief.md`) and send a 1-2 line pointer. This\navoids the autocompleter contamination pitfall where shell-style tokens inside\nlong text trigger tab completion mid-stream.\n\n### Canonical reference\n\nFull recipe + edge cases + the 2026-06-25 worked example live at:\n`~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Fsend-submit-proof-2026-06-25.md`\n\nThis rule was added 2026-07-16 after the fable iOS pivot bootstrap surfaced\n\"you always forget to send\" \u002F \"make sure you press submit and the work starts\non the cmux input\" (Slack ts 1784185650.528089). Apply it uniformly to every\ncmux-touching skill.\n\n# cmux\n\nControl cmux terminal multiplexer programmatically via its Unix socket API or CLI.\n\n## ⚠️ Preflight Validation (REQUIRED before execution)\n\n**Before running any cmux CLI command, you MUST validate it.**\n\nThe cmux command validator catches common mistakes before they produce silent help dumps:\n\n```python\nfrom orchestration.cmux_validator import validate, truncate_output\n\nresult = validate(\"cmux list-surfaces --workspace 23 --json\")\nif not result.valid:\n    # Post the rejection to Slack thread immediately\n    slack.post_message(channel_id, result.to_slack_message(session_id=ws))\n    return  # Stop — do not proceed with invalid command\n```\n\n**Known failure modes this prevents:**\n- `cmux list-surfaces --workspace 23 --json` → `--json` is not a valid flag for this command\n- `cmux list-surface` → wrong subcommand (should be `list-surfaces`)\n- `cmux tree` → no such command (use `cmux list-surfaces`)\n\n## ⚠️ Status Bar Interpretation — NOT Frozen\n\nClaude Code status bar states to interpret correctly:\n- **`⏵⏵ bypass permissions on`** in status bar = normal Claude Code prompt UI, NOT a blocking dialog — Claude Code is actively working around it\n- **Active churning timestamps** (e.g., \"Churned for 9m 41s\", \"Sautéed for 2m 38s\") = genuinely working workspace, NOT frozen\n- **\"Still running\" indicator** = work in progress, not stalled\n- **Idle bash shell** (fresh login prompt) = workspace is done or waiting for input, NOT frozen\n- **ctx XX% progress** = active context usage, workspace is alive\n\n**What IS actually blocked:**\n- `bypass permissions on (shift+tab to cycle)` with NO active churning\u002Ftime-on-task and NO progress indicator = may be a real stall\n- \"Index error\" or \"workspace unreachable\" = workspace handle drift, genuinely blocked\n- Shell at `claude`\u002F`claudem` typed but no Claude Code active = shell-level stall, needs restart\n- \"Add a follow-up\" dialog open in Composer 2 Fast = blocked on human follow-up, not frozen\n\n**Key rule:** A workspace with an active time-on-task label (\"Churned for Xm\", \"Crunched for Xm\") is working, regardless of what the status bar shows. Only report as \"frozen\" when there's evidence of no activity AND no active time-on-task.\n\n## Error \u002F stderr Handling\n\nIf cmux fails and emits a large help dump to stderr:\n\n```python\n# Always emit terminal status even on error\ntry:\n    result = subprocess.run(...)\nexcept Exception as exc:\n    msg = f\":fire: cmux error: `{exc}`\"\n    slack.post_message(channel_id, msg, thread_ts=thread_ts)\n    return\n\n# Truncate large output for Slack display\nif len(stderr) > 2000 or stderr.count(\"\\n\") > 20:\n    summary = truncate_output(stderr)\n    slack.post_message(channel_id, f\":warning: cmux output truncated:\\n```\\n{summary}\\n```\", ...)\n```\n\n## Socket Connection\n\n```bash\nSOCKET_PATH=\"${CMUX_SOCKET_PATH:-\u002Ftmp\u002Fcmux.sock}\"\n```\n\nSend JSON-RPC requests:\n```json\n{\"id\":\"req-1\",\"method\":\"workspace.list\",\"params\":{}}\n```\n\n## CLI Quick Reference\n\n```bash\n# Output as JSON\ncmux --json \u003Ccommand>\n\n# Target specific workspace\u002Fsurface\ncmux --workspace \u003Cid> --surface \u003Cid> \u003Ccommand>\n```\n\n## Workspace\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| List all | `cmux list-workspaces` | `workspace.list` |\n| Create new | `cmux new-workspace` | `workspace.create` |\n| Select | `cmux select-workspace --workspace \u003Cid>` | `workspace.select` |\n| Get current | `cmux current-workspace` | `workspace.current` |\n| Close | `cmux close-workspace --workspace \u003Cid>` | `workspace.close` |\n\n## Splits & Surfaces\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| New split | `cmux new-split \u003Cdirection>` | `surface.split` (direction: left\u002Fright\u002Fup\u002Fdown) |\n| List surfaces | `cmux list-surfaces` | `surface.list` |\n| Focus surface | `cmux focus-surface --surface \u003Cid>` | `surface.focus` |\n\n## Input\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| Send text | `cmux send \"echo hello\"` | `surface.send_text` |\n| Send key | `cmux send-key enter` | `surface.send_key` |\n| Send to surface | `cmux send-surface --surface \u003Cid> \"cmd\"` | `surface.send_text` (with surface_id) |\n\nKeys: `enter`, `tab`, `escape`, `backspace`, `delete`, `up`, `down`, `left`, `right`\n\n## Notifications\n\n```bash\ncmux notify --title \"Title\" --body \"Body\"\n# Socket: notification.create\n```\n\n## Sidebar Metadata\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| Set status | `cmux set-status \u003Ckey> \u003Cvalue>` | (socket only) |\n| Clear status | `cmux clear-status \u003Ckey>` | (socket only) |\n| Set progress | `cmux set-progress 0.5 --label \"Building...\"` | (socket only) |\n| Clear progress | `cmux clear-progress` | (socket only) |\n| Log entry | `cmux log \"message\" --level error` | (socket only) |\n| Clear log | `cmux clear-log` | (socket only) |\n\n## System\n\n| Action | CLI | Socket Method |\n|--------|-----|---------------|\n| Ping | `cmux ping` | `system.ping` |\n| Capabilities | `cmux capabilities` | `system.capabilities` |\n| Identify context | `cmux identify` | `system.identify` |\n\n## Python Client\n\n```python\nimport json\nimport os\nimport socket\n\nSOCKET_PATH = os.environ.get(\"CMUX_SOCKET_PATH\", \"\u002Ftmp\u002Fcmux.sock\")\n\ndef rpc(method, params=None, req_id=1):\n    payload = {\"id\": req_id, \"method\": method, \"params\": params or {}}\n    with socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) as sock:\n        sock.connect(SOCKET_PATH)\n        sock.sendall(json.dumps(payload).encode(\"utf-8\") + b\"\\n\")\n        return json.loads(sock.recv(65536).decode(\"utf-8\"))\n\n# List workspaces\nprint(rpc(\"workspace.list\", req_id=\"ws\"))\n\n# Send notification\nprint(rpc(\"notification.create\", {\"title\": \"Hello\", \"body\": \"From Python!\"}))\n```\n\n## Shell Helper\n\n```bash\ncmux_cmd() {\n    SOCK=\"${CMUX_SOCKET_PATH:-\u002Ftmp\u002Fcmux.sock}\"\n    printf \"%s\\n\" \"$1\" | nc -U \"$SOCK\"\n}\n\ncmux_cmd '{\"id\":\"ws\",\"method\":\"workspace.list\",\"params\":{}}'\n```\n\n## Check if cmux is Available\n\n```bash\n[ -S \"${CMUX_SOCKET_PATH:-\u002Ftmp\u002Fcmux.sock}\" ] && echo \"cmux socket available\"\ncommand -v cmux &>\u002Fdev\u002Fnull && echo \"cmux CLI available\"\n```\n",{"name":5,"description":7},"main","05df7380981a2c4af868ce0fa57962ae0eea62a9","hermes\u002Fskills\u002Fhermes-imports\u002Fcmux",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":9,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill cmux",{"tool":75,"command":76},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill cmux",{"tool":78,"command":79},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill cmux","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fhermes-imports\u002Fcmux\u002FSKILL.md",true,[83,89,93],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"_meta.json","REFERENCE","参考文档",123,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fhermes-imports\u002Fcmux\u002F_meta.json",{"path":90,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":91,"sourceHtmlUrl":92},".clawhub\u002Forigin.json",136,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fhermes-imports\u002Fcmux\u002F.clawhub\u002Forigin.json",{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fcmux_client.py","SCRIPT","脚本",1248,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fhermes-imports\u002Fcmux\u002Fscripts\u002Fcmux_client.py",[100,108,115,123,131,140],{"skillNo":101,"name":102,"nameZh":13,"description":103,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":107},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":109,"name":110,"nameZh":13,"description":111,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":107},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":13,"description":118,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":122},"01M7622KQJ32AV4K5BXEMVSSEB","pr","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":124,"name":125,"nameZh":13,"description":126,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":130},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":132,"name":133,"nameZh":13,"description":134,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":135,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":130},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":13,"description":143,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":130},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]