cmux-cua
它能做什么
它设置并使用一个本地的电脑操作引擎,让智能体能够看到并操作 macOS 应用。适合明确希望智能体在 Mac 上操作应用的人;开始前需要你的直接请求和许可。
适用场景
- ✓当你直接要求智能体替你操作一个 macOS 应用时。
- ✓当你希望了解 cmux Computer Use 的权限设置时。
- ✓当应用任务需要点击、输入或滚动,而脚本无法完成时。
技能链接
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-cua/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我明确要求你使用 cmux Computer Use。请打开备忘录,并添加一条明天早上的提醒。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体启动一个拥有自己权限的独立辅助程序,读取应用的辅助功能树和截图,并据此操作。辅助功能和屏幕录制权限属于该辅助程序,而不是 cmux 本身。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
cmux-cua
cmux bundles a local computer-use engine (packaged as cmux Computer Use with
the MCP proxy named cmux-cua, from a pinned build of
the manaflow-ai/cmux-cua fork) and attaches it as an MCP tool server named
cmux-cua to every agent session cmux launches (Claude Code, Codex).
The agent can then perceive and operate real macOS apps: read the accessibility
tree, take screenshots, and click / type / scroll / drag.
Everything runs locally through the bundled cmux Computer Use helper. The helper has its own TCC identity, so Accessibility and Screen Recording never belong to the main cmux app and granting Screen Recording never requires restarting cmux. Upstream telemetry and update checks are disabled at runtime.
Do not invoke this skill, start its helper, request permissions, or perform a GUI action when the user is only reading, asking about, quoting, or mentioning cmux Computer Use. Wait for a direct user request to use cmux Computer Use; missing tools or permissions are not a reason to begin setup automatically.
How it attaches
- The
cmux-claude-wrapperandcmux-codex-wrapperinjectcmux-cuaas an MCP proxy usingmcp --socket <cmux-owned socket>plus cursor-branding and state-dir env. Codex launches the exact tag-installed helper executable as its authenticated approval broker; Claude uses the bundled native-profile proxy client. The Codex wrapper additionally passes--codex-computer-use-compat; the Claude wrapper deliberately does not. Attachment availability is not user consent: merely starting an agent or discovering this skill is not a request to use it, and it must not open a permission window or perform GUI work. - In Codex sessions launched by cmux, the wrapper disables Codex's native
computer_useprovider. When the user says$cmux-cua, use only the namespacedcmux-cuaMCP tools below. Never substitute Codex's built-incomputertool, another CUA connector, or a direct helper launch. If thecmux-cuatools are absent or unavailable, report that they are unavailable and stop; do not silently switch providers. ComputerUseRuntimeServiceis the only helper lifecycle owner. It installs the nested helper under the tag-scoped~/Library/Application Support/cmux/cmux-cua/helper/<scope>/directory and launches that explicit app URL through LaunchServices.- The native daemon uses the tag-scoped
/tmp/cmux-cua-<uid>/<scope>/cmux-cua.sock; the Codex compatibility daemon usescmux-cua-codex.sockbeside it. Both fit Darwin's Unix-socket path limit and share the tag-scoped cmux Application Support state directory. - Neither wrapper installs global skills or adds skill directories by default.
Use the agent's normal skill installer for a persistent user-owned installation.
Alternatively,
CMUX_COMPUTER_USE_INSTALL_GLOBAL_SKILL=1requests an app-managed global link for that launch (~/.agents/skills/cmux-cuafor Codex or~/.claude/skills/cmux-cuafor Claude). Export the flag to retain these links on future launches; they may also appear outside cmux. Unset or=0removes only verified app-managed links. Project and user-owned skills take precedence, with no competing global install or automatic fallback. Codex 0.153 does not discover new paths fromskills.config; no Claude projection or plugin fallback is used. Migration of the canonical and legacycmux-computer-use/codex-cualinks requires an existing cmux bundle ID, known install/build root, and root/current-user ownership. Unknown or dangling targets, real skill directories, unrelated symlinks, and project paths are preserved.CMUX_CUA_DIAGNOSTICS=1identifies preserved paths blocking explicit install and verified managed links retired by the per-launch policy. Historical app-created and manually-created symlinks with identical verified targets cannot be distinguished retroactively; recognized app-bundle links are treated as cmux-managed, while unknown and dangling links are preserved. - While Computer Use is enabled, the helper daemon starts quietly at cmux startup with its internal permission gate disabled. Starting cmux or an agent never requests access or shows onboarding.
- Wrappers are pure forced proxies. They never copy or launch the helper and never fall back to in-process computer use. cmux owns the onboarding window and opens the permanent macOS permission panes directly; it does not ask the helper to raise an interm
常见问题
它会自己启动吗?
不会。只有在你直接要求使用 cmux Computer Use 之后,它才会启动。
它需要哪些权限?
辅助功能和屏幕录制,授予给独立的辅助程序。
它会向外发送数据吗?
技能说明它在本地运行,并且在运行时已禁用上游遥测和更新检查。
详情
作者的原始描述
Use only after the user explicitly asks for cmux Computer Use through the cmux-cua skill: drive real macOS apps from a cmux agent session via the bundled engine (accessibility tree + screenshots, click/type/scroll/drag, branded cursor), or explain its user-directed permission setup. Reading or discovering this skill is not consent.
repo: manaflow-ai/cmux
热度
- GitHub 星标
- 29k
- 排名
- #9796
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
cmux-browser
29k让你的智能体在 cmux 中打开网站,并在浏览器面板中阅读、点击和提取信息,同时不会抢走你当前工作的焦点。
cmux-capture
29k让你的智能体为 cmux 窗口截取屏幕截图或短视频,以便你用真实的证据展示视觉变化或错误。
cmux-cloud-vm
29k让你的智能体在你的 cmux Cloud 机器上运行命令、启动编码智能体并展示工作区,面板关闭后工作仍会继续。
cmux-custom-sidebar
29k让你的智能体根据简单的描述构建自定义 cmux 侧边栏,显示工作区、拉取请求或时钟等内容,并实时更新。