Chuyển đến nội dung
Skillpedia
Agent37k · #7570

computer_use

Skill này làm gì

Skill này cho phép agent AI làm việc trong một ứng dụng máy tính thông qua giao diện của nó. Skill dành cho các tác vụ mà không có công cụ dòng lệnh hay tích hợp nào làm được.

Khi nào nên dùng

  • ✓Khi một tác vụ cần bạn nhấp qua một ứng dụng máy tính chưa có tích hợp.
  • ✓Khi bạn cần agent kiểm tra những gì hiển thị trên màn hình trước khi báo cáo thành công.
  • ✓Khi một công cụ chuyên dụng không thể hoàn thành tác vụ và chỉ giao diện ứng dụng mới làm được.

Liên kết skill

https://github.com/agentscope-ai/QwenPaw/blob/main/plugins/bundle/computer-use/skills/computer_use/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/agentscope-ai/QwenPaw/blob/main/plugins/bundle/computer-use/skills/computer_use/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Mở ứng dụng quản lý chi phí trên máy tính của tôi và xuất báo cáo tháng này.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm ứng dụng đã được phê duyệt và cửa sổ của nó, quan sát màn hình và thực hiện từng hành động nhỏ một. Sau mỗi hành động, nó kiểm tra giao diện mới và chỉ báo cáo thành công khi trạng thái cuối cùng được xác nhận.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

  1. Discover the canonical application and the correct window.
  2. Observe the window and identify the requested state from current evidence.
  3. Define the next expected visible or accessible state change.
  4. Choose one action channel and perform the smallest useful action.
  5. Inspect the replacement observation before deciding the next action.
  6. 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

  1. Call list_apps and select the canonical App ID.
  2. Call list_windows, optionally limited by that App ID.
  3. 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.
  4. Keep using the matched window_id until 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_value is 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: false means no AX-visible transition was observed; it does not rule out a visual-only change.
  • effect: observed verifies the edited bu
Câu hỏi thường gặp

Skill có thao tác trên mọi ứng dụng của tôi không?

Không. Nó chỉ làm việc trên một ứng dụng đã được phê duyệt và một cửa sổ đang quan sát tại một thời điểm.

Tại sao skill kiểm tra từng bước?

Việc một cú nhấp đã được gửi không có nghĩa ứng dụng đã hoàn thành tác vụ, nên skill xác minh kết quả trên màn hình.

Tôi có nên dùng nó khi đã có công cụ đơn giản hơn không?

Không. Skill khuyên dùng công cụ chuyên dụng hoặc tùy chọn dòng lệnh trước, nếu chúng có thể hoàn thành công việc.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
37k
Vị trí xếp hạng
#7570
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự