askill
image-tools

image-toolsSafety 95Repository

Resize, compress, convert, crop, and inspect images. Use this skill when the user asks to resize an image, compress a photo, convert image format (PNG to JPG etc), crop an image, get image dimensions/info, or optimize images for web.

0 stars
1.2k downloads
Updated 2/9/2026

Package Files

Loading files...
SKILL.md

Skill: image-tools

When to Use

Use this skill when the user asks to:

  • Resize an image (scale, set dimensions)
  • Compress or optimize an image for web
  • Convert between image formats (PNG, JPG, WebP, GIF, BMP, TIFF)
  • Crop an image
  • Get image info (dimensions, format, file size)
  • Create a thumbnail
  • Rotate or flip an image

Supported Formats

FormatReadWriteNotes
JPEGYesYesLossy, quality adjustable
PNGYesYesLossless, supports transparency
WebPYesYesModern web format
GIFYesYesAnimation supported
BMPYesYesUncompressed
TIFFYesYesProfessional/print

Input Parameters

ParameterRequiredDescriptionExample
actionYesresize, compress, convert, crop, info, rotateresize
inputYesInput image file pathphoto.jpg
outputFor mostOutput file pathresized.jpg
widthFor resizeTarget width in pixels800
heightFor resizeTarget height in pixels600
qualityFor compressJPEG/WebP quality 1-100 (default: 80)75
formatFor convertTarget formatwebp
crop_boxFor cropleft,top,right,bottom in pixels0,0,500,400
angleFor rotateRotation angle in degrees90

Procedure

  1. Determine the action from the user's request

  2. Run the bundled script:

    # Resize
    python3 skills/image-tools/scripts/process.py resize input.jpg --width 800 --output resized.jpg
    
    # Compress
    python3 skills/image-tools/scripts/process.py compress photo.jpg --quality 75 --output compressed.jpg
    
    # Convert format
    python3 skills/image-tools/scripts/process.py convert image.png --format webp --output image.webp
    
    # Crop
    python3 skills/image-tools/scripts/process.py crop photo.jpg --box 0,0,500,400 --output cropped.jpg
    
    # Get info
    python3 skills/image-tools/scripts/process.py info photo.jpg
    
    # Rotate
    python3 skills/image-tools/scripts/process.py rotate photo.jpg --angle 90 --output rotated.jpg
    
  3. The script auto-installs Pillow if needed

  4. Report the result to the user

Bundled Scripts

ScriptTypeDescription
scripts/process.pyPythonResize, compress, convert, crop, inspect, and rotate images

Example

resize photo.jpg to 800px wide
compress this image to 75% quality
convert screenshot.png to webp
crop the image to 500x400
what are the dimensions of this image
make a thumbnail of photo.jpg
rotate the image 90 degrees

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

89/100Analyzed 2/19/2026

High-quality, well-structured skill for image processing operations. Includes clear when-to-use section, supported formats table, input parameters, executable commands with examples, and bundled scripts. Actionable and reusable with good tags. Located in proper skills folder. No safety concerns. Scores high across all dimensions."

95
90
85
85
90

Metadata

Licenseunknown
Version0.1.0
Updated2/9/2026
Publisherdalehurley

Tags

No tags yet.