image-editing SKILL.md skillA
image-editing from zju-real/easel is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zju-real/easel/image-editing@git:20261012.0d53744Pins git:20261012.0d53744 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zju-real/easel
- Path
skills/builtin/image-editing/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261012.0d53744, committed Oct 12, 2026
- Size
- 5,869 bytes
- Repository stars
- 3,982
- License
- Apache-2.0
通用图像处理加工:改尺寸/缩放、裁剪、补边适配平台尺寸、格式转换(png/jpg/webp)、 压缩到目标大小、加文字或图片水印、圆角、多图拼接、生成缩略图、读图片信息。 基于 image_ops.py 确定性处理。 使用时机:用户说"改尺寸"、"缩放图片"、"裁剪"、"压缩图片"、"加水印"、"转格式"、 "圆角"、"拼图/多图联排"、"缩略图"、"适配小红书/朋友圈尺寸"、"把图 pad 成 1:1"。 和 card-*(卡片类)的区别:card-* 是"HTML 设计→渲染出图", image-editing 只加工已有图片,不负责视觉设计。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 图像处理加工 > 对**已有图片**做确定性处理:缩放/裁剪/补边/转格式/压缩/水印/圆角/拼接/缩略图。 > 所有操作走 `skills/shared/scripts/image_ops.py`(纯 Pillow),不即兴写脚本。 ## 输入 - 一张或多张已存在的图片文件路径(png/jpg/webp 等 Pillow 支持格式) - 目标操作与参数(尺寸、比例、质量、水印文字、拼接方式等) ## 输出 - 处理后的图片文件(路径由用户指定或默认写入 `outputs/主题名/`) - 每条命令回显 `✅ 路径 (宽x高, 大小KB)`;`info` 输出 json ## 边界(与 card-* 划清) - card-quote / card-xiaohongshu / poster-hero / comparison-card = **设计并渲染新图**(HTML→截图) - image-editing = **加工已有图片**,不做视觉设计,不生成内容,只做像素级处理 - 需要"从数据/文字生成图" → 用 chart/infographic/card-*;本 SKILL 只处理现成图片文件 ## 执行步骤 1. 确认输入图片存在、明确目标操作与参数 2. 从**项目根目录**运行 `image_ops.py` 对应子命令(见下) 3. 需要平台尺寸时,查 `references/platform-sizes.md` 取推荐比例/像素 4. 回报输出路径与尺寸;多步操作可串联(如先 resize 再 compress) ## 命令速查 脚本路径统一为 `skills/shared/scripts/image_ops.py`,均支持 `-h` 查看参数。 ```bash # 缩放:按宽/高/百分比,--keep-ratio 在框内等比不拉伸 python skills/shared/scripts/image_ops.py resize -i in.jpg -o out.jpg --width 1080 python skills/shared/scripts/image_ops.py resize -i in.jpg -o out.jpg --percent 50 python skills/shared/scripts/image_ops.py resize -i in.jpg -o out.jpg --width 1080 --height 1440 --keep-ratio # 裁剪:坐标裁 或 居中裁到指定尺寸 python skills/shared/scripts/image_ops.py crop -i in.jpg -o out.jpg --box 100,50,900,650 …
Read the whole file at its exact version.
How to install
mdr add zju-real/easel/image-editing@sha256:c9ab01ceb15ac4e9The line at the top of this page pins the label git:20261012.0d53744, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_2xbztip3yk4ielyx)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 12, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5869 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zju-real/easel · 3,982 stars · license Apache-2.0 · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2xbztip3yk4ielyx GET https://markdownregistry.com/api/v1/resolve?ref=zju-real/easel/image-editing GET https://markdownregistry.com/api/v1/blob/c9ab01ceb15ac4e92e2e8279e163eba9ec30fd035606aadda97c2c20bbb6432d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.