peekaboo

Automate macOS UI interactions to inspect, control, and test apps.

2|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/AG064/argentum --skill peekaboo-ag064
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: peekaboo
Source: https://github.com/AG064/argentum/tree/main/skills/peekaboo
Command: npx skills add https://github.com/AG064/argentum --skill peekaboo-ag064

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates macOS UI interactions to inspect, control, and automate tasks across apps.

Core Features & Use Cases

  • Core commands:
  • bridge: inspect Peekaboo Bridge host connectivity
  • capture: live capture or video ingest + frame extraction
  • clean: prune snapshot cache and temp files
  • config: init/show/edit/validate, providers, models, credentials
  • image: capture screenshots (screen/window/menu bar regions)
  • learn: print the full agent guide + tool catalog
  • list: apps, windows, screens, menubar, permissions
  • permissions: check Screen Recording/Accessibility status
  • run: execute .peekaboo.json scripts
  • sleep: pause execution for a duration
  • tools: list available tools with filtering/display options

Interaction

  • click: target by ID/query/coords with smart waits
  • drag: drag & drop across elements/coords/Dock
  • hotkey: modifier combos like cmd,shift,t
  • move: cursor positioning with optional smoothing
  • paste: set clipboard -> paste -> restore
  • press: special-key sequences with repeats
  • scroll: directional scrolling (targeted + smooth)
  • swipe: gesture-style drags between targets
  • type: text + control keys (--clear, delays)

System

  • app: launch/quit/relaunch/hide/unhide/switch/list apps
  • clipboard: read/write clipboard (text/images/files)
  • dialog: click/input/file/dismiss/list system dialogs
  • dock: launch/right-click/hide/show/list Dock items
  • menu: click/list application menus + menu extras
  • menubar: list/click status bar items
  • open: enhanced open with app targeting + JSON payloads
  • space: list/switch/move-window (Spaces)
  • visualizer: exercise Peekaboo visual feedback animations
  • window: close/minimize/maximize/move/resize/focus/list

Vision

  • see: annotated UI maps, snapshot IDs, optional analysis

Global runtime flags

  • --json/-j, --verbose/-v, --log-level <level>
  • --no-remote, --bridge-socket <path>

Quick Start

Install Peekaboo and run a basic command to capture a screenshot of the active application.

Frequently Asked Questions about peekaboo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate macOS UI interactions like clicking and typing from the command line?

You can automate macOS UI interactions by executing CLI commands to click, type, drag, and press hotkeys. This Skill targets elements by ID, query, or coordinates with smart waits, enabling full control across native applications.

Can I capture screenshots and extract frames from video on macOS using a CLI?

Yes, you can capture screenshots of screens, windows, or menu bar regions and extract frames from video ingests using CLI commands. It also provides annotated UI maps and snapshot IDs for optional visual analysis.

Do I need accessibility permissions to automate macOS UI tasks?

Yes, you need Screen Recording and Accessibility permissions on your macOS environment for full control. You can use a built-in permissions command to check the status of these system privileges before running automation scripts.

What is the best way to script routine macOS workflows across multiple applications?

The best way to script routine macOS workflows is by executing `.peekaboo.json` scripts. These scripts orchestrate app launching, window management, menu navigation, and text entry to automate repetitive tasks across applications.

How does macOS UI automation handle system dialogs and clipboard operations?

macOS UI automation handles system dialogs by clicking, inputting text, or dismissing them programmatically. It also reads and writes clipboard contents including text, images, and files, restoring the original clipboard after pasting.

Why does my macOS automation script fail to interact with application menus?

macOS automation scripts fail to interact with application menus without Screen Recording and Accessibility permissions. You must verify system permissions and ensure the target application is running before executing menu click or list commands.