CMUX

CMUX is a skill for Claude Code, Codex from danielmiessler/LifeOS. It costs 155 tokens per session (1,782 once invoked), scanned A, original, MIT.

A Mac-only control panel for running and watching multiple coding agents in separate visible workspaces.

In plain words
What is it for?
It helps boot named agent teams, send them prompts, run agent races, monitor completion, and coordinate larger groups of agents.
Why use it?
It gives you one place to see, prompt, steer, and monitor agent teams instead of managing hidden processes separately.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/danielmiessler/lifeos/cmux
Any agent
npx skills add danielmiessler/LifeOS --skill cmux
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Made for: Claude Code, Codex.

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/danielmiessler/lifeos/cmux.svg)](https://agentmods.dev/skills/danielmiessler/lifeos/cmux)
Your own site
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/cmux"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/cmux.svg" alt="Measured on agentmods" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,782 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00155 $0.01782
Opus 5 $0.00077 $0.00891
Sonnet 5 $0.00031 $0.00356
Haiku 4.5 $0.00015 $0.00178

Measured 4d ago against content hash a9514d147106, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

CMUX scanned grade A with 0 findings 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (Tools/cmux.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

LifeOS/install/skills/CMUX/SKILL.md · 72 lines

How it starts

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

CMUX

Make cmux the cockpit for every agent — LifeOS's own and your hands-on coding teams. One command boots a named, color-identified workspace of agents you can see, prompt, and steer, because an agent you can't see is an agent you can't improve. {{DA_NAME}} drives them through cmux's real send/read/open-close loop; a poll-based monitor speaks up when they finish.

Everything routes through one wrapper: bun ~/.claude/skills/CMUX/Tools/cmux.ts <subcommand>. It auto-launches the cmux app — but cmux's socket is default-deny, so driving it needs auth (see the first Gotcha).

Status (2026-07-07): built and offline-verified — wrapper is type-clean (tsc/bun build), voice works live, public-clean grep passes, Kitty hooks untouched. Live-driving (boot-team/race/fleet/monitor) is UNPROVEN — it needs the socket-auth handshake, which has not yet executed. To prove it: run the wrapper inside a cmux surface (inherits auth), or set a cmux Settings socket password → CMUX_SOCKET_PASSWORD. Security note: a socket password lets any local process holding it drive your whole agent fleet — set it deliberately and never commit it to a public file.

Workflow Routing

Trigger Workflow
"boot a team", "3-tier team", "orchestrator/lead/workers" Workflows/BootTeam.md
"race agents", "hotfix race", "throw N agents at this", "needle in a haystack" Workflows/AgentRace.md
"fleet", "2x2 fleet", "named teams", "the remote fleet", "mini-fleet" Workflows/Fleet.md
"watch/monitor my agents", "tell me when they're done", "observe to improve" Workflows/Monitor.md

Quick Reference

CT=~/.claude/skills/CMUX/Tools/cmux.ts
bun $CT ping                                             # ensure cmux is up (auto-launches)
bun $CT boot-team --name debug --tiers orchestrator,lead,worker,worker
bun $CT race --feature login-500 --agents 4             # first-to-solve wins
bun $CT fleet --name alpha --grid 2x2 --cmds "claude;codex;claude;bun test --watch"
bun $CT mini-fleet                                       # SSH panes from USER fleet.json
bun $CT send --surface workspace:1/surface:2 "run the tests" --enter
bun $CT read --surface workspace:1/surface:2 --lines 40
bun $CT monitor --workspace workspace:1                  # poll + {{DA_NAME}} voice on done
bun $CT flash --workspace workspace:1                    # visual attention

Read the full file on GitHub · 72 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 72 lines · 155 tokens per session scan A a9514d147106

Subscribe to this mod's changes

CMUX is a skill published in the GitHub repository danielmiessler/LifeOS (18,872 stars, last pushed 20d ago), licensed MIT. It adds 155 tokens to every session and 1,782 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

echo-plugins

Build, validate, package, and stage optional Echo plugins using the Echo Plugin API v1 security and lifecycle contracts.

BrentFarris/echo · 27 tokens

browser-spa-framework

Architecture/conventions for the Echo browser SPA: Go stdlib server :3740, Vite-built TS+JS SPA (embedded web/dist), JSON envelope, WebSocket hub, chat tool loop, shared appdata echo.json, internal/tools registry, tool-generated media transport (Phase 0/1), and the file-browser image/video/audio preview surface…

BrentFarris/echo · 91 tokens

global-notifications

How Echo surfaces cross-surface/cross-tab alerts to the user: global WebSocket broadcasts (chatcompleted, planquestionsawaiting) mirrored by frontend notification modules that play sounds, show OS/browser Notifications, and deep-link on click.

BrentFarris/echo · 52 tokens

writing-tests

Write unit tests, component tests, and integration tests for AiderDesk using Vitest and React Testing Library. Use when creating new tests, adding test coverage, configuring mocks, setting up test files, or debugging failing tests.

hotovo/aider-desk · 48 tokens

reddit-snipe

Reddit 截流。在 coding agent / Claude Code / AI dev tool 的高互动帖下,以 pikiloom builder 身份自动发现→起草→自我批判→护栏→(按 posture)发布英文 peer 评论,并记录+度量。English-first。话术统一来自 promo/pitch.md;可由 promo/orchestrate.md 无人值守驱动。.

xiaotonng/pikiloom · 88 tokens

lc-curate-context

Decide which files a task actually needs, record that as a reusable llm-context rule, verify it against the codebase - including the files your selection references but leaves out - and pack it for your own context, a chat, or a sub-agent you dispatch. Load when choosing what code to put in front of a model, packing…

cyberchitta/llm-context.py · 90 tokens