← 返回 Skills 市场
zimuoo

PeekabooV3 open claw的桌面自动化skill

作者 子沫 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
78
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install peekaboo-macos-automation
功能描述
Use Peekaboo for macOS desktop GUI automation, screen understanding, and MCP-backed local app control. Trigger when the user wants to inspect or control nati...
使用说明 (SKILL.md)

Peekaboo macOS automation

Use this skill to drive native macOS UI with Peekaboo.

Core rules

  • Treat Peekaboo as an external local automation backend, not as a built-in tool.
  • Prefer peekaboo CLI via exec.
  • Detect installation before doing anything else.
  • If Peekaboo is not installed, proactively install it for the user, then verify installation before continuing.
  • Check permissions before first real automation step.
  • Prefer semantic actions over coordinate clicks whenever possible.
  • Use browser automation instead for web-page DOM tasks.

Detection and installation

Run these checks in order:

command -v peekaboo
peekaboo --version

If peekaboo is missing, install it proactively:

brew install steipete/tap/peekaboo

After installation, verify again:

command -v peekaboo && peekaboo --version

If Homebrew is missing, check for it first:

command -v brew

If brew is also missing, ask one concise question before installing Homebrew or using another path.

Permission check

Before GUI actions, check permissions:

peekaboo permissions status

If Screen Recording or Accessibility is missing, tell the user exactly what is missing and pause until granted. Do not pretend automation can succeed without them.

For a quick readiness check, you can run:

~/.openclaw/skills/peekaboo-macos-automation/scripts/doctor.sh

Preferred workflow

  1. Detect/install Peekaboo.
  2. Check permissions.
  3. If the task targets a specific native app window, bring that app to the foreground first.
  4. Inspect the target UI.
  5. Prefer semantic action APIs.
  6. Fall back to synthetic input only when needed.
  7. Re-inspect after state-changing actions when the next step depends on fresh UI state.

Before see, click, set-value, or other window-level actions on a named app, do this first:

peekaboo app switch --to "AppName"

If needed, unhide or launch it first:

peekaboo app unhide --app "AppName"
peekaboo app launch "AppName"

Do not assume a running app has a capturable front window. Bring it forward first, then inspect it.

Inspection patterns

Use structured inspection first. Start broad, then narrow:

peekaboo list apps
peekaboo app switch --to "Safari"
peekaboo see --app "Safari" --json
peekaboo image --mode screen --retina --path ~/Desktop/peekaboo-screen.png

When a command returns a snapshot_id, reuse it for follow-up actions.

A good first-pass sequence is:

peekaboo list apps
peekaboo app switch --to "TargetApp"
peekaboo see --app "TargetApp" --json

Action preference order

Prefer actions in this order:

  1. set-value
  2. perform-action
  3. click --on \x3Cid/query>
  4. type
  5. coordinate-based actions only as a fallback

Examples:

peekaboo set-value --on T1 --value "hello" --snapshot "$SNAPSHOT"
peekaboo perform-action --on B1 --action AXPress --snapshot "$SNAPSHOT"
peekaboo click --on "Save" --snapshot "$SNAPSHOT"
peekaboo type --text "hello world"

Common commands

  • Focus + inspect UI: peekaboo app switch --to "AppName" && peekaboo see --app "AppName" --json
  • List windows: prefer app-focused inspection over raw window listing
  • Click element: peekaboo click --on "Label" --snapshot "$SNAPSHOT"
  • Set text directly: peekaboo set-value --on T1 --value "text" --snapshot "$SNAPSHOT"
  • Trigger AX action: peekaboo perform-action --on B1 --action AXPress --snapshot "$SNAPSHOT"
  • Hotkey: peekaboo hotkey cmd,shift,t
  • Switch apps: peekaboo app switch --to "Notes"
  • Work with dialogs: peekaboo dialog list
  • Menu bar: peekaboo menubar list
  • Dock: peekaboo dock list
  • Spaces: peekaboo space list
  • Natural language agent: peekaboo agent "..."

When to ask first

Ask before:

  • destructive or irreversible actions
  • sending messages, emails, or posts through another app
  • entering secrets, passwords, or 2FA codes
  • bulk actions that could affect user data
  • installing Homebrew if it is not present

