跳到正文
Skillpedia
部署与云(DevOps)29k · #9795

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-cloud-vm/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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, --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.
常见问题

如果我关闭面板,工作会停止吗?

不会。当面板关闭或 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能