c13c835c5f
Extracts the sharp resize logic from screenshotWithAccessibilityLabels into a standalone resizeImage() function exposed in the executor sandbox. Agents can now shrink screenshots (or any image) to consume fewer context tokens. Default behavior: fit within 1568×1568px (Claude-optimal), overwrite input file. Also supports explicit width/height/maxDimension/fit/quality for custom resizing. Replaces the old macOS-specific sips advice in skill.md.