peekaboo
Ce qu’il fait
Elle guide un agent IA dans la capture et le contrôle d'applications macOS avec l'outil Peekaboo, de l'inspection de l'écran à l'action sur un contrôle précis. Elle s'adresse aux personnes qui veulent qu'un agent utilise une application de Mac à leur place.
Quand l’utiliser
- ✓Quand vous voulez qu'un agent clique ou tape dans une application Mac pour vous.
- ✓Quand vous avez besoin d'une capture d'écran de la fenêtre d'une application Mac pour en vérifier l'état.
- ✓Quand une automatisation sur votre Mac doit être vérifiée après son exécution.
Lien du skill
https://github.com/openclaw/openclaw/blob/main/skills/peekaboo/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Ouvre l'application Notes sur mon Mac, trouve la note intitulée Courses, et dis-moi ce qu'elle contient.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
La skill vérifie la version de Peekaboo installée, puis observe l'application cible, agit sur le contrôle voulu et vérifie le résultat. Elle fonctionne avec les autorisations macOS de l'application ou du pont qui effectue l'action.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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.
Questions fréquentes
Nécessite-t-elle des autorisations particulières ?
Oui. L'application ou le pont qui effectue le travail doit disposer des autorisations macOS qui contrôlent l'accès à l'écran et aux autres applications.
Que faire si la mauvaise application est ciblée ?
La skill confirme d'abord l'hôte et la cible sélectionnés, et ne change pas de fournisseur simplement pour forcer un résultat.
Fonctionne-t-elle sous Windows ?
Non. Peekaboo est réservé à macOS.
Détails
Description originale de l’auteur
Capture and automate macOS UI with the Peekaboo CLI.
repo: openclaw/openclaw
Popularité
- Étoiles GitHub
- 394k
- Position au classement
- #75
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
discord-user-post
394kPermet à votre agent de publier sur Discord un message approuvé, en votre nom, via l'application de bureau, après confirmation du salon exact.
discrawl
394kPermet à votre agent de rechercher et de résumer une archive locale des messages Discord, de vérifier sa fraîcheur et de lire les messages privés.
gitcrawl
394kPermet à votre agent de chercher dans une archive de tickets et pull requests GitHub, de regrouper les doublons et de vérifier leur statut actuel.
graincrawl
394kPermet à votre agent de chercher dans vos notes et transcriptions de réunions Granola sauvegardées, de vérifier leur fraîcheur et de les compter sur une période.
Skills similaires
executing-plans
311kAide votre agent à exécuter un plan de mise en œuvre écrit, étape par étape, dans la session en cours, en testant chaque étape avant de passer à la suivante.
finishing-a-development-branch
311kAide votre agent à finaliser un code terminé en lançant les tests, puis en proposant des options claires : fusionner, ouvrir une pull request ou conserver la branche.
receiving-code-review
311kAide votre agent à examiner avec soin les retours de relecture de code, en vérifiant chaque point par rapport au code avant de modifier quoi que ce soit.