BumpyClock/agent-templates / skills_archive/peekaboo
peekaboo
UnverifiedmacOS screenshots, UI inspect, clicks, typing, app/window automation.
Peekaboo
macOS screen capture, UI inspection, GUI automation.
Binary
Prefer ~/bin/peekaboo (local release copy). Else peekaboo.
Check: ~/bin/peekaboo --version || peekaboo --version.
Safety
- Check permissions before capture/automation:
peekaboo permissions status --json. - Screenshot needs Screen Recording; clicks/typing/window control need Accessibility.
- Remote Macs: Screenshot may be blocked (missing Screen Recording) while clicks/typing work via Accessibility; continue with clicks or DOM automation when target knowable.
- Prefer
--jsonfor machine parsing,--no-remotefor local TCC testing. - No click/type/destructive automation unless user asked or target is controlled test.
Commands
PB="${PEEKABOO_BIN:-$HOME/bin/peekaboo}"
[ -x "$PB" ] || PB="$(command -v peekaboo)"
"$PB" permissions status --json
"$PB" list screens --json
"$PB" list apps --json
"$PB" list windows --app Safari --json
"$PB" image --mode screen --screen-index 0 --path /tmp/screen.png --json --no-remote
"$PB" see --app frontmost --path /tmp/frontmost.png --json --annotate
"$PB" tools --json
"$PB" learn
"$PB" click --coords 100,100 --json
"$PB" type "text" --json
Workflow
- Resolve
PB, confirm version when install state matters. permissions status --json; report exact missing TCC grants.- Screenshots:
imagewith--path,--json, usually--no-remote. - Element targeting:
see --json --annotate, click by element id/snapshot. - Long-running capture:
capture live; video frame sampling:capture video. - Discovery:
tools --json,learnfor full agent guide. - Verify output:
sips -g pixelWidth -g pixelHeight <path>or view image.
Documentation
Use the resolved binary's tools --json, learn, or <command> --help for installed capabilities and syntax.
Local checkout documentation is optional. Use its docs/commands/ directory only after locating and verifying that checkout; do not assume a machine-specific repository path.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |