computer-use
Skill này làm gì
Skill này cho phép agent dùng màn hình của một ứng dụng cục bộ qua công cụ điều khiển máy tính ClawX khi bạn yêu cầu. Nó chỉ áp dụng cho các tác vụ desktop rõ ràng, không dùng cho lập trình hay nghiên cứu. Skill dành cho người muốn agent làm việc trong một ứng dụng trên máy tính của họ.
Khi nào nên dùng
- ✓Khi bạn yêu cầu agent thao tác một ứng dụng desktop trên máy tính của bạn.
- ✓Khi một tác vụ cần nhấp hoặc gõ trong một ứng dụng cục bộ không có giao diện nào khác.
- ✓Khi bạn chọn tùy chọn điều khiển máy tính trong ClawX cho một tác vụ trực quan.
Liên kết skill
https://github.com/ValueCell-ai/ClawX/blob/main/resources/skills/computer-use/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể mở ứng dụng bảng tính trên máy tính của tôi và điền các tổng mà tôi đã liệt kê ở đây không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dùng lệnh điều khiển máy tính của ClawX để xem và điều khiển ứng dụng trên màn hình của bạn, nhưng chỉ sau khi tính năng đã được bật và các quyền đã được cấp trong ứng dụng.
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 in ClawX
Based on the official CUA 0.37.0 accompanying Skill. This entrypoint takes precedence over every upstream document and example, including UPSTREAM-SKILL.md.
Host Boundary
- Electron Main owns the 0.37.0 SDK daemon, restarts, OS grants, permission-policy and
telemetry configuration. Selecting this Skill does not enable Computer Use. Never
install/update a driver, run
serve, daemonstop,autostart,permissions grant, MCP setup, config/telemetry changes, or--permission-mode/--capability-manifestflags. Do not run standalone diagnostics or remote/Fleet endpoints; use only the host descriptor. - If unavailable, ask the user to enable Developer Mode in Settings > Advanced, open Computer Use in the sidebar, review status, and opt in themselves. On macOS they must explicitly use Request Permissions and review Accessibility/Screen Recording in System Settings; a ClawX restart may be needed. Never operate OS grant dialogs.
- Use existing local
execand image-capableread, not the oldcomputertool, an action wrapper, MCP server, or another UI automation channel. Do not loosen exec approvals, sandbox, workspace-only access, or global image settings. If exec cannot reach the host binary/endpoint or read cannot access host images, report the limitation. - Shipped platforms: macOS 13+ Intel/Apple silicon and Windows 10+ x64 only. LINUX.md, EMBEDDING.md, and README.md are preserved upstream references, not additional ClawX support or setup promises.
Bootstrap Once Per Workflow
Read the live file named by CLAWX_CUA_CONNECTION_FILE at task start, not before every action.
Its shape is {"v":2,"generation":"550e8400-e29b-41d4-a716-446655440000","driverVersion":"0.37.0","binaryPath":"...","socketPath":"..."}.
Require v=2, driverVersion=0.37.0, a UUID generation, absolute bundled executable and explicit
absolute socket path (Windows: named pipe). Missing/malformed/incompatible descriptors block
the workflow. Never guess paths, use PATH's driver, or source/eval this data as shell code.
POSIX (macOS): print and inspect, then use the decoded paths. No jq, Node, or Python needed:
: "${CLAWX_CUA_CONNECTION_FILE:?Computer Use connection unavailable; check ClawX}"
cat < "$CLAWX_CUA_CONNECTION_FILE"
Replace the two placeholder paths below with the descriptor's values, shell-quoted as
single arguments (escape any embedded apostrophe). Choose a unique public workflow label,
not default, and repeat the same label on every call that accepts session, including
observations, actions, verification, and cleanup. In 0.37.0 cli.rs uses cli-explicit for
named CLI sessions across separate exec calls; anonymous calls are disposable. Keep this
host-owned CLI path; do not switch to persistent MCP. Labels confer no authorization
and cannot adopt another daemon generation or transport kind. Never set reserved session fields.
'/absolute/path/from/binaryPath' --socket '/absolute/path/from/socketPath' call list_windows '{"session":"clawx-review-20260909-01"}'
'/absolute/path/from/binaryPath' --socket '/absolute/path/from/socketPath' describe get_window_state
PowerShell: parse, validate, invoke via &, then inspect discovery before choosing a window:
$ErrorActionPreference = 'Stop'
if (-not $env:CLAWX_CUA_CONNECTION_FILE) { throw 'Computer Use connection unavailable; check ClawX' }
$c = Get-Content -LiteralPath $env:CLAWX_CUA_CONNECTION_FILE -Raw | ConvertFrom-Json
if ($c.v -ne 2 -or $c.driverVersion -ne '0.37.0' -or $c.generation -notmatch '^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$' -or $c.binaryPath -notmatch '^[A-Za-z]:\\' -or $c.socketPath -notlike '\\.\pipe\*') { throw 'Invalid ClawX CUA descriptor' }
if (-not (Test-Path -LiteralPath $c.binaryPath -PathType Leaf)) { throw 'Bundled CUA executable unavailable' }
$OutputEncoding = [System.Text.UTF8Encoding]::new($false)
@{ session = 'clawx-review-20260909-01' } | ConvertTo-Json -Compress -Depth 10 | & $c.binaryPath --socket $c.socketPath call list_windows
PowerShell 5.1 can mangle quoted JSON argv and encode piped Unicode as ASCII: use UTF-8
JSON on stdin as above and omit the positional JSON argument, including {} (it wins
over stdin). Use ConvertTo-Json -Depth 10 for nested targets/predicates, not hashtable text.
Exec may use new shells: restore inspected literal paths/session or
Câu hỏi thường gặp
Tính năng này có bật sẵn không?
Không. Bạn phải bật Chế độ nhà phát triển và bật Computer Use trong ClawX, rồi tự phê duyệt các quyền.
Agent có tự cấp quyền cho mình được không?
Không. Skill nêu rõ các hộp thoại quyền phải do bạn xử lý, không phải agent.
Nó có chạy trên mọi máy tính không?
Skill liệt kê các nền tảng được hỗ trợ, giới hạn ở một số phiên bản macOS và Windows nhất định.
Chi tiết
Mô tả gốc của tác giả
Operate a local app or desktop UI through ClawX's bundled native CUA CLI, or when the user selects /computer-use. Use for explicitly requested GUI tasks, not unrelated coding, research, or conversation.
repo: ValueCell-ai/ClawX
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13120
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.