An AI-agent skill for macOS image processing with Apple's built-in sips command.
This skill is designed for end-to-end image workflows using sips only:
- format conversion (JPEG, PNG, GIF, HEIC, etc.)
- resize, crop, pad, rotate, flip
- metadata/property operations
- ICC profile and color operations
- batch processing with helper scripts
sips is preinstalled on macOS and works well for reliable command-line image tasks without external dependencies like ImageMagick.
From skills.sh:
npx skills add https://github.com/gonzo-oin/sips-skillResize (keep aspect ratio):
sips --resampleHeightWidthMax 1600 input.jpg --out resized.jpgConvert JPEG to HEIC:
sips -s format heic -s formatOptions 80 input.jpeg --out output.heicCrop to square:
sips --cropToHeightWidth 1200 1200 input.png --out cropped.pngBatch resize with helper script:
./scripts/sips_tool.sh apply \
--out /tmp/resized \
--args "--resampleHeightWidthMax 1920" \
./imagesscripts/sips_tool.sh: Generic batch wrapper for arbitrarysipsoperations.scripts/convert_to_heic.sh: HEIC-focused converter with quality and size controls.
Format support depends on your macOS build. Always verify on the target machine:
sips --formatsOn many modern macOS versions:
heicis writableheifmay be read-only
Validate shell scripts:
bash -n scripts/sips_tool.sh
bash -n scripts/convert_to_heic.shApache-2.0 (see LICENSE).