By hummer98
Control the cmux terminal multiplexer from within Claude Code: split panes, launch and monitor sub-agents, send commands and keys, read screen contents, and receive notifications — all without leaving the conversation.
日本語 | English

A Claude Code skill package for AI-driven cmux terminal operations.
Claude Code's built-in Agent tool is convenient, but what happens inside is opaque. It's difficult to inspect sub-agent output or intervene mid-task, making debugging and quality control challenging.
With cmux, everything is visible. By launching sub-agents on cmux — a terminal multiplexer — you can monitor each agent's I/O in real time and intervene at any point.
The existing hashangit/cmux-skill dedicates roughly 50% of its content to browser automation, burying the most critical use case: sub-agent operations. This package restructures that content, putting sub-agent operation patterns front and center.
| Category | Description |
|---|---|
| Basic operations | Pane splitting, workspace management, command sending, screen reading |
Newline rules for send | The most important rule — when to use \n vs. send-key return |
| Sub-agent launch pattern | Full lifecycle: launch → trust detection → prompt → completion detection → result collection |
read-screen troubleshooting | Fixes for empty/stale output, refresh-surfaces, etc. |
| Notifications | cmux notify (in-app) vs. osascript (macOS Notification Center) |
| Status & progress | Sidebar status and progress bar control |

bin/ wrappers are POSIX shell scripts and rely on jq, cmux CLI behavior tested only on macOS/Linux)./plugin marketplace add hummer98/using-cmux
/plugin install using-cmux
Skills, commands, and hooks are installed together.
To update:
/plugin update using-cmux
/reload-plugins
Note: To pick up changes in the
bin/wrapper scripts (cmux-readetc.), you must restart the cmux session. The plugin'sbin/path is baked into PATH at session start.
npx skills add hummer98/using-cmux
Note: Commands (
/cmux) and wrapper scripts (cmux-readetc.) are not included in Agent Skills distribution. Use Option 1 for full functionality.
When Claude Code starts inside a cmux session, it detects the CMUX_SOCKET_PATH environment variable and automatically loads the skill. No manual setup required.
When Claude Code receives cmux-related instructions, it follows the patterns in SKILL.md to perform pane splitting, command sending, sub-agent launching, and more.
/cmux CommandDisplay the quick reference:
/cmux
Useful for quickly checking available commands and basic usage.
The bin/ wrapper scripts (cmux-send, cmux-send-key, cmux-read) are thin wrappers around the cmux CLI. They:
--surface reference, look up the matching workspace via cmux tree --json, and forward the call to cmux send / cmux read / cmux send-keycmuxcmuxBecause these wrappers send keystrokes to a chosen cmux surface, an agent that can call cmux-send can in principle execute arbitrary commands inside the target surface (this is by design — that is what cmux is for). Treat installation of this plugin as granting the agent the same capability as a user typing into your terminal panes.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub hummer98/using-cmux --plugin using-cmuxMulti-agent development orchestration with Claude Code + cmux. Spawn, monitor, and integrate parallel sub-agents visually in terminal panes.
Deterministic Claude Code → wmux notifications via PostToolUse / Stop / SubagentStop / SessionStart hooks. Replaces wmux's regex-based agent detector with 100%-accurate hook signals when this plugin is installed.
Multi-agent development orchestration with Claude Code + cmux. Spawn, monitor, and integrate parallel sub-agents visually in terminal panes.
cmux terminal automation skills for Claude Code — workspace layouts, session snapshot/restore, surface organizer, and more.
Provides tmux-cli skill, to allow Claude-Code to interact with CLI scripts or other code-agents in tmux panes, using the `tmux-cli` command
Control Codex and Gemini from your phone. Coordinate AI agents across CLIs via tmux.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.