LaunchKit · 2026
Back to Skills

image-magik-resize

Resize images using ImageMagick (CLI)

0
1.0k downloads
by @pr1vateer

Setup & Installation

openclaw skills install @pr1vateer/image-magik-resize

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install image-magik-resize

What This Skill Does

Resizes images using ImageMagick via a Bash script. Supports width-only scaling, exact dimensions, percentage scaling, and conditional resizing. Called by the agent or openclaw CLI with a simple geometry string.

Lets agents resize images without the user knowing ImageMagick geometry flag syntax.

When to use it

  • Resize product photos to a standard width before uploading to a store
  • Scale down screenshots to 50% for use in documentation
  • Shrink large images before attaching them to emails
  • Resize a profile photo to exact pixel dimensions required by a platform
  • Reduce oversized photos without upscaling smaller ones

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: resize photo.jpg to 800 pixels wide

AGENT
  1. 1Identify the input file as photo.jpg
  2. 2Set geometry to 800x to preserve aspect ratio
  3. 3Call the resize tool: resize photo.jpg 800x
  4. 4Script invokes ImageMagick with the provided geometry
  5. 5Output file is written to the default output path
OUTPUT

photo.jpg resized to 800px width with aspect ratio preserved

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

ImageMagick installed (magick or convert binary)