agentleFS
ianallowayianalloway/openclaw-skills/screenshot-annotator/SKILL.md

screenshot-annotator

Skill4 starsChanged 5 months agoMITView on GitHub

Capture, annotate, and share screenshots with AI-powered descriptions using Peekaboo.

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create step-by-step visual guides

    line 37
  2. Very specific:

    Always use peekaboo see --annotate before clicking to identify element IDs

    line 137
  3. Very specific:

    Use --analyze with specific prompts for better AI descriptions

    line 138
  4. Very specific:

    Check permissions with peekaboo permissions if captures fail

    line 140

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Screenshot Annotator

Capture screenshots with automatic UI element annotation and AI-powered descriptions. Built on top of Peekaboo for macOS UI automation.

Features

  • Capture full screen, specific windows, or regions
  • Automatically annotate UI elements with clickable IDs
  • Generate AI descriptions of what's on screen
  • Save annotated screenshots with metadata
  • Compare before/after screenshots
  • Create step-by-step visual guides

Requirements

  • macOS with Screen Recording permissions
  • Peekaboo CLI installed (brew install openclaw/tap/peekaboo)

Quick Start

Capture and annotate current screen

peekaboo see --annotate --path /tmp/annotated-screen.png

Capture specific app window

peekaboo see --app "Safari" --annotate --path /tmp/safari-annotated.png

Capture with AI analysis

peekaboo see --annotate --analyze "Describe the main UI elements and their purpose" --path /tmp/analyzed.png

Common Workflows

Document a bug

# 1. Capture the problematic state
peekaboo see --app "MyApp" --annotate --path /tmp/bug-screenshot.png

# 2. Get element IDs for the bug report
peekaboo list windows --app "MyApp" --json

# 3. Describe what's wrong
peekaboo see --app "MyApp" --analyze "Identify any UI issues or anomalies"

Create a tutorial

# Step 1: Capture initial state
peekaboo see --app "Finder" --annotate --path /tmp/step1.png

# Step 2: Click on target element
peekaboo click --on B3 --app "Finder"

# Step 3: Capture result
peekaboo see --app "Finder" --annotate --path /tmp/step2.png

Compare UI states

# Before
peekaboo see --app "Settings" --path /tmp/before.png

# Make changes...

# After
peekaboo see --app "Settings" --path /tmp/after.png

# Analyze differences
peekaboo see --app "Settings" --analyze "Compare this to the previous state and describe changes"

Advanced Usage

Capture specific region

peekaboo image --mode region --region 100,100,800,600 --path /tmp/region.png

Capture with retina resolution

peekaboo image --mode screen --retina --path /tmp/retina-screen.png

Capture menu bar

peekaboo menubar list --json
peekaboo see --mode menubar --annotate --path /tmp/menubar.png

Batch capture all windows

for app in "Safari" "Finder" "Terminal"; do
  peekaboo see --app "$app" --annotate --path "/tmp/${app}-annotated.png"
done

Output Formats

Screenshots are saved as PNG by default. Use --format jpg for JPEG output.

The --json flag outputs metadata including:

  • Window dimensions and position
  • Annotated element IDs and locations
  • Timestamp and app info

Tips

  1. Always use peekaboo see --annotate before clicking to identify element IDs
  2. Use --analyze with specific prompts for better AI descriptions
  3. Combine with peekaboo click and peekaboo type for automated workflows
  4. Check permissions with peekaboo permissions if captures fail

Author

Created by Ian Alloway - Data Scientist specializing in AI/ML.

License

MIT License

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.