跳到正文
cccskills
OpenClaw 官方免费在 GitHub 公开

peekaboo

Capture and automate macOS UI with the Peekaboo CLI.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Peekaboo

Use Peekaboo to inspect macOS UI, act on the intended target, and verify the result. The examples below use v4 syntax. Check peekaboo --version and the installed command's --help; for older versions, follow that version's help.

OpenClaw Bridge

The OpenClaw macOS app hosts Peekaboo Bridge when Computer Control is enabled, its provider is Peekaboo, and Peekaboo Bridge is enabled. Keep the existing OpenClaw socket selection when running through that host:

export PEEKABOO_BRIDGE_SOCKET="${PEEKABOO_BRIDGE_SOCKET:-$HOME/Library/Application Support/OpenClaw/bridge.sock}"
peekaboo bridge status --json

Confirm that the selected host and socket are the intended ones. Preserve an explicit PEEKABOO_BRIDGE_SOCKET or --bridge-socket selection. If the required host is unavailable, report that outcome; do not clear the selection or switch Computer Control providers to make a command succeed.

Permissions belong to the process or Bridge host performing the operation. Do not pass --no-remote unless the caller has the required permissions.

Find the installed command

Use leaf help for flags and targeting requirements instead of copying a flag between commands. Use root help to discover the available commands:

peekaboo --help
peekaboo app list --help
peekaboo see --help
peekaboo press --help
peekaboo drag --help

V4 removed these old command roots:

Old commandV4 command
list appsapp list
imagesee --no-elements for pixels without element detection
hotkeypress with chords such as cmd+shift+t
swipedrag --from … --to …

For other operations, including clicking, typing, scrolling, and managing windows or menus, use peekaboo <command> --help. Put command options after the leaf command; --json requests structured output.

Inspect, act, verify

Start with application inventory and a fresh view of the target:

peekaboo app list --json
peekaboo see --app Safari --window-title "Example" --annotate \
  --path /tmp/peekaboo-example.png --json

Read the returned elements before acting. Keep actions tied to the intended app, window, and fresh snapshot; do not reuse example element IDs. After an action, inspect the UI again and check the requested result. Refresh the observation when the window changes or a target becomes stale.

For a screenshot without element detection:

peekaboo see --mode screen --screen-index 0 --no-elements --retina \
  --path /tmp/peekaboo-screen.png --json

Raw keyboard chords require explicit foreground interaction or a fresh exact-window receipt accepted by press. Dragging always moves the shared cursor and requires --foreground. When foreground interaction is authorized:

peekaboo press cmd+shift+t --app Safari --foreground --json
peekaboo drag --from 100,500 --to 100,200 --duration 800ms --foreground --json

Use the actual target and coordinates from the current observation. Prefer explicit duration units such as 800ms; consult each command's help for its options and prerequisites.

Troubleshooting

  • For a removed-command error, use the replacement named by the installed CLI.
  • For host or permission failures, inspect peekaboo bridge status --json and peekaboo permissions status --json for the selected host.
  • For targeting failures, read the leaf help and obtain fresh UI state with see.
  • On macOS 15+, the private window picker prompt is separate from the base Screen Recording grant and can appear even when Bridge permissions are correct.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

camsnap

OpenClaw 官方免费

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

中文简介正在准备中。当前显示原文说明。

openclaw/nix-openclaw-tools542026年10月19日 更新

discrawl

OpenClaw 官方免费

Discord archive: search, sync freshness, DMs, summaries, TUI, repo/release work.

中文简介正在准备中。当前显示原文说明。

openclaw/nix-openclaw-tools542026年10月19日 更新

gog

OpenClaw 官方免费

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

中文简介正在准备中。当前显示原文说明。

openclaw/nix-openclaw-tools542026年10月19日 更新

goplaces

OpenClaw 官方免费

Query Google Places for text search, place details, resolve, reviews, or scriptable JSON via goplaces.

中文简介正在准备中。当前显示原文说明。

openclaw/nix-openclaw-tools542026年10月19日 更新

imsg

OpenClaw 官方免费

Use the imsg CLI from OpenClaw agents for iMessage/SMS DMs, groups, replies, reactions, polls, watching, and private-API actions.

中文简介正在准备中。当前显示原文说明。

openclaw/nix-openclaw-tools542026年10月19日 更新

poltergeist

OpenClaw 官方免费

File watcher with auto-rebuild for any language or build system.

中文简介正在准备中。当前显示原文说明。

openclaw/nix-openclaw-tools542026年10月19日 更新

查看 openclaw 的全部技能

报告此技能的问题