cmux

cmux is a skill for Claude Code from goddaehee/cmux-claude-skill. It costs 73 tokens per session (4,530 once invoked), scanned B, original, MIT.

A guide to cmux, a macOS app and command-line interface for organizing terminal and browser work into windows, workspaces, panes, and tabs.

In plain words
What is it for?
Use it to identify the current context, list or search workspaces and panes, inspect terminal or browser tabs, and read cmux status information.
Why use it?
It helps agents inspect and control the right terminal workspace and its parts through cmux commands.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cmux markdown open ./docs/plan.md # 라이브 리로드 뷰어 패널.

Part of the cmux-claude-skill plugin — 1 skill shipped together

Good fit Use it to identify the current context, list or search workspaces and panes, inspect terminal or browser tabs, and read cmux status information.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/goddaehee/cmux-claude-skill
agentmods
npx agentmods add skills/goddaehee/cmux-claude-skill/cmux

Made for: Claude Code.

Or install cmux-claude-skill, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cmux

README.md
[![agentmods](https://agentmods.dev/badge/skills/goddaehee/cmux-claude-skill/cmux/github.svg)](https://agentmods.dev/skills/goddaehee/cmux-claude-skill/cmux)
Your own site
<a href="https://agentmods.dev/skills/goddaehee/cmux-claude-skill/cmux"><img src="https://agentmods.dev/badge/skills/goddaehee/cmux-claude-skill/cmux/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cmux

Your own site · 80×15
<a href="https://agentmods.dev/skills/goddaehee/cmux-claude-skill/cmux"><img src="https://agentmods.dev/badge/skills/goddaehee/cmux-claude-skill/cmux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,530 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.04530
Opus 5 $0.00036 $0.02265
Sonnet 5 $0.00015 $0.00906
Haiku 4.5 $0.00007 $0.00453

Measured 9d ago against content hash 242435a6d47d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

cmux scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| `cmux: command not found` | 앱 실행 확인. `sudo ln -sf "/Applications/cmux.app/Contents/Resources/bin/cmux" /usr/local/bin/cmux` |
skills/cmux/SKILL.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

cmux — AI 에이전트 터미널 가이드

Version: v0.63.1 (2026-03-31 검증, cmux --help 기반)

사전 조건

  • macOS 14+, brew tap manaflow-ai/cmux && brew install --cask cmux
  • cmux 앱 실행 중이어야 CLI 동작
  • 환경변수 자동 설정: CMUX_WORKSPACE_ID, CMUX_SURFACE_ID, CMUX_SOCKET_PATH, CMUX_TAB_ID

계층

Window > Workspace(사이드바 탭) > Pane(분할) > Surface(터미널/브라우저 탭)

참조: window:1, workspace:1, pane:1, surface:1, tab:1 또는 UUID. 환경변수로 --workspace/--surface 생략 가능. 출력 형식: --id-format refs|uuids|both (기본: refs).

Socket Auth

--password > CMUX_SOCKET_PASSWORD 환경변수 > Settings 저장 비밀번호 순 우선.

핵심 CLI

탐색

명령어 설명
cmux identify [--no-caller] 현재 컨텍스트 (JSON)
cmux tree [--all] [--workspace <ref>] 전체 계층 트리
cmux list-workspaces 워크스페이스 목록
cmux list-panes [--workspace <ref>] 패인 목록
cmux list-pane-surfaces [--pane <ref>] 패인 내 서피스(탭) 목록
cmux list-panels [--workspace <ref>] 패널 목록
cmux find-window [--content] [--select] "query" 내용으로 서피스 검색
cmux capabilities 소켓 메서드 + 프로토콜 버전 (JSON)
cmux sidebar-state [--workspace <ref>] 사이드바 전체 상태 한번에 조회 (cwd, git, ports, status, progress, logs)

Window 관리

명령어 설명
cmux list-windows 윈도우 목록
cmux current-window 현재 윈도우
cmux new-window 새 윈도우
cmux focus-window --window <ref> 윈도우 포커스
cmux close-window --window <ref> 윈도우 닫기
cmux move-workspace-to-window --workspace <ref> --window <ref> 워크스페이스를 다른 윈도우로 이동

생성/관리

명령어 설명
cmux <path> 디렉토리를 새 워크스페이스에서 열기 (앱 미실행 시 자동 시작)
cmux new-workspace [--name <title>] [--cwd <path>] [--command "cmd"] 워크스페이스 생성
cmux ssh <dest> [--name <title>] [--port <n>] [--identity <path>] [--no-focus] SSH 워크스페이스 생성 (원격 프록시 포함)
cmux select-workspace --workspace <ref> 워크스페이스 선택(전환)
cmux rename-workspace [--workspace <ref>] "name" 워크스페이스 이름 변경
cmux close-workspace --workspace <ref> 워크스페이스 닫기
cmux workspace-action --action <name> [--workspace <ref>] [--color <name|#hex>] 액션: pin, unpin, close-others, close-above/below, move-up/down/top, mark-read/unread, set-color, clear-color

Read the full file on GitHub · 281 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 281 lines · 73 tokens per session scan B 242435a6d47d

Subscribe to this mod's changes

cmux is a skill published in the GitHub repository goddaehee/cmux-claude-skill (2 stars, last pushed 4mo ago), licensed MIT. It adds 73 tokens to every session and 4,530 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.