/claw-skills:peekaboo-clifrom claw-skills
macOS UI automation CLI tool for screen capture, window control, element clicking, text input, and more. Use when users need macOS desktop automation, UI testing, screen capture, window management, or app control.
Ships in claw-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
macOS UI automation command-line tool providing complete desktop control capabilities.
Copy this skill to your agent's skills directory:
# Claude Code
mkdir -p ~/.claude/skills/peekaboo-cli
cp -r . ~/.claude/skills/peekaboo-cli/
# OpenClaw
mkdir -p ~/.openclaw/skills/peekaboo-cli
cp -r . ~/.openclaw/skills/peekaboo-cli/
brew install steipete/tap/peekaboo)Before executing any CLI commands, verify permission status first.
peekaboo permissions status
If permissions are not granted, guide the user to enable them:
Peekaboo requires the following macOS permissions:
- Screen Recording: For capturing UI screenshots
- Accessibility: For controlling UI elements
System Settings → Privacy & Security → Screen Recording/Accessibility → Add Terminal app
Then verify:
peekaboo permissions grant
peekaboo list apps
# List running applications
peekaboo list apps
# Capture current window UI with element annotations
peekaboo see --annotate --path /tmp/ui.png
# Click specific element (ID from see command)
peekaboo click --on elem_42
# Type text
peekaboo type "Hello World" --return
# Capture UI element map (recommended before click/type)
peekaboo see --json --annotate --path /tmp/ui.png
# Target specific app/window
peekaboo see --app "Safari" --window-title "GitHub"
# Capture menubar popovers
peekaboo see --menubar
# Capture entire screen
peekaboo see --mode screen
# Click element by ID
peekaboo click --on elem_42
peekaboo click "Submit" --wait-for 8000
# Coordinate-based click
peekaboo click --coords 100,200
# Double-click / Right-click
peekaboo click --on elem_42 --double
peekaboo click --coords 100,200 --right
# Type text
peekaboo type "[email protected]" --return
peekaboo type --clear "new text" # Clear field first
# Key presses and hotkeys
peekaboo press return
peekaboo hotkey "cmd,w" # Cmd+W
# Launch app
peekaboo app launch "Safari"
peekaboo app launch "Xcode" --open ~/Projects/MyApp.xcodeproj
# Quit app
peekaboo app quit --app "Safari"
peekaboo app quit --all --except "Finder,Terminal"
# Switch focus
peekaboo app switch --to Safari --verify
# List windows
peekaboo list windows --app "Safari" --include-details bounds,ids
# Move/Resize window
peekaboo window move --app Safari -x 100 -y 100
peekaboo window resize --app Safari -w 1200 --height 800
# Focus/Close/Minimize/Maximize
peekaboo window focus --app Terminal --space-switch
peekaboo window close --app Safari
# Click menu item
peekaboo menu click --app Safari --path "File,New Tab"
# List menubar status items
peekaboo list menubar
# Scroll
peekaboo scroll --direction down --amount 3
# Drag
peekaboo drag --from 100,100 --to 300,300
# Move mouse
peekaboo move --coords 500,500
# 1. Capture UI to get element IDs
peekaboo see --json --annotate --path /tmp/form.png
# 2. Click input field and type
peekaboo click --on elem_10
peekaboo type "username" --tab
peekaboo type "password" --return
# 1. Launch app
peekaboo app launch "Safari" --wait-until-ready
# 2. Wait and perform actions
peekaboo sleep 2
peekaboo hotkey "cmd,l" # Focus address bar
peekaboo type "https://github.com" --return
Most commands support --json output:
peekaboo see --json | jq '.data.ui_elements[] | {id, label, role}'
peekaboo list apps --json | jq '.data[] | select(.frontmost == true)'
peekaboo permissions status
peekaboo permissions grant
peekaboo see --json--wait-for to increase wait time--coords for coordinate-based targeting--space-switch for cross-Space windowspeekaboo app switch --to <app> --verify to confirm focus--no-auto-focus when already focused manuallyreferences/agent.md (opens in a new tab)references/app.md (opens in a new tab)references/bridge.md (opens in a new tab)references/capture.md (opens in a new tab)references/clean.md (opens in a new tab)references/click.md (opens in a new tab)references/clipboard.md (opens in a new tab)references/config.md (opens in a new tab)references/daemon.md (opens in a new tab)references/dialog.md (opens in a new tab)references/dock.md (opens in a new tab)references/drag.md (opens in a new tab)references/hotkey.md (opens in a new tab)references/image.md (opens in a new tab)references/learn.md (opens in a new tab)references/list.md (opens in a new tab)references/mcp-capture-meta.md (opens in a new tab)references/mcp.md (opens in a new tab)references/menu.md (opens in a new tab)references/menubar.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub terryso/claw-skills --plugin claw-skills7 skills in this plugin
/akshare-stockA股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。提供可执行 CLI 脚本,内置重试机制和错误处理。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。/explainer-videoTurn an article or post into a 60-second code-rendered explainer video: a single self-contained HTML timeline rendered frame-by-frame with headless Chromium and assembled with ffmpeg. Use when the user wants a blog post, HN story, or any article distilled into a motion-graphics video with narration, beat-synced motion, and broadcast-loudness audio. Covers 16:9 and 9:16. Not for AI-diffusion video generation or photorealistic footage./polyv-live-cli管理保利威直播服务,包括频道管理、推流操作、商品管理、优惠券、回放、文档和统计数据。当用户需要管理直播频道、配置推流设置、管理商品、处理优惠券、查看直播数据或管理回放录像时使用。/wechat-channels-video用 ego-browser 在 channels.weixin.qq.com 视频号助手发布任意视频:上传视频、填描述/短标题/话题/位置/封面(waitForFileChooser),可选声明原创与关联活动,保存为草稿。默认终点是「保存草稿」——发表需扫码,留给人完成。调用方自行提供视频路径与文案;内置实战避坑清单。/youtube-subtitle-burner下载 YouTube 视频到本地,提取 word-level 时间轴,翻译为中文,用 PIL 逐帧烧录字幕到视频画面。支持 2x 超采样抗锯齿消除文字锯齿。适用于横屏和竖屏视频。最终输出带中文字幕的 H.264 MP4 文件,可直接上传到国内平台。/youtube-summarizer下载 YouTube 视频字幕并生成结构化总结。当用户分享 YouTube 链接并要求总结视频、提取字幕或获取内容洞察时使用。支持所有 YouTube URL 格式(watch、youtu.be、shorts、embed、live)。