← 返回 Skills 市场
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dinghaibin-image-processor
功能描述
Process and convert images with resize, crop, compress, and format conversion. Use when user needs to batch resize photos, convert image formats, compress im...
使用说明 (SKILL.md)
Image Processor
Process and convert images with resize, crop, compress, and format conversion.
Quick Start
# Resize an image
python scripts/process.py input.jpg --resize 800x600 --output output.jpg
# Convert format
python scripts/process.py input.png --format jpg --output output.jpg
Usage
python scripts/process.py INPUT [OPTIONS]
Options:
--output PATH Output file path
--resize WxH Resize to dimensions
--scale PERCENT Scale by percentage
--crop WxH+X+Y Crop to dimensions
--format FORMAT Convert format: jpg, png, webp, gif
--quality QUALITY JPEG quality (1-100)
--thumbnail SIZE Create thumbnail
--grayscale Convert to grayscale
--blur RADIUS Apply blur
--rotate DEGREES Rotate image
Examples
# Resize to 800px width
python scripts/process.py photo.jpg --resize 800x0 --output small.jpg
# Create thumbnail
python scripts/process.py photo.jpg --thumbnail 200x200 --output thumb.jpg
# Compress for web
python scripts/process.py large.jpg --quality 80 --format webp --output optimized.webp
# Batch resize
for f in *.jpg; do python scripts/process.py "$f" --resize 1200x0 --output "small_$f"; done
# Convert to PNG
python scripts/process.py input.jpg --format png --output output.png
Features
- Resize (by dimensions or percentage)
- Crop
- Format conversion (JPG, PNG, WebP, GIF)
- Quality/compression control
- Thumbnails
- Grayscale conversion
- Blur filter
- Rotation
- Batch processing
安全使用建议
This skill appears to do what it says: local image processing via the included Python script. Before using it for large/batch jobs: (1) Install Pillow (pip install pillow) — SKILL.md examples assume full functionality but don't explicitly show this. (2) Review and test on a small set of non-sensitive images: the script has a few implementation bugs (crop parsing uses an incorrect split, some dimension/zero-handling logic and reuse of args in batch mode can behave unexpectedly). (3) Because it operates on local files, run it in a working directory where you can safely overwrite or inspect outputs (or run on copies). There is no network activity or credential use in the code. If you plan to run large batches, consider fixing the small bugs or using a well-maintained image tool/library instead.
功能分析
Type: OpenClaw Skill
Name: dinghaibin-image-processor
Version: 1.0.0
The image-processor skill is a standard utility for manipulating images using the Pillow library. The Python script (scripts/process.py) implements common operations like resizing, cropping, and format conversion without any suspicious network activity, file system abuse, or data exfiltration logic. The instructions in SKILL.md are consistent with the code's functionality and do not contain any prompt injection attempts.
能力评估
Purpose & Capability
Name/description (image resize/convert/compress) aligns with the provided script and SKILL.md examples. The included script implements resize, crop, thumbnail, format conversion, blur, grayscale, rotation, and batch processing — all consistent with the description.
Instruction Scope
SKILL.md shows only local usage of the bundled script (python scripts/process.py ...). It does not instruct reading unrelated system files, contacting external endpoints, or accessing secrets. Minor issue: SKILL.md/Quick Start examples omit an explicit instruction to install the Pillow dependency (the script's docstring references it), so users may encounter an ImportError if Pillow is not installed.
Install Mechanism
No install spec is present and the skill is instruction-only with an included Python script. No downloads or external install steps are executed by the skill itself. The only runtime dependency is Pillow, which must be installed by the user; this is low-risk.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The script operates on local files provided by the user and does not attempt to read other environment data or secrets.
Persistence & Privilege
The skill is not always-enabled and uses normal model-invocation defaults. It does not modify other skills or system-wide settings and does not request elevated/persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dinghaibin-image-processor - 安装完成后,直接呼叫该 Skill 的名称或使用
/dinghaibin-image-processor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Image Processor 是什么?
Process and convert images with resize, crop, compress, and format conversion. Use when user needs to batch resize photos, convert image formats, compress im... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。
如何安装 Image Processor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dinghaibin-image-processor」即可一键安装,无需额外配置。
Image Processor 是免费的吗?
是的,Image Processor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Image Processor 支持哪些平台?
Image Processor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Image Processor?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills