computer_use
它能做什么
这项技能让 AI 智能体通过界面在桌面应用内工作。适用于没有命令行工具或集成能完成工作的任务。
适用场景
- ✓当任务需要你在没有集成的桌面应用中逐步点击时。
- ✓当你需要智能体在报告成功之前,检查屏幕上实际显示的内容时。
- ✓当专用工具无法完成任务、只能通过应用界面完成的时候。
技能链接
https://github.com/agentscope-ai/QwenPaw/blob/main/plugins/bundle/computer-use/skills/computer_use/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请打开我桌面上的报销应用,并导出本月的报告。”
每周 5 个新技能,1 分钟读完。
工作原理
它会找到已批准的应用及其窗口,观察屏幕,并每次只执行一个小动作。每次操作后,它会检查新的画面,并在确认最终状态后才报告成功。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Computer Use
Use Computer Use only for tasks that require a live desktop interface or visual verification. Prefer a purpose-built integration or command-line tool when it can complete and verify the task.
Use only the native desktop runtime. It operates on one approved application and one observed window at a time; it never accepts a free-form screen target.
Operating Loop
Follow this loop for every task:
- Discover the canonical application and the correct window.
- Observe the window and identify the requested state from current evidence.
- Define the next expected visible or accessible state change.
- Choose one action channel and perform the smallest useful action.
- Inspect the replacement observation before deciding the next action.
- Observe the final state and verify every requested outcome before reporting success.
Treat dispatched: true or an intermediate acknowledgement only as evidence
that input was sent, not that the application completed the operation. If the
final state is incomplete or uncertain, report that accurately.
Discover the Target
- Call
list_appsand select the canonical App ID. - Call
list_windows, optionally limited by that App ID. - Match the target by title, content, and observed state. When several windows are plausible, observe them read-only until one matches; never choose only because it is first or most recent.
- Keep using the matched
window_iduntil an action explicitly hands off to another window.
Use launch_app with a canonical App ID. If the application is not listed,
use an explicit absolute executable path on Windows or application-bundle path
on macOS. After launch, list its windows again because launch completion does
not prove that a usable window already exists.
When the runtime reports a missing system permission, stop and ask the user to grant it. Do not retry until the user confirms the permission was granted.
Read an Observation
observe_window returns a point-in-time window observation with screenshots
and accessibility text. Start with:
accessibility.focused_element: the control that owns keyboard focus.accessibility.document_text: a capped view of the focused document; never assume it contains the complete document when truncated.accessibility.elements: actionable controls and their current properties.
Each accessibility line begins with an element_id, control type, and name.
Use labels, roles, identifiers, actions, and current state together; do not
infer behavior from an opaque identifier alone.
Indentation preserves the native accessibility hierarchy. Use parent and container context to distinguish controls with duplicate names.
Each attached image has a screenshots[].id, image-local dimensions, screen
origin, kind, and z-index. On Windows, one observation may include the selected
window plus related menus, drop-downs, or dialogs. Treat the highest z-index
related image as the frontmost visual surface, while keeping the original
window_id as the stable target. Attached images and screenshots entries
use the same order.
Common markers:
[disabled]: do not act on this element.[offscreen]: scroll it into view first.[selected]: the application selected this exact element.[settable]:set_valueis supported.[actions=...]: invoke only an explicitly listed action.[resource-backed]: the label represents an application-owned object, not an editable text buffer.
When duplicate names exist, discard disabled candidates, then choose by role,
actions, identifier, and surrounding state. Prefer accessibility elements over
coordinates. When visual.available is false, continue only with listed
elements, semantic actions, or verified keyboard focus; coordinates are not
valid for that observation.
Every successful desktop mutation invalidates its input observation. The
response normally installs and returns a settled replacement observation.
Inspect it before the next action and derive fresh element IDs from it.
Post-action replacements do not attach images. On Windows,
visual.related_surface_count reports related menus, drop-downs, or dialogs
seen during that lightweight refresh. Call observe_window before choosing a
visual target or using coordinates.
Interpret result fields conservatively:
accessibility_changed: falsemeans no AX-visible transition was observed; it does not rule out a visual-only change.effect: observedverifies the edited bu
常见问题
它会操作我拥有的任何应用吗?
不会。它每次只针对一个已批准的应用和一个被观察的窗口工作。
为什么它要检查每一步?
发出点击并不代表应用已完成任务,因此技能会在屏幕上验证结果。
如果有更简单的工具,还应该用它吗?
不应该。技能建议,如果有专用工具或命令行选项能完成工作,应先使用它们。
详情
作者的原始描述
Use computer_use for live Windows or macOS GUI work that structured tools cannot complete. Discover an approved app and window, act from fresh observations, and verify every requested result.
repo: agentscope-ai/QwenPaw
热度
- GitHub 星标
- 37k
- 排名
- #7570
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
terraform-skill
37k帮你的智能体编写、测试和审查 Terraform 或 OpenTofu 基础设施代码,涵盖模块、CI/CD、安全扫描和状态问题。
browser
37k通过 QwenPaw Browser SDK 让你的智能体操作真实的网页浏览器,读取页面、对页面执行操作,并在声称成功前检查结果。
channel_message
37k在找到正确的目的地之后,让你的智能体向特定的聊天频道或会话发送单向消息,例如任务完成的提醒。
chat_with_agent
37k让你的智能体向另一个 AI 智能体征询意见、计划或审查,并利用之前的上下文继续这段对话。