AGENT SKILL

resize-magic

Resize images using ImageMagick (CLI). Entrypoint is a Bash script.

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

name
resize-magic
author
Stenkil <you@example.com>
version
0.1.0
commands
[ { "name": "resize", "usage": "resize <input-path> <geometry> [output-path]", "description": "Resize an image using ImageMagick.\nGeometry examples:\n - 800x -> width 800, preserve aspect ratio\n - 800x600 -> exact geometry (may change aspect)\n - 50% -> scale to 50% of original\n - 800x800\\> -> resize only if larger than 800x800" } ]
metadata
{ "openclaw": { "emoji": "?️", "install": [ { "id": "brew", "bins": [ "magick", "convert" ], "kind": "brew", "label": "Install ImageMagick (brew)", "formula": "imagemagick" } ], "requires": { "bins": [ "bash" ], "anyBins": [ "magick", "convert" ] } } }
entrypoint
scripts/resize.sh
description
Resize images using ImageMagick (CLI). Entrypoint is a Bash script.
command-tool
resize
user-invocable
true
command-dispatch
tool

02 资源文件 2

03 SKILL.md 正文

Overview

This skill provides a single executable script scripts/resize.sh that the agent (or the openclaw CLI) can call to resize an image with ImageMagick.

Installation (manual)

Copy the folder into your OpenClaw skills directory, e.g.:

cp -r resize-magic ~/.openclaw/skills/resize-magic

# or install via CLI if available
openclaw skill install ./resize-magic

04 同仓库更多 Skills