用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Abd0r/porcupineai --skill native-ui-control命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | native-ui-control |
| description | Safe cross-platform screen observation and UI interaction on macOS, Linux, and Windows. |
| stack | computer |
Operate the local desktop only when a browser API, shell command, file tool, or CDP route cannot do the task. This skill controls the host computer, so every input action opens a real user confirmation dialog.
Current backend coverage:
scrot, gnome-screenshot, ImageMagick import, and xdotool.wtype text/key input where installed; click and scroll remain unavailable until compositor-aware dispatch is verified.Native adapters use screenshot coordinates; Linux observe also attempts AT-SPI element grounding through python3 and pyatspi. If AT-SPI is unavailable, use the screenshot fallback and do not invent element bounds.
Linux X11 commonly needs:
# Debian/Ubuntu examples
sudo apt install xdotool gnome-screenshot python3-pyatspi
Linux Wayland commonly needs grim or gnome-screenshot, plus wtype for text/key input. ydotool can provide lower-level input when its uinput socket and permissions are configured. Provider availability is compositor- and distribution-specific; check with computer_use(action="status").
Windows uses PowerShell, System.Drawing, and user32 input APIs. The adapter is experimental until tested on an interactive Windows desktop. Do not use it to bypass elevated-window or UIPI boundaries.
computer_use exposes:
status — report platform requirements, providers, permissions, and AT-SPI availabilityobserve — capture a screenshot plus safe coordinate-space informationscreenshot — capture an image without coordinate groundingclick — click a platform screen coordinate when the active backend supports ittype — type literal text at current focuskey — press a named key, optionally with modifiersscroll — page-scroll the focused UIDo not use it for repository work, files, shell commands, normal web research, or browser tasks that can run inside a sandbox.
Use computer_use(action="status") before interaction. Requirements depend on the host:
DISPLAY or WAYLAND_DISPLAY, a supported screenshot provider, and an input provider for the requested action.Do not retry denied permissions or unavailable providers in a loop.
computer_use(action="observe").