peekaboo
できること
このスキルは、Peekabooツールを使ってmacOSのアプリをキャプチャし操作する手順を、AIエージェントに示します。画面の確認から1つの特定のコントロールへの操作まで、Macのアプリを代わりに操作させたい人のためのものです。
使う場面
- ✓Macのアプリでエージェントに、代わりにクリックや入力をさせたいとき。
- ✓Macのアプリのウィンドウの状態を確認するため、スクリーンショットがほしいとき。
- ✓Mac上の自動化が実行された後、その結果を検証したいとき。
スキルのリンク
https://github.com/openclaw/openclaw/blob/main/skills/peekaboo/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のMacでメモアプリを開き、「Groceries」というタイトルのメモを見つけて、その内容を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルはインストールされているPeekabooのバージョンを確認し、対象のアプリを見て、意図したコントロールを操作し、結果を検証します。操作を行うアプリまたはブリッジが持つmacOSの権限のもとで動作します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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 command | V4 command |
|---|---|
list apps |
app list |
image |
see --no-elements for pixels without element detection |
hotkey |
press with chords such as cmd+shift+t |
swipe |
drag --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 --jsonandpeekaboo permissions status --jsonfor 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.
よくある質問
特別な権限が必要ですか?
はい。作業を行うアプリまたはブリッジには、画面や他のアプリへのアクセスを制御するmacOSの権限が必要です。
間違ったアプリが対象になった場合はどうなりますか?
スキルは、選択されたホストと対象をまず確認し、結果を強制するためにプロバイダーを切り替えることはありません。
Windowsでも動きますか?
いいえ。PeekabooはmacOS向けです。
詳細
人気
- GitHubのスター
- 394k
- ランキング
- #75
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
graincrawl
394k保存されたGranolaのミーティングメモとトランスクリプトを検索し、その新しさを確認して、一定期間の件数を数えるようエージェントを支援します。
似ているスキル
executing-plans
311k書かれた実装計画を、現在のセッションの中で段階的に実行し、次に進む前に各ステップをテストするようエージェントを支援します。
finishing-a-development-branch
311k完成したコードを、テストを実行してから、マージ、プルリクエストの作成、またはブランチの保持という明確な選択肢を示すことで仕上げるようエージェントを支援します。
receiving-code-review
311kコードレビューのフィードバックを慎重に検討し、変更を加える前に、各指摘がコードに照らして正しいかを確認するようエージェントを支援します。