Licence
MIT
Version
0.1.0
Deps
0
Size
13 kB
Vulns
0
Weekly
0
pi-peekaboo
Dormant Peekaboo desktop automation extension for Pi.
The extension is intentionally dormant: it only registers a lightweight /peekaboo command at startup. The actual peekaboo tool and usage guidance are added to the model context only after you run /peekaboo.
Install
pi install npm:pi-peekabooFor local development from a checkout:
pi install ./packages/pi-peekabooUsage
Enable Peekaboo for the current Pi session:
/peekaboo
Enable it and immediately start a task:
/peekaboo inspect the current Safari window
Disable it for the current session:
/peekaboo off
When enabled, the extension exposes one generic peekaboo tool:
{
"args": ["see", "--json", "--path", "/tmp/peekaboo-see.png"],
"timeoutMs": 30000
}The tool runs peekaboo with argv arguments via Pi's extension API, not through a shell string.
Safety
- Read-only commands like
tools,list,see,image, andpermissions statusrun directly. - Desktop action commands like
click,type,hotkey, andwindowprompt for confirmation. peekaboo mcpis blocked because it is a long-running server process.peekaboo agent,analyze, and screenshot analysis require confirmation because they may invoke external AI providers.- Set
PI_PEEKABOO_ALLOW_ACTIONS=1to skip confirmation prompts for action commands.
Requirements
- macOS 15+
- Peekaboo installed (
brew install steipete/tap/peekaboo) - Screen Recording permission
- Accessibility permission recommended for robust automation