Token导航 LogoToken导航

Agent Skill · 图像处理

image-edit-skill(图像编辑技巧)

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

image-edit-skill 是图像处理类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为可写文件;许可证为 MIT-0,第三方扫描已通过,按安装量在图像处理类的 1,562 个 Skill 里排第 374。

总安装 8,281周安装 335GitHub Stars 1下载 2,819核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:image-edit-skill(图像编辑技巧)
来源仓库:https://github.com/yangruihan/image-edit-skill
安装命令:
openclaw skills install image-edit-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install image-edit-skill

这个 Skill 是做什么的

图像处理类 Skill 处理生成、裁剪、压缩和批量转换图片的任务。

基于 PIL 库的图像处理专家级操作技能。支持批处理、水印添加与格式转换等功能。提供命令行式参数配置满足复杂编辑需求。适合开发者集成到自动化图像工作流中。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。image-edit-skill 属于图像处理类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install image-edit-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要可写文件,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

image-edit-skill 怎么安装?

在终端执行 openclaw skills install image-edit-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

image-edit-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

image-edit-skill 需要什么权限?

权限级别是可写文件。该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

image-edit-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

image-edit-skill 用的人多吗?

公开数据是累计安装 8,281 次,近一周安装 335 次,下载 2,819 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

image-edit-skill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理图像处理类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

图像处理类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
ai-image-generation

AI 图像生成 · Codex、Claude

4,365,552382调用外部服务未明确有提醒
openai-image-gen

OpenAI 图像生成 · OpenClaw

1,906,88432需要联网MIT-0有提醒
image

图像 · OpenClaw

525,99926需要联网MIT-0通过
baoyu-cover-image

宝玉封面图 · Codex、Claude

474,24016,779只读MIT有提醒
baoyu-image-gen

宝玉图像生成器 · Codex、Claude

468,00716,778接触敏感数据MIT通过
image-edit-skill

图像编辑技巧 · 本页

8,2811可写文件MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
pillow-skill
description
Expert Pillow (PIL) skill for image processing, manipulation, and analysis. Use this skill for image editing, batch processing, watermarking, format conversion, and extracting image information. Provides executable scripts and comprehensive reference documentation.

Pillow Image Processing Skill

English | 简体中文

This skill provides comprehensive image processing capabilities through executable scripts and reference documentation for Pillow (PIL).

When to Use This Skill

Activate this skill when the user requests:

  • Image editing operations (resize, crop, rotate, color adjustments)
  • Batch processing multiple images
  • Adding watermarks (text or image)
  • Image format conversions
  • Extracting image metadata or EXIF data
  • Applying filters or effects
  • Creating thumbnails

Core Capabilities

1. Image Editor (scripts/image_editor.py)

Edit single images with various operations:

Usage:

python scripts/image_editor.py input.jpg output.jpg [options]

Options:

  • --width WIDTH / --height HEIGHT: Resize dimensions
  • --no-aspect: Ignore aspect ratio when resizing
  • --crop X Y WIDTH HEIGHT: Crop rectangle
  • --rotate DEGREES: Rotate image
  • --flip {horizontal,vertical}: Flip image
  • --brightness FACTOR: Adjust brightness (0.0-2.0)
  • --contrast FACTOR: Adjust contrast (0.0-2.0)
  • --color FACTOR: Adjust color saturation (0.0-2.0)
  • --sharpness FACTOR: Adjust sharpness (0.0-2.0)
  • --filter {blur,contour,detail,edge_enhance,emboss,sharpen,smooth}: Apply filter
  • --format FORMAT: Output format (JPEG, PNG, etc.)
  • --quality QUALITY: JPEG quality (1-100)

Examples:

# Resize maintaining aspect ratio
python scripts/image_editor.py photo.jpg resized.jpg --width 800

# Multiple operations
python scripts/image_editor.py input.jpg output.jpg \
    --crop 100 100 800 600 \
    --rotate 90 \
    --brightness 1.2 \
    --sharpen 1.5

2. Batch Processor (scripts/batch_processor.py)

Process multiple images in parallel:

Usage:

python scripts/batch_processor.py input_dir output_dir [options]

Options:

  • --pattern PATTERN: File pattern (e.g., *.jpg)
  • --resize WIDTH HEIGHT: Resize all images
  • --thumbnail MAX_W MAX_H: Create thumbnails (maintains aspect)
  • --grayscale: Convert to grayscale
  • --brightness FACTOR: Adjust brightness
  • --format FORMAT: Convert format
  • --quality QUALITY: JPEG quality
  • --workers N: Number of parallel workers (default: 4)

Examples:

# Create thumbnails
python scripts/batch_processor.py ./photos ./thumbs --thumbnail 300 300

# Batch convert and resize
python scripts/batch_processor.py ./raw ./processed \
    --resize 1920 1080 \
    --format JPEG \
    --quality 90

