Ianalloway screenshot annotator

From jiayaoqijia/cryptoskill · View interactive version

Ianalloway screenshot annotator is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Capture, annotate, and share screenshots with AI-powered descriptions using Peekaboo.

How to use this skill

Skill file

Screenshot Annotator

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

Features

Requirements

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:

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.