Token导航 LogoToken导航

Agent Skill · 图像处理

image-highlight-cropper(图像高亮裁剪器)

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

image-highlight-cropper 是图像处理类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在图像处理类的 1,562 个 Skill 里排第 338。

总安装 9,474周安装 387GitHub Stars 公开资料未说明下载 3,034核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install image-highlight-cropper

这个 Skill 是做什么的

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

自动识别大图中的重点区域进行智能裁剪。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。突出显示细节部分适合制作特写镜头效果。上传长图后系统自动分析并返回裁剪建议。裁剪精度取决于原始图像分辨率与内容复杂度。

image-highlight-cropper 属于图像处理类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

image-highlight-cropper 怎么安装?

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

image-highlight-cropper 支持哪些 AI 工具?

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

image-highlight-cropper 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

image-highlight-cropper 是免费的吗?

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

image-highlight-cropper 用的人多吗?

公开数据是累计安装 9,474 次,近一周安装 387 次,下载 3,034 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

image-highlight-cropper 安全吗?

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

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

值得选的地方

  • 专注 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-highlight-cropper

图像高亮裁剪器 · 本页

9,474—需要联网MIT-0通过

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

SKILL.md 原文

name
image-highlight-cropper
description
>

Image Highlight Cropper

Extract the 5 most visually interesting detail regions from a large image, crop them as squares, display them in the chat (2 per row), and save them as downloadable files.

Workflow

Step 1 – Analyse the image

Look carefully at the uploaded image. Identify the 5 most interesting regions based on:

  • Visual richness: texture, fine detail, intricate patterns
  • Artistic significance: focal points, expressive faces, key objects
  • Contrast and color drama
  • Unique or surprising elements the viewer might miss at first glance

⚠️ Signature rule: If a painter's signature is visible anywhere in the image, it must always be one of the 5 highlights. Center the crop precisely on the signature so it is fully visible and not cut off.

⚠️ Strict 1:1 square-fit rule: Every highlight must be a subject that naturally fills a square frame. Before selecting a region, ask: *"Does this subject fit well into a square?"*

  • ✅ Good: a face, a bouquet of flowers, a single tree, a lamp post with surroundings, a signature, a wheel, a window, a doorway, a small group of figures
  • ❌ Bad: a wide panoramic skyline, a long horizontal street scene, a tall thin tower spanning the full image height — these are inherently non-square and will look like an awkward strip crop
  • If a subject is too wide or too tall to feel natural in a 1:1 frame, skip it and choose something else that genuinely fits a square
  • The goal: each crop looks intentional and well-composed, as if it were a standalone photograph

For each region, record:

  • A short label (e.g. "Gesicht links", "Goldornament", "Signatur")
  • Center point (cx, cy) of the subject and a half-size (half the desired square side length)
  • A one-sentence explanation of why this area is interesting

Step 2 – Crop with Python (Pillow)

Use the bash_tool + Python to:

  1. Load the image from /mnt/user-data/uploads/<filename>
  2. For each region: use the save_crop helper below — it handles edge cases automatically
  3. Save each crop to /mnt/user-data/outputs/highlight_1.jpg … highlight_5.jpg

Choosing the half-size: Claude decides per region:

  • Tiny ornament or signature → half = 100–200 px
  • Face or small group → half = 200–350 px
  • Large scene or texture area → half = 350–600 px
  • Rule of thumb: the crop should feel like a natural close-up. Always use center-based coordinates.

Edge case — subject at image border: If the desired crop extends beyond the image boundary, save_crop takes whatever image content is available and places it centered on a white square canvas (side = longest available side). This keeps the result square and clean with no distortion.

from PIL import Image
import os

img = Image.open("/mnt/user-data/uploads/IMAGE_FILENAME")
w, h = img.size

def save_crop(img, w, h, cx, cy, half, path):
    x1 = max(0, cx - half)
    x2 = min(w, cx + half)
    y1 = max(0, cy - half)
    y2 = min(h, cy + half)
    rect_w = x2 - x1
    rect_h = y2 - y1

    crop = img.crop((x1, y1, x2, y2))

    if rect_w == rect_h:
        # Already square — save directly
        crop.save(path, quality=92)
    else:
        # Place on white square canvas, centered horizontally and vertically
        canvas_size = max(rect_w, rect_h)
        canvas = Image.new("RGB", (canvas_size, canvas_size), (255, 255, 255))
        paste_x = (canvas_size - rect_w) // 2
        paste_y = (canvas_size - rect_h) // 2
        canvas.paste(crop, (paste_x, paste_y))
        canvas.save(path, quality=92)

# Define crops by CENTER point (cx, cy) and half-size
crops = [
    # (label, cx, cy, half)
    ("highlight_1", cx1, cy1, half1),
    ("highlight_2", cx2, cy2, half2),
    ("highlight_3", cx3, cy3, half3),
    ("highlight_4", cx4, cy4, half4),
    ("highlight_5", cx5, cy5, half5),
]

os.makedirs("/mnt/user-data/outputs", exist_ok=True)

for label, cx, cy, half in crops:
    save_crop(img, w, h, cx, cy, half, f"/mnt/user-data/outputs/{label}.jpg")

print("Done")

Step 3 – Display in chat

After saving, use present_files to make all 5 crops downloadable.

Then write a short markdown summary:

## 🎨 5 Highlights aus dem Bild

**1. [Label]** – [Erklärung warum interessant]
**2. [Label]** – ...
...

Show the crops 2 per row by presenting them via present_files and listing them clearly with their labels. Users can download each file individually.

Step 4 – Invite feedback

Ask the user: "Soll ich andere Bereiche auswählen, oder die Größe der Crops anpassen?"


Tips for choosing good crops

  • Avoid overlap between the 5 regions as much as possible
  • Spread across the image — don't cluster all crops in one corner
  • For paintings: prioritize faces, hands, symbolic objects, and texture-rich backgrounds
  • For technical drawings: prioritize labels, detail views, and complex intersections
  • half-size should be roughly 10–20% of the shorter image dimension so crops feel like genuine close-ups, not tiny stamps

Error handling

  • If the image cannot be opened, tell the user and ask them to re-upload
  • If Pillow is not installed: pip install Pillow --break-system-packages

平台分布

OpenClaw

83.22%
按下载量换算2,525

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills