peekaboo
Fungsinya
Skill ini memandu agent AI dalam menangkap dan mengendalikan aplikasi macOS dengan alat Peekaboo, mulai dari memeriksa layar hingga bertindak pada satu kontrol tertentu. Skill ini ditujukan bagi orang yang ingin agent mengoperasikan aplikasi Mac untuk mereka.
Kapan dipakai
- ✓Saat Anda ingin agent mengklik atau mengetik di aplikasi Mac untuk Anda.
- ✓Ketika Anda memerlukan tangkapan layar jendela aplikasi Mac untuk memeriksa kondisinya.
- ✓Ketika otomatisasi di Mac Anda perlu diverifikasi setelah dijalankan.
Link skill
https://github.com/openclaw/openclaw/blob/main/skills/peekaboo/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Buka aplikasi Notes di Mac saya, temukan catatan berjudul Belanjaan, dan beri tahu isinya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill memeriksa versi Peekaboo yang terpasang, lalu melihat aplikasi sasaran, bertindak pada kontrol yang dimaksud, dan memverifikasi hasilnya. Skill bekerja di bawah izin macOS milik aplikasi atau bridge yang melakukan tindakan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apakah ini memerlukan izin khusus?
Ya. Aplikasi atau bridge yang menjalankan tugas memerlukan izin macOS yang mengatur akses ke layar dan aplikasi lain.
Bagaimana jika aplikasi yang salah yang dituju?
Skill mengonfirmasi host dan target yang dipilih terlebih dahulu, dan tidak berganti penyedia hanya untuk memaksakan hasil.
Apakah ini berfungsi di Windows?
Tidak. Peekaboo hanya untuk macOS.
Detail
Deskripsi asli dari pembuat
Capture and automate macOS UI with the Peekaboo CLI.
repo: openclaw/openclaw
Popularitas
- Bintang GitHub
- 394k
- Peringkat
- #75
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
discord-user-post
394kMemungkinkan agent Anda mengirim pesan yang sudah Anda setujui ke Discord atas nama Anda, lewat aplikasi desktop Discord, setelah channel tujuannya dipastikan.
discrawl
394kMemungkinkan agent Anda mencari dan merangkum arsip pesan Discord lokal yang tersimpan, memeriksa seberapa baru arsipnya, dan membaca pesan langsung.
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
graincrawl
394kMemungkinkan agent Anda mencari catatan dan transkrip rapat Granola yang tersimpan, memeriksa seberapa baru datanya, dan menghitungnya dalam periode tertentu.
Skill serupa
executing-plans
311kMembantu agent Anda menjalankan rencana implementasi tertulis langkah demi langkah dalam sesi saat ini, menguji setiap langkah sebelum lanjut.
finishing-a-development-branch
311kMembantu agent Anda merampungkan kode yang sudah jadi dengan menjalankan tes, lalu menawarkan pilihan menggabungkan, membuka pull request, atau menyimpan cabang.
receiving-code-review
311kMembantu agent Anda menimbang masukan tinjauan kode dengan cermat, memeriksa setiap poin terhadap kode sebelum mengubah apa pun.