cua-driver

仓库创建 2025年2月14日最近提交 4 小时前SkillHot 收录 20 天前
▸ 精选理由

为 macOS 环境下需要精确 GUI 自动化与快照校验的场景提供稳定流程。

▸ 风险提示

需在 macOS 上授予辅助功能或高权限,存在安全与隐私风险。

这个 Skill 做什么

通过 cua-driver 在 macOS 上驱动应用,支持快照、点击、输入与滚动。

通过 cua-driver 在真实 macOS 上操作应用:拍快照(AX tree)、按元素点击、输入、滚动并通过重拍快照校验结果。要自动化本机 GUI 操作(比如在 Finder 打开某文件、在 TextEdit 保存文档)就用它。特别要求先快照再动作的工作流程,能保证每步都有可验证的 UI 状态。

▸ 展开 SKILL.md 英文原文

Drive a native macOS app via the cua-driver MCP server or CLI — snapshot its AX tree, click/type/scroll by element_index, verify via re-snapshot. Use when the user asks you to operate, drive, automate, or perform a GUI task in a real macOS application on the host (e.g. "open a file in TextEdit", "navigate to /Applications in Finder", "click the Save button in Numbers").

自动化集成macOS 自动化GUI 驱动Claude Code
6.2k
Stars
707
Forks
23
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ThinkInAIXYZ/deepchat/dev/plugins/cua/vendor/cua-driver/source/Skills/cua-driver/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ThinkInAIXYZ/deepchat/dev/plugins/cua/vendor/cua-driver/source/Skills/cua-driver/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# cua-driver

Orchestrates macOS app automation via `cua-driver`. Whenever a user
asks to drive a native macOS app, follow the loop in this skill rather
than calling tools ad-hoc — the snapshot-before-action invariant is not
optional and silently breaks if you skip it.

## DeepChat MCP mode

When DeepChat auto-pins this skill because the Computer Use MCP server is
enabled, use the available Computer Use tools in the current tool list
directly. Treat examples such as `click({...})` or
`get_window_state({...})` as calls to the matching MCP tool with the same
JSON payload. Shell CLI examples are diagnostic references for
shell-based agents.

App-name resolution belongs here. When matching a use
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有