cmux-cloud-vm
它能做什么
它指导智能体使用 cmux Cloud 机器,运行有限的命令、启动独立运行的编码智能体,并打开服务。适合使用 cmux Cloud、并希望远程机器承担长时间工作的人。
适用场景
- ✓当你希望在 cmux Cloud 机器上运行一条命令,并把结果报告回来时。
- ✓当你希望编码智能体在远程机器上后台持续工作时。
- ✓当你需要展示云端机器上的工作区或服务时。
技能链接
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-cloud-vm/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我的 cmux Cloud 机器上启动一个 Codex 智能体,更新依赖,并在完成后告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体检查你的登录状态和机器列表,选择正确的操作(例如 run、agent 或 dev),然后报告状态。当面板关闭或你的 Mac 断开连接时,机器上的终端会继续运行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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,--detachor--printwhile working. Focus changes are intentional.workspace rmkills its terminals;workspace closedetaches 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.
常见问题
如果我关闭面板,工作会停止吗?
不会。当面板关闭或 Mac 断开连接时,机器终端会保持运行。
它需要我登录吗?
需要。在执行任何机器操作之前,技能会检查你的登录状态。
它能替我选择机器吗?
能。路由检查会显示将使用哪台机器,你也可以固定指定某台机器。
详情
作者的原始描述
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.
repo: manaflow-ai/cmux
热度
- GitHub 星标
- 29k
- 排名
- #9795
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
cmux-browser
29k让你的智能体在 cmux 中打开网站,并在浏览器面板中阅读、点击和提取信息,同时不会抢走你当前工作的焦点。
cmux-capture
29k让你的智能体为 cmux 窗口截取屏幕截图或短视频,以便你用真实的证据展示视觉变化或错误。
cmux-cua
29k让你的智能体通过 cmux Computer Use 引擎操作真实的 macOS 应用,读取辅助功能树,并代你点击、输入和滚动。
cmux-custom-sidebar
29k让你的智能体根据简单的描述构建自定义 cmux 侧边栏,显示工作区、拉取请求或时钟等内容,并实时更新。