Do not ask before installing Peekaboo itself if Homebrew is already available and the user asked to use or set up Peekaboo.

Troubleshooting

If peekaboo see fails:

  • switch/focus the app first with peekaboo app switch --to "AppName"
  • if the app may be hidden, run peekaboo app unhide --app "AppName"
  • retry with peekaboo see --app frontmost --json
  • retry with a simpler target or a full-screen capture

If a semantic action fails:

  • refresh the snapshot
  • try perform-action
  • only then fall back to click or keyboard input

If permission output is unclear, report the raw missing permission names to the user.

Reporting

Keep updates short and concrete:

  • whether Peekaboo was already installed or was installed now
  • whether permissions are ready
  • what app/UI was inspected
  • what action succeeded or what blocked progress

Safety notes

  • Native desktop automation is high-impact; avoid risky guesses.
  • Do not claim success without command evidence.
  • If Peekaboo errors, retry once with a simpler or more direct command before concluding.
  • If the task is clearly a browser page task, use the browser tool instead of forcing Peekaboo.
安全使用建议
Install only if you want local Mac desktop automation through Peekaboo. Verify the Homebrew package source, grant Screen Recording and Accessibility permissions only if you are comfortable with the tool seeing and controlling your desktop, and require confirmation before destructive actions, sending messages, or handling secrets.
功能分析
Type: OpenClaw Skill Name: peekaboo-macos-automation Version: 1.0.0 The skill provides macOS desktop automation capabilities using the Peekaboo CLI tool. It includes scripts for environment diagnostics, permission checks, and automated installation via a legitimate Homebrew tap (steipete/tap/peekaboo). The instructions in SKILL.md are transparent, align with the stated purpose of GUI automation, and include explicit safety guidelines such as asking the user before performing destructive actions or entering secrets. No evidence of malicious intent, obfuscation, or unauthorized data exfiltration was found.
能力评估
Purpose & Capability
The stated purpose is native macOS GUI automation, and the documented capabilities match that purpose, including app switching, UI inspection, clicking, typing, and screen capture. These are inherently high-impact desktop controls, so users should understand the scope before enabling it.
Instruction Scope
The instructions include useful guardrails such as asking before destructive actions, sending messages, entering secrets, and bulk changes. However, routine desktop automation and Peekaboo installation are intended to proceed proactively when the skill is invoked.
Install Mechanism
The registry says there is no install spec, but SKILL.md and the helper script direct installation through Homebrew from steipete/tap/peekaboo. This is disclosed and purpose-aligned, but the external package is unpinned and not reviewed in these artifacts.
Credentials
The skill is clearly macOS-specific and requires macOS Screen Recording and Accessibility permissions, which are proportionate for desktop automation. The metadata has no OS restriction, so it may be invocable on unsupported systems even though the commands are Mac-focused.
Persistence & Privilege
No hidden background persistence or self-propagation appears in the provided files. The installed Peekaboo CLI and granted macOS permissions may persist after use until the user removes the package or revokes permissions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install peekaboo-macos-automation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /peekaboo-macos-automation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of peekaboo-macos-automation. - Provides desktop GUI automation for macOS native apps using Peekaboo. - Automatically detects and installs Peekaboo via Homebrew if missing. - Checks and prompts for required permissions (Screen Recording, Accessibility) before automation. - Follows a preferred sequence: detect/install, check permissions, focus app, inspect, act, and verify. - Includes clear troubleshooting steps and safety guidance for high-impact native UI actions.
元数据
Slug peekaboo-macos-automation
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

PeekabooV3 open claw的桌面自动化skill 是什么?

Use Peekaboo for macOS desktop GUI automation, screen understanding, and MCP-backed local app control. Trigger when the user wants to inspect or control nati... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 78 次。

如何安装 PeekabooV3 open claw的桌面自动化skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install peekaboo-macos-automation」即可一键安装,无需额外配置。

PeekabooV3 open claw的桌面自动化skill 是免费的吗?

是的,PeekabooV3 open claw的桌面自动化skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PeekabooV3 open claw的桌面自动化skill 支持哪些平台?

PeekabooV3 open claw的桌面自动化skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PeekabooV3 open claw的桌面自动化skill?

由 子沫(@zimuoo)开发并维护,当前版本 v1.0.0。

💬 留言讨论