Zum Inhalt springen
Skillpedia
Allgemeines Programmieren394k · #75

peekaboo

Was er macht

Er führt einen KI-Agenten durch das Erfassen und Steuern von macOS-Apps mit dem Werkzeug Peekaboo, vom Betrachten des Bildschirms bis zur Aktion auf ein bestimmtes Bedienelement. Er ist für Menschen gedacht, die einen Agenten eine Mac-App für sich bedienen lassen wollen.

Wann du ihn nutzt

  • ✓Wenn ein Agent für dich in einer Mac-App klicken oder tippen soll.
  • ✓Wenn du einen Screenshot eines Mac-App-Fensters brauchst, um seinen Zustand zu prüfen.
  • ✓Wenn eine Automatisierung auf deinem Mac nach dem Lauf überprüft werden muss.

Link zum Skill

https://github.com/openclaw/openclaw/blob/main/skills/peekaboo/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/openclaw/openclaw/blob/main/skills/peekaboo/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Öffne die Notizen-App auf meinem Mac, finde die Notiz mit dem Titel Einkauf und sag mir, was darin steht.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill prüft die installierte Peekaboo-Version, betrachtet dann die Ziel-App, wirkt auf das vorgesehene Bedienelement ein und prüft das Ergebnis. Er arbeitet mit den macOS-Berechtigungen der App oder Brücke, die die Aktion ausführt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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 --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.
Häufige Fragen

Braucht er besondere Berechtigungen?

Ja. Die App oder Brücke, die die Arbeit erledigt, braucht die macOS-Berechtigungen für Bildschirm und andere Apps.

Was ist, wenn die falsche App angesprochen wird?

Der Skill bestätigt zuerst den gewählten Host und das Ziel und wechselt nicht den Anbieter, nur um ein Ergebnis zu erzwingen.

Funktioniert es unter Windows?

Nein. Peekaboo ist für macOS gedacht.

Details

Originalbeschreibung des Autors

Capture and automate macOS UI with the Peekaboo CLI.

repo: openclaw/openclaw

Beliebtheit

GitHub-Sterne
394k
Platz im Ranking
#75
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills