ComputerUse
Skill này làm gì
Cho phép agent AI làm việc bên trong ứng dụng trên máy tính của bạn, chọn phương thức phù hợp cho từng bước. Skill dành cho người muốn agent xử lý công việc lặp lại trên máy tính với giới hạn an toàn rõ ràng.
Khi nào nên dùng
- ✓Khi bạn muốn agent điền hoặc bấm qua một ứng dụng trên Mac.
- ✓Khi tác vụ cần kiểm tra kết quả rõ ràng và có giới hạn an toàn chặt chẽ.
- ✓Khi một ứng dụng không có lệnh đơn giản hoặc API, nên agent phải làm việc dựa trên màn hình.
Liên kết skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/ComputerUse/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
“Mở ứng dụng bảng tính của tôi, điền số liệu của tháng này, và cho tôi biết khi nào nó được lưu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill gửi từng tác vụ đến một phương thức có thể đọc cấu trúc của ứng dụng khi có thể, và chỉ dùng agent thị giác cho công việc thuần hình ảnh. Một kiểm tra riêng quyết định đạt hay không, còn gửi, mua hoặc xóa cần bạn phê duyệt rõ rà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.
ComputerUse
Contents: Ideal State · Intent Routing · The routing table · The supervised run · Data & Config · Gotchas · Examples
One skill routes every computer-use task by a rule you can read, then supervises the run so the vision leg never grades itself, never sees what it must not, and never runs away.
Ideal State
- Every task is routed by the readable rule before anything runs: verification and anything with a DOM, AX, CLI or API handle go to Interceptor, and only pixel-only work goes to the measured vision pick.
- A vision run's verdict comes only from its declared verifier, never from the agent's own report, and no run starts without one.
- The vision leg never sees a running credential app, a visible communications app or a denied host, never acts outside its allowlisted app, and stops at its step and wall-clock caps.
- Send, buy, delete, publish or confirm happens only when the principal named that exact action, and every refusal is reported rather than worked around.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Drive | "do this in the GUI", "drive <app>", "computer use for <task>" | Intents/Drive.md |
| Probe | "is Astra computer use working", "probe the vision leg" | Intents/Probe.md |
| BakeOff | "bake-off", "which vision agent is better", "Claude vs OpenAI computer use", "re-score the vision legs" | Intents/BakeOff.md |
| File | Read when |
|---|---|
Instructions.md |
changing what the Astra leg is told; the runner passes it as model_instructions_file on every spawn |
Config.example.md |
setting up the deny lists, caps and Focus shortcuts in the USER Config.md |
Tests/ |
changing routing, deny rules, caps or spawn flags (fixtures under Tests/fixtures/ are synthetic; source tree only, not in the release payload) |
Setup.md |
first-time setup: the Config.md fields, the Codex app and plugin, permissions, and a dry-run proof |
References/VisionLegs.md |
changing or debugging how the Astra or Claude leg is spawned and confined: codex flags, the Claude leg step loop, its tool restrictions, env drops, pixel-to-point mapping |
The routing table
| Intent | Handle? | Backend | Why |
|---|---|---|---|
| verify / evidence | any | Interceptor, always | Constitutional №2: Interceptor is the only sanctioned evidence path. No failure count or backend state changes this row. |
| act | yes (DOM, AX element, CLI, API) | Interceptor | Deterministic is cheaper, faster, and auditable. |
| act | no | the vision pick for the target app: Astra or Claude | Pixel-only authoring, canvas UIs, unscripted cross-app GUI flows. |
| act | yes, but 2 Interceptor failures on this step | the vision pick for that step | Bounded escalation, logged once. Never the reverse direction. |
| any | Interceptor preflight failed | refused | A broken evidence path is "tool broken", never "no handle". |
| act, vision | — | Claude only when vision_pick names it for that app (or as default) |
The pick is written from Tools/BakeOff.ts results, never by hand-waving. Unpicked or unmeasured classes stay Astra. |
Code: Tools/Route.ts (pure, tested). Runner: Tools/Run.ts.
The supervised run
Both vision legs run under the same supervise() in Tools/Run.ts (--backend astra|claude; without it, the vision_pick for the target app). The deny scan, watcher, caps, headless refusal and verifier below are shared.
- Refuses on a headless channel (exit 3), on a failed Interceptor preflight (exit 4), without a declared verifier (exit 5), and when the deny list fires (exit 2, naming the app or host).
- Deny list (your
Config.md): credential-class apps may not be running; communications apps may not be visible (hidden with Cmd+H is fine); browser tabs on denied hosts block. Enforced before spawn and by a watcher every poll interval during the run. - Per-run app allowlist (default: the target app alone); the watcher kills the child when the frontmost app leaves it.
- Step cap and wall clock, enforced by the runner. Defaults 60 steps / 10 minutes; override per run. A step is one completed computer-use tool call on the Astra leg (one call can bundle several clicks, so the wall clock is the hard bound) and one executed action on the Claude leg.
- A missing
Config.mdis refused (exit 2), never run with empty deny lists. - Optional Focus (Do Not Disturb) on/off Shortcuts wrap the run so banners cannot
Câu hỏi thường gặp
Nó có tự gửi tin nhắn hoặc mua hàng không?
Không. Gửi, mua, xóa hoặc đăng chỉ xảy ra khi bạn nêu đúng hành động đó.
Làm sao nó biết tác vụ đã thành công?
Một kiểm tra riêng đọc kết quả, thay vì dựa vào báo cáo của chính agent.
Agent có thể đi bất cứ đâu trên máy tính của tôi không?
Không. Agent thị giác chỉ hoạt động trong một ứng dụng nằm trong danh sách cho phép và dừng ở giới hạn số bước và thời gian đã đặt.
Chi tiết
Mô tả gốc của tác giả
Front door for driving this Mac: anything with a DOM, AX, CLI, or API handle routes to Interceptor; pixel-only GUI work goes to a vision agent, OpenAI Astra via codex exec or a tool-less Claude acting through Interceptor's bridge, picked per task class by a measured bake-off, under a deny list, step caps, and a read-back that decides pass/fail. USE WHEN computer use, drive the computer, control the mac, operate this app for me, do it in the GUI, pixel-only app, no API for this, canvas UI, computer-use bake-off, Claude vs OpenAI computer use. NOT FOR DOM/AX handles or web verification (Intercep
repo: danielmiessler/LifeOS
Độ phổ biến
- Sao GitHub
- 20k
- Vị trí xếp hạng
- #10415
- Giấy phép
- MIT
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
LifeOS
20kGiúp agent của bạn thiết lập LifeOS, một hệ thống cá nhân ánh xạ trạng thái hiện tại tới trạng thái lý tưởng qua một cuộc phỏng vấn và một bảng điều khiển.
AnnualReports
20kGiúp agent của bạn tìm và so sánh báo cáo an ninh mạng thường niên từ các nhà cung cấp lớn, như xu hướng vi phạm và ransomware, có nguồn cho mọi số liệu.
ApertureOscillation
20kDạy agent của bạn kiểm tra một câu hỏi thiết kế ở phạm vi hẹp và phạm vi rộng, rồi chỉ ra chỗ hai câu trả lời mâu thuẫn trước khi bạn xây dựng.
Aphorisms
20kCho phép agent của bạn tìm, ghép và theo dõi các câu trích dẫn có ghi tác giả từ một bộ sưu tập được chọn lọc, tránh những câu vừa được dùng trong bản tin.
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.