Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By manifoldlogicv0.1.2MITIn 1 marketplace
cmux terminal management for macOS host via SSH from devcontainers
Claude loads one when your task matches it, or you run it by name.
The cmux plugin provides cmux terminal management capabilities for Claude Code, enabling automated workspace, pane, and surface management on a macOS host from within devcontainers via SSH. cmux uses workspaces as its primary organizational unit, with a hierarchy of window > workspace > pane > surface. This plugin is designed for developers who work in devcontainer-based workflows and need programmatic terminal control through the cmux application.
allowAll -- The default socket access mode blocks SSH-based control. This must be configured before anything else:
defaults write com.cmuxterm.app socketControlMode -string allowAll
/Applications/cmux.app/Contents/Resources/bin/cmuxhost.docker.internalHOST_USER environment variable set in devcontainer.json remoteEnv (see Configuration below)~/.ssh/ and authorized on the macOS host/plugin install cmux@crewchief
cmux defaults to a restricted socket access mode that blocks SSH-based control. You must change this setting before the plugin can communicate with cmux.
# Option 1: Command line (recommended)
defaults write com.cmuxterm.app socketControlMode -string allowAll
# Option 2: cmux Settings UI
# Open cmux → Settings → Socket Access Mode → "Allow All"
Override the default cmux binary path (/Applications/cmux.app/Contents/Resources/bin/cmux) when cmux is installed in a non-standard location:
export CMUX_BIN_OVERRIDE="/usr/local/bin/cmux"
Or set it in devcontainer.json:
"remoteEnv": {
"CMUX_BIN_OVERRIDE": "/usr/local/bin/cmux"
}
The HOST_USER environment variable tells the plugin which macOS user account to SSH into. Add it to your devcontainer.json:
"remoteEnv": {
"HOST_USER": "${localEnv:USER}"
}
Then rebuild the container: F1 > "Dev Containers: Rebuild Container"
Run the cmux-check.sh script from the repository root to confirm all prerequisites are met:
bash plugins/cmux/skills/terminal-management/scripts/cmux-check.sh
When all checks pass, you will see output confirming:
If the socketControlMode check fails, run the fix command on your macOS host:
defaults write com.cmuxterm.app socketControlMode -string allowAll
Then re-run the check script to confirm.
# Set up for convenience
CMUX="/Applications/cmux.app/Contents/Resources/bin/cmux"
SSH="ssh -o BatchMode=yes -o ConnectTimeout=5 ${HOST_USER}@host.docker.internal"
# Check connectivity
bash plugins/cmux/skills/terminal-management/scripts/cmux-check.sh
# Create a new workspace
$SSH "$CMUX new-workspace"
# Send a command (two steps: type then execute)
$SSH "$CMUX send --workspace workspace:1 'your command'"
$SSH "$CMUX send-key --workspace workspace:1 enter"
For the complete command reference, scenarios, and advanced usage, see SKILL.md.
| Symptom | Likely Cause | Fix |
|---|---|---|
| "Access denied" or socket errors | socketControlMode not set to allowAll | defaults write com.cmuxterm.app socketControlMode -string allowAll |
cmux: command not found | Binary not in SSH PATH | Use full path /Applications/cmux.app/Contents/Resources/bin/cmux |
| HOST_USER not set | devcontainer.json remoteEnv not configured | Add "HOST_USER": "${localEnv:USER}" to remoteEnv and rebuild container |
| SSH connection fails | SSH keys not mounted or wrong user | Check ~/.ssh/ exists in container and keys are authorized on host |
| cmux not responding | cmux app not running on macOS host | Launch cmux on your macOS host |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub manifoldlogic/claude-code-plugins --plugin cmuxPlugins from other owners that cover similar ground