peekaboo

peekaboo is a skill for Claude Code, Codex from openclaw/nix-openclaw-tools. It costs 17 tokens per session (993 once invoked), scanned A, a copy of peekaboo, MIT.

A command-line tool for controlling macOS screens, windows, menus, and applications. It can capture or inspect the screen, identify interface elements, and send input.

In plain words
What is it for?
Use it to automate macOS interfaces, capture screenshots or video frames, target visible controls, and manage apps and windows.
Why use it?
It lets scripts or coding agents operate graphical Mac applications instead of relying only on text commands.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to automate macOS interfaces, capture screenshots or video frames, target visible controls, and manage apps and windows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openclaw/nix-openclaw-tools/peekaboo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add openclaw/nix-openclaw-tools --skill peekaboo
Clone the repo
git clone --depth 1 https://github.com/openclaw/nix-openclaw-tools

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for peekaboo

README.md
[![agentmods](https://agentmods.dev/badge/skills/openclaw/nix-openclaw-tools/peekaboo/github.svg)](https://agentmods.dev/skills/openclaw/nix-openclaw-tools/peekaboo)
Your own site
<a href="https://agentmods.dev/skills/openclaw/nix-openclaw-tools/peekaboo"><img src="https://agentmods.dev/badge/skills/openclaw/nix-openclaw-tools/peekaboo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for peekaboo

Your own site · 80×15
<a href="https://agentmods.dev/skills/openclaw/nix-openclaw-tools/peekaboo"><img src="https://agentmods.dev/badge/skills/openclaw/nix-openclaw-tools/peekaboo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 84% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00993
Opus 5.5 $0.00007 $0.00397
Sonnet 5.5 $0.00003 $0.00199
Haiku 4.5 $0.00002 $0.00099

Measured 27d ago against content hash 4369238bd780, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

peekaboo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

84% identical to peekaboo — 197 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

tools/peekaboo/skills/peekaboo/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on 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.

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago Changed 4369238bd780
  2. 2mo ago Changed · -94 lines be53d9a46c6b
  3. 2mo ago First seen · 214 lines · 17 tokens per session scan A 0e7f6ae6c9a3

Subscribe to this mod's changes

peekaboo is a skill published in the GitHub repository openclaw/nix-openclaw-tools (54 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 993 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 84% identical to peekaboo, differing in 197 lines, and is treated as a copy.

Related

peekaboo compared with skills from other repositories

peekaboo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
peekabooopenclaw/nix-openclaw-toolsSkill543d agoMITA17Claude Code, Codex
interactive-loginyc-software/qmSkill16ktodayMITA46Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k13d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.2ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.3ktodayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill926todayMITA40Claude Code