Agent Skills › manaflow-ai/cmux › cmux-cloud-vm

cmux-cloud-vm

GitHub

管理 cmux 云端虚拟机,执行远程命令、启动持久化 Agent 及观察工作区状态。涵盖机器发现、资源路由、任务运行与结果呈现,强调无头工作与权限安全约束。

skills/cmux-cloud-vm/SKILL.md manaflow-ai/cmux

Trigger Scenarios

需要操作云端虚拟机实例 在远程环境中运行持久化代码或调试任务 查看云端工作区状态或终端输出

Install

npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -g -y
More Options

Use without installing

npx skills use manaflow-ai/cmux@cmux-cloud-vm

指定 Agent (Claude Code)

npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -a claude-code -g -y

安装 repo 全部 skill

npx skills add manaflow-ai/cmux --all -g -y

预览 repo 内 skill

npx skills add manaflow-ai/cmux --list

SKILL.md

Frontmatter
{
    "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."
}

cmux Cloud machines

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.

Start with discovery

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 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.

Run and observe

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.

Constraints that apply throughout

  • Provisioning, forking, resetting, resizing and destructive cleanup need the 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.
  • Keep account/upstream tokens on the host. Do not copy the user's credentials into a machine unless requested. Use the secret/env transfer paths when authorized; values do not belong in layout JSON, logs or command arguments.
  • Use --no-open, --detach or --print while working. Focus changes are intentional. workspace rm kills its terminals; workspace close detaches them.

Read only the relevant detail

  • Workflow recipes: project setup, interactive terminals, long runs, peer agents, forks and service publication.
  • Command reference: exact flags, JSON/exit contracts, file/env transfer, layouts, limits and capabilities. Search its task index first.
  • Guest operations: host/guest grammar, CodeRouter, peer access, mirror behavior, notifications and browser authentication.
  • Sidebar parity: map a specific UI action to CLI.
  • Local workspace rules: presenting cloud work without disrupting the caller's workspace.

Version History

  • ea17450 Current 2026-09-22 21:37

Same Skill Collection

skills/cmux-architecture/SKILL.md
skills/cmux-backend/SKILL.md
skills/cmux-billing/SKILL.md
skills/cmux-browser/SKILL.md
skills/cmux-cua/SKILL.md
skills/cmux-custom-sidebar/SKILL.md
skills/cmux-customization/SKILL.md
skills/cmux-debugging/SKILL.md
skills/cmux-dev-workflow/SKILL.md
skills/cmux-diagnostics/SKILL.md
skills/cmux-ghostty/SKILL.md
skills/cmux-keyboard-shortcuts/SKILL.md
skills/cmux-localization/SKILL.md
skills/cmux-markdown/SKILL.md
skills/cmux-release/SKILL.md
skills/cmux-review/SKILL.md
skills/cmux-settings/SKILL.md
skills/cmux-shared-behavior/SKILL.md
skills/cmux-socket-policy/SKILL.md
skills/cmux-test-bisect/SKILL.md
skills/cmux-testing/SKILL.md
skills/cmux-workspace/SKILL.md
skills/cmux/SKILL.md

Metadata

Files
0
Version
a616a2b
Hash
a3642e47
Indexed
2026-09-22 21:37

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-05 17:56
浙ICP备14020137号-1