3. Watermark Tool (scripts/watermark.py)

Add text or image watermarks:

Usage:

python scripts/watermark.py input.jpg output.jpg --text "TEXT" [options]
python scripts/watermark.py input.jpg output.jpg --image logo.png [options]

Common Options:

  • --position {top-left,top-right,bottom-left,bottom-right,center}: Position
  • --opacity 0-255: Transparency level
  • --margin PIXELS: Margin from edge

Text Options:

  • --font-size SIZE: Font size
  • --color COLOR: Text color (white/black/red/etc)

Image Options:

  • --scale RATIO: Watermark scale (0.0-1.0)

Examples:

# Text watermark
python scripts/watermark.py photo.jpg marked.jpg \
    --text "© 2026 Company" \
    --position bottom-right \
    --opacity 128

# Logo watermark
python scripts/watermark.py image.jpg output.jpg \
    --image logo.png \
    --scale 0.2 \
    --position top-left

4. Image Info (scripts/image_info.py)

Extract image metadata and properties:

Usage:

python scripts/image_info.py image.jpg [options]

Options:

  • --format {text,json}: Output format
  • --output FILE: Save to file

Provides:

  • File information (size, path)
  • Image properties (dimensions, format, mode)
  • Color information (bands, palette)
  • EXIF data (if available)
  • Metadata

Example:

# Display info
python scripts/image_info.py photo.jpg

# Save as JSON
python scripts/image_info.py photo.jpg -o info.json --format json

Reference Documentation

references/common_operations.md

Comprehensive Pillow reference covering:

  • Opening and saving images
  • Resizing and cropping
  • Rotation and flipping
  • Color adjustments and enhancements
  • Filters and effects
  • Drawing on images
  • Image composition
  • Working with channels
  • EXIF data handling
  • Performance tips

When to use: When Claude needs specific Pillow syntax or operation patterns.

references/best_practices.md

Best practices guide covering:

  • Format selection (JPEG vs PNG vs WebP)
  • Resizing strategies
  • Color mode conversion
  • Memory management
  • Watermarking strategies
  • Filter application
  • Optimization techniques
  • Error handling patterns
  • Common workflows

When to use: When designing image processing workflows or optimizing performance.

Workflow Guidelines

Step 1: Analyze Requirements

  • What format is the input image?
  • What operations are needed?
  • Is it a single image or batch?
  • Are there quality requirements?

Step 2: Choose the Right Tool

  • Single image edit → image_editor.py
  • Multiple images → batch_processor.py
  • Add watermark → watermark.py
  • Need info → image_info.py

Step 3: Plan Operations

  • Apply operations in logical order
  • Consider quality vs file size tradeoffs
  • Validate input requirements

Step 4: Execute and Validate

  • Run the script with appropriate options
  • Check output quality
  • Verify file sizes and formats

Common Patterns

Pattern 1: Web Image Optimization

# Resize and optimize for web
python scripts/image_editor.py large.jpg web.jpg \
    --width 1200 \
    --quality 85 \
    --format JPEG

Pattern 2: Create Image Gallery

# Generate thumbnails
python scripts/batch_processor.py ./originals ./gallery \
    --thumbnail 400 400 \
    --format JPEG \
    --quality 90

Pattern 3: Brand Images with Watermark

# Add company logo
python scripts/watermark.py product.jpg branded.jpg \
    --image company_logo.png \
    --position bottom-right \
    --scale 0.15 \
    --opacity 180

Pattern 4: Batch Format Conversion

# Convert PNG to JPEG
python scripts/batch_processor.py ./pngs ./jpegs \
    --format JPEG \
    --quality 95

Dependencies

pip install Pillow

Tips for Effective Use

  1. Preserve originals: Never overwrite source images
  2. Use appropriate formats: JPEG for photos, PNG for graphics
  3. Optimize quality: Balance quality and file size
  4. Batch operations: Use batch processor for multiple images
  5. Check references: Consult reference docs for advanced operations
  6. Validate inputs: Check image format and size before processing
  7. Test first: Try operations on one image before batch processing

Limitations

  • Limited to 2D image processing (no video)
  • Some EXIF data may not be preserved in all formats
  • Font availability may vary by system
  • Very large images may require significant memory
  • Advanced photo editing (layers, masks) requires specialized tools

Troubleshooting

Import errors: Ensure Pillow is installed (pip install Pillow) Font not found: Watermark script falls back to default font Memory errors: Process large images in smaller batches Format errors: Check input image format compatibility RGBA to JPEG: Script automatically handles RGBA→RGB conversion

For detailed operations and troubleshooting, always refer to references/common_operations.md and references/best_practices.md.

平台分布

OpenClaw

89.53%
按下载量换算2,524

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills