computer
它能做什么
这个技能让你的智能体在电脑上的原生应用中工作,例如设置或桌面工具。适合希望在应用中完成某个步骤、而不想亲自逐个点击的人。
适用场景
- ✓当你希望智能体在桌面应用中打开或更改某项内容时。
- ✓当你需要点击按钮或在没有 API 的窗口中输入内容时。
- ✓当你想检查某个特定窗口中屏幕上显示的内容时。
技能链接
https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/computer/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请打开设置,开启深色模式,并在完成后告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先检查已安装的控制驱动程序,并为该任务启动会话。它会读取窗口的辅助功能快照,对命名的元素进行操作,并在汇报之前检查结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Paradev Computer Control
paradev is an alias for the superset CLI: every superset command here also runs as paradev.
Operate the user's real desktop through an accessibility-first driver: a local CLI that exposes accessibility snapshots, exact window screenshots, native menu operations, and targeted input without making the agent guess at stale screen coordinates. The contract in this skill (preflight, task-scoped session, snapshot, act, verify, semantic operations first, conservative failure handling, clean teardown) is driver-agnostic. The command reference below is for Cua Driver, the default.
Choose the right surface
- Use this skill for native apps, OS UI, and browser windows outside Paradev.
- Use
superset:browserfor Paradev's in-app browser pane. - Prefer an application API, purpose-built CLI, or direct filesystem operation when the requested result does not require GUI interaction.
Choose a driver
- If the user names a driver, use that one.
- Otherwise use whichever supported driver is already installed:
Cua Driver (
cua-driver, cross-platform, the default) or Peekaboo (peekaboo, macOS only). If both are installed, use Cua Driver and mention the alternative once. - If neither is installed, ask the user which to install before installing anything; recommend Cua Driver unless the user is macOS-only and prefers Peekaboo.
- With a driver other than Cua Driver, apply this skill's contract through that driver's own command surface; discover it with the driver's help output and documentation rather than assuming the Cua command shapes below.
Set up Cua Driver (default)
Confirm the installed executable with
command -v cua-driveron macOS or Linux, orGet-Command cua-driverin Windows PowerShell, then inspectcua-driver --version. Do not silently install or upgrade it. If it is missing, ask the user to authorize an installer from the Cua Driver installation guide. On macOS or Linux, use:/bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"On Windows, use PowerShell:
irm https://cua.ai/driver/install.ps1 | iex cua-driver autostart enable cua-driver autostart kickRun
cua-driver doctorandcua-driver status. On macOS, also runcua-driver permissions status. If Accessibility or Screen Recording is missing, ask the user to runcua-driver permissions grantand complete the OS prompts. Never work around missing OS permissions with AppleScript, synthetic shell input, or another GUI driver.Preserve an already-running daemon's permission mode; do not restart it merely to broaden permissions. If the environment needs explicit service setup, follow the platform-specific guidance reported by
doctor.Inspect the installed tool surface instead of assuming a version-specific schema:
cua-driver list-tools cua-driver describe get_window_state cua-driver describe click
Invoke tools with cua-driver call <tool> '<json>'. Use describe whenever an
argument is uncertain.
Declare a task session
Create a unique session before the first GUI observation:
cua-driver call start_session '{"session":"superset-computer-<unique>"}'
Pass the same session to every tool that accepts it. It owns this run's agent
cursor and lifecycle cleanup. It does not select the capture mode or grant
access beyond the daemon's fixed permission mode.
Snapshot, act, verify
Follow this loop for every GUI action:
- State the exact postcondition, such as "Settings shows Dark mode selected."
- Discover the target with
get_accessibility_treeor another semantic tool, then take a freshget_window_statesnapshot for the exact PID and window. - Prefer the snapshot's
element_tokenoverelement_index, and prefer both over pixel coordinates. Tokens identify the control and fail closed when the snapshot becomes stale. - Perform one action. Default to background delivery; use foreground delivery only when fresh evidence shows the background action did not land.
- Take a new snapshot and verify the postcondition before continuing. A successful tool response proves delivery, not the resulting UI state.
Minimal shape:
cua-driver call get_accessibility_tree '{}'
cua-driver call get_window_state '{"pid":
常见问题
它使用哪个驱动程序?
默认使用 Cua Driver;如果在 macOS 上安装了 Peekaboo,则使用 Peekaboo。
它会不经询问就安装软件吗?
不会。如果没有安装驱动程序,该技能会先询问你想使用哪一个,然后才进行安装。
它适合用于网站吗?
不适合。网站通过浏览器技能处理,本技能用于原生应用以及 Paradev 之外的窗口。
详情
作者的原始描述
Operate the user's real desktop apps and windows on macOS, Windows, or Linux. Use when the user asks to open or drive a native app, click or type in a desktop UI, inspect or arrange a window, use their signed-in system browser, or verify an end-to-end GUI flow, including "open Settings and turn on dark mode", "click Save in that window", "what's on screen". Uses an accessibility-first driver (Cua Driver by default, Peekaboo on macOS). Not for the Paradev (formerly Superset) in-app browser pane, headless scraping, or anything an API or CLI can do directly.
repo: ParadevAI/Paradev
热度
- GitHub 星标
- 16k
- 排名
- #10861
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …