ComputerUse
它能做什么
让 AI 智能体在你电脑的应用内工作,并为每个步骤选择合适的方法。它适用于希望智能体处理重复性桌面工作、同时有明确安全限制的人。
适用场景
- ✓当你想让智能体在 Mac 上的应用中填写或点击操作的时候。
- ✓当任务需要清楚地检查结果并设置严格的安全限制的时候。
- ✓当应用没有简单命令或 API,智能体必须依靠屏幕工作的时候。
技能链接
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/ComputerUse/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请打开我的电子表格应用,填入本月的数字,并告诉我何时保存完成。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会在可能时把每个任务交给能读取应用结构的方法,只有纯视觉工作才使用视觉智能体。单独的检查会判定通过或失败;发送、购买或删除操作需要你明确批准。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
常见问题
它会自行发送消息或购买东西吗?
不会。发送、购买、删除或发布只会在你指明该具体操作时进行。
它如何判断任务是否成功?
由单独的检查读取结果,而不是依赖智能体自己的报告。
智能体能去电脑上的任何地方吗?
不能。视觉智能体只在白名单内的应用中操作,并受设定的步骤和时间限制。
详情
作者的原始描述
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
热度
- GitHub 星标
- 20k
- 排名
- #10415
- 许可证
- MIT
- 更新时间
- 2026/10/28
评论
- …