← 返回 Skills 市场
5213
总下载
1
收藏
40
当前安装
1
版本数
在 OpenClaw 中安装
/install imagemagick
功能描述
Perform image manipulation tasks like background removal, resizing, format conversion, rounding corners, watermarking, and color adjustments using ImageMagic...
使用说明 (SKILL.md)
ImageMagick Moltbot Skill
Comprehensive ImageMagick operations for image manipulation in Moltbot.
Installation
macOS:
brew install imagemagick
Linux:
sudo apt install imagemagick # Debian/Ubuntu
sudo dnf install ImageMagick # Fedora
Verify:
convert --version
Available Operations
1. Remove Background (white/solid color → transparent)
./scripts/remove-bg.sh input.png output.png [tolerance] [color]
| Parameter | Default | Range | Description |
|---|---|---|---|
| input.png | — | — | Source image |
| output.png | — | — | Output transparent PNG |
| tolerance | 20 | 0-255 | Color matching fuzz factor |
| color | #FFFFFF | hex | Color to remove |
Examples:
./scripts/remove-bg.sh icon.png icon-clean.png # default white
./scripts/remove-bg.sh icon.png icon-clean.png 30 # loose tolerance
./scripts/remove-bg.sh icon.png icon-clean.png 10 "#000000" # remove black
2. Resize Image
convert input.png -resize 256x256 output.png
3. Convert Format
convert input.png output.webp # PNG → WebP
convert input.jpg output.png # JPG → PNG
convert input.png -quality 80 output.jpg # Compress
4. Rounded Corners (iOS style)
convert input.png -alpha set -virtual pixel transparent \
-distort viewport 512x512+0+0 \
-channel A -blur 0x10 -threshold 50% \
output-rounded.png
5. Add Watermark
convert base.png watermark.png -gravity southeast -composite output.png
6. Batch Thumbnail Generation
for f in *.png; do convert "$f" -resize 128x128 "thumbs/$f"; done
7. Color Adjustments
convert input.png -brightness-contrast 10x0 output.png # brighter
convert input.png -grayscale output.png # grayscale
convert input.png -modulate 100,150,100 output.png # more saturation
Common Patterns
Flat Icon → Transparent Background
./scripts/remove-bg.sh icon.png icon-clean.png 15
Generate App Icon Set (iOS)
for size in 1024 512 256 128 64 32 16; do
convert icon.png -resize ${size}x${size} icon-${size}.png
done
Optimize for Web
convert large.png -quality 85 -resize 2000x2000\> optimized.webp
Tips
- Higher tolerance (20-50): Better for anti-aliased edges, may remove some foreground
- Lower tolerance (5-15): Preserves detail, may leave color fringes
- For flat icons: 10-20 usually works best
- Use
-qualityfor JPEG/WebP compression (0-100) - Use
-stripto remove metadata for smaller files
安全使用建议
This skill appears safe for normal local image-editing use. Before installing, note that it requires ImageMagick from your system package manager, and before running commands, check input/output paths to avoid overwriting files. The remove-background helper may not honor the documented target color argument, so test it on a copy first.
功能分析
Type: OpenClaw Skill
Name: imagemagick
Version: 1.0.0
The skill bundle is benign. It provides a wrapper for ImageMagick operations, including a simple bash script (`scripts/remove-bg.sh`) that calls the `convert` command. All installation instructions in `SKILL.md`, `README.md`, and `skill.json` use standard package managers (brew, apt, dnf) for ImageMagick. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts against the agent; all instructions and code are clearly aligned with the stated purpose of image manipulation.
能力评估
Purpose & Capability
The stated purpose matches the included ImageMagick commands and helper script, but the remove-background script documents a target color option that is not actually used in the convert command.
Instruction Scope
The instructions are mainly shell-command examples for local image edits, including batch output generation. This is expected for an ImageMagick skill, but users should review paths and outputs before running commands.
Install Mechanism
The skill relies on installing ImageMagick through system package managers, while the registry-level requirements say no binaries or install spec are required. This is under-declared but purpose-aligned.
Credentials
The artifacts show local image input/output operations only, with no credentials, network endpoints, hidden data collection, or unrelated file access.
Persistence & Privilege
No persistence, background execution, autonomous agent behavior, or credential use is shown. The only elevated command is a user-directed Linux package installation example.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install imagemagick - 安装完成后,直接呼叫该 Skill 的名称或使用
/imagemagick触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial ClawHub release
元数据
常见问题
ImageMagick Operations 是什么?
Perform image manipulation tasks like background removal, resizing, format conversion, rounding corners, watermarking, and color adjustments using ImageMagic... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5213 次。
如何安装 ImageMagick Operations?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install imagemagick」即可一键安装,无需额外配置。
ImageMagick Operations 是免费的吗?
是的,ImageMagick Operations 完全免费(开源免费),可自由下载、安装和使用。
ImageMagick Operations 支持哪些平台?
ImageMagick Operations 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ImageMagick Operations?
由 kesslerio(@kesslerio)开发并维护,当前版本 v1.0.0。
推荐 Skills