skill
Screenshot Paste
UnreviewedPaste screenshots from clipboard into the Adom Viewer. Auto-resizes to Claude's ideal 1568px, compresses with sharp, AI-names files via Haiku, and saves both optimized and original versions.
name: adom-screenshot-paste
description: Open the Screenshot Paste widget in Adom Viewer for pasting clipboard screenshots. Auto-resizes, compresses, AI-names, and saves images.
Screenshot Paste
Open the Screenshot Paste widget in the Adom Viewer.
Usage
Call the MCP tool to open the widget:
mcp__adom-viewer__av_screenshot_paste({ title: 'Paste Screenshots' })
The widget handles everything automatically — resize, compress, AI-name, and save.
Key facts
- Images are resized to Claude's ideal 1568px max dimension (skipped if already small enough)
- PNGs compressed with sharp level 9
- AI naming via Haiku — descriptive kebab-case with dimensions
- Both optimized and original saved to
screenshots/sp/ - Clipboard write fails in VS Code webviews — widget shows right-click copy fallback when needed
- Widget renders as non-sandboxed iframe with
allow="clipboard-write"