Skip to content

gonzo-oin/sips-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sips-skill

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

Why this skill

sips is preinstalled on macOS and works well for reliable command-line image tasks without external dependencies like ImageMagick.

Install

From skills.sh:

npx skills add https://github.com/gonzo-oin/sips-skill

Skill entry point

Quick examples

Resize (keep aspect ratio):

sips --resampleHeightWidthMax 1600 input.jpg --out resized.jpg

Convert JPEG to HEIC:

sips -s format heic -s formatOptions 80 input.jpeg --out output.heic

Crop to square:

sips --cropToHeightWidth 1200 1200 input.png --out cropped.png

Batch resize with helper script:

./scripts/sips_tool.sh apply \
  --out /tmp/resized \
  --args "--resampleHeightWidthMax 1920" \
  ./images

Included scripts

HEIC / HEIF support notes

Format support depends on your macOS build. Always verify on the target machine:

sips --formats

On many modern macOS versions:

  • heic is writable
  • heif may be read-only

Reference docs

Development

Validate shell scripts:

bash -n scripts/sips_tool.sh
bash -n scripts/convert_to_heic.sh

License

Apache-2.0 (see LICENSE).

About

sips-skill is a production-ready macOS skill for full image workflows using Apple’s built-in sips only. It covers metadata inspection, resize/crop/pad/rotate/flip, color profile operations, and format conversion with strong HEIC support, plus safe batch wrappers for repeatable automation without external dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages