Screenshot
Installation
SKILL.md
When to Use
Use when the task needs a screenshot of a desktop app, browser page, simulator, region, window, or full screen, especially for debugging, QA, documentation, release notes, bug reports, visual review, or before/after comparison.
This skill is about taking the right screenshot reliably, not about editing images after the fact.
Tool Choice
| Context | Best default | Why |
|---|---|---|
| macOS desktop or window | screencapture |
Built-in, reliable, supports silent, interactive, region, and window capture |
| iOS Simulator | xcrun simctl io booted screenshot |
More reliable than generic desktop capture for simulator output |
| Linux Wayland | grim + slurp |
X11 tools often fail or behave oddly on Wayland |
| Linux X11 / headless CI | scrot or browser-native capture |
Works in minimal or virtual-display environments |
| Windows desktop capture | nircmd savescreenshot or Pillow ImageGrab |
Easier than verbose PowerShell screen APIs |
| Web page or web app | Playwright | Best for stable viewport, element, full-page, masked, and regression screenshots |
| Visual diff / screenshot tests | Playwright with fixed viewport | Better control over animations, caret, masks, and reproducibility |
Default to the most native capture path first. Move to browser-native tooling when determinism, masking, element capture, or visual regression matters more than convenience.