cmux-architecture
cmux package architecture, refactor layering, dependency inversion, file organization, DocC documentation, package design…
Operate cmux Cloud machines, run durable remote commands or agents, and present their workspaces or services. Use for cmux vm/cloud tasks; backend implementation belongs to cmux-backend.
Claude Code
$ npx -y skills add manaflow-ai/cmux --skill cmux-cloud-vm --agent claude-code
Codex
$ npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -a codex -y
Cursor
$ npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -a cursor -y
Gemini CLI
$ npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -a gemini-cli -y
GitHub Copilot
$ npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -a github-copilot -y
OpenCode
$ npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -a opencode -y
Windsurf
$ npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -a windsurf -y
name: cmux-cloud-vm description: "Operate cmux Cloud machines, run durable remote commands or agents, and present their workspaces or services. Use for cmux vm/cloud tasks; backend implementation belongs to cmux-backend."
Use an existing machine and a workspace for the task. Machine terminals persist when panes close or the Mac disconnects. Work headlessly; open a pane or share a URL when there is a result for the user to inspect.
cmux vm --help cmux auth status cmux vm ls --json cmux vm route --json
On the Mac, host operations need the app, sign-in and its private tunnel. Inside a machine, use `cmux self --json` and the guest's help; read [guest operations](references/guest.md) for its supported subset and auth. Installed help is authoritative when versions differ.
`route` inspects placement without creating a machine. Read `would_provision` and the backend's `limits`/`capabilities`; do not assume a plan cap, memory size or provider feature. Reuse the router's pool machine, or explicitly pin an existing target with `--machine <id>`. Base is the user's persistent work. Prefer another workspace on a machine to another machine.
After identifying an authorized target, choose the operation:
| Need | Start here | | --- | --- | | Bounded command and exit code | `cmux vm run --machine <id> -- <command>` | | Detached coding agent | `cmux vm agent --machine <id> --agent codex --no-open -- "<task>"` | | Project with a dev layout | `cmux vm dev <id> --dry-run --json`, then the approved plan | | Observe without opening panes | `cmux vm tree <id> --json`, `cmux vm terminal read <id> <term>` | | Completion and full output | `cmux vm terminal wait-exit <id> <term>`, then `terminal output` |
Read the selected verb's `--help` before adding flags. Retain the machine, workspace/terminal identity and actual exit result. A finished wait is not proof that tests passed. Use `vm open`/`workspace open` to present verified results; closing a view does not stop the machine terminal.
user's authorization for the target and effect; retain authorization already given. Do not delete machines to make capacity or reset Base as a workaround.
into a machine unless requested. Use the secret/env transfer paths when authorized; values do not belong in layout JSON, logs or command arguments.
`workspace rm` kills its terminals; `workspace close` detaches them.
terminals, long runs, peer agents, forks and service publication.
file/env transfer, layouts, limits and capabilities. Search its task index first.
peer access, mirror behavior, notifications and browser authentication.
without disrupting the caller's workspace.
Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.
cmux package architecture, refactor layering, dependency inversion, file organization, DocC documentation, package design…
Backend TypeScript and Cloud VM development rules for cmux. Use when editing web/app/api, web/services, backend scripts, Cloud VM…
Stripe checkout, pricing, subscription, Pro plan, webhook, and entitlement runbook for cmux billing work. Use when editing or…
End-user browser automation with cmux. Use when you need to open sites, inspect or interact with browser surfaces, wait for page…
Screenshot or record a cmux window from the CLI, for a pull request, a bug report, or to see what the app actually looks like…
Use only after the user explicitly asks for cmux Computer Use through the cmux-cua skill: drive real macOS apps from a cmux agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.