Easel is an open-source content workspace and AI agent for managing social media from trend discovery through planning, content creation, publishing, and performance analysis. It is intended for social media creators and maintains separate account profiles, content projects, platform adaptations, and publishing records. The catalogue skills support these content and publishing workflows.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/ZJU-REAL/Easelnpx agentmods add skills/zju-real/easel/image-editingWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zju-real/easel/image-editing)<a href="https://agentmods.dev/skills/zju-real/easel/image-editing"><img src="https://agentmods.dev/badge/skills/zju-real/easel/image-editing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zju-real/easel/image-editing"><img src="https://agentmods.dev/badge/skills/zju-real/easel/image-editing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00197 | $0.01726 |
| Opus 5.5 | $0.00079 | $0.00690 |
| Sonnet 5.5 | $0.00039 | $0.00345 |
| Haiku 4.5 | $0.00020 | $0.00173 |
Grade A, and why
image-editing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
图像处理加工
对已有图片做确定性处理:缩放/裁剪/补边/转格式/压缩/水印/圆角/拼接/缩略图。 所有操作走
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 只处理现成图片文件
执行步骤
- 确认输入图片存在、明确目标操作与参数
- 从项目根目录运行
image_ops.py对应子命令(见下) - 需要平台尺寸时,查
references/platform-sizes.md取推荐比例/像素 - 回报输出路径与尺寸;多步操作可串联(如先 resize 再 compress)
命令速查
脚本路径统一为 skills/shared/scripts/image_ops.py,均支持 -h 查看参数。
# 缩放:按宽/高/百分比,--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
python skills/shared/scripts/image_ops.py crop -i in.jpg -o out.jpg --width 1080 --height 1080
# 补边到目标比例(社媒适配核心):把任意图 pad 成 1:1 / 9:16 / 16:9
python skills/shared/scripts/image_ops.py pad -i in.jpg -o out.png --ratio 9:16 --background "#ffffff"
python skills/shared/scripts/image_ops.py pad -i in.jpg -o out.png --ratio 1:1 --background "20,20,30"
# 格式转换 png/jpg/webp
python skills/shared/scripts/image_ops.py convert -i in.png -o out.webp --format webp --quality 85
# 压缩:定质量 或 逼近目标文件大小上限(jpg/webp)
python skills/shared/scripts/image_ops.py compress -i in.jpg -o out.jpg --quality 80
python skills/shared/scripts/image_ops.py compress -i in.jpg -o out.jpg --max-kb 200
# 水印:文字(位置/透明度/字号/颜色,自动找系统中文字体)或图片(右下角等)
python skills/shared/scripts/image_ops.py watermark -i in.jpg -o out.png --text "@账号名" --position bottom-right --opacity 0.5 --size 40
python skills/shared/scripts/image_ops.py watermark -i in.jpg -o out.png --image logo.png --position bottom-right --scale 0.3 --opacity 0.8
# 圆角(输出透明 png);--radius-percent 50 得圆形
python skills/shared/scripts/image_ops.py round -i in.jpg -o out.png --radius 60
python skills/shared/scripts/image_ops.py round -i avatar.jpg -o out.png --radius-percent 50
# 多图拼接:横向/纵向/网格 NxM(列x行),--cell-width/height 统一单元格
python skills/shared/scripts/image_ops.py collage -i a.jpg b.jpg c.jpg -o out.jpg --mode horizontal --gap 12
python skills/shared/scripts/image_ops.py collage -i 1.jpg 2.jpg 3.jpg 4.jpg -o out.jpg --grid 2x2 --gap 10 --cell-width 540 --cell-height 540
# 缩略图(最长边像素)
python skills/shared/scripts/image_ops.py thumbnail -i in.jpg -o thumb.jpg --size 256
# 读图片信息(json:尺寸/格式/比例/大小/透明通道)
python skills/shared/scripts/image_ops.py info -i in.jpg
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 109 lines · 197 tokens per session scan A c9ab01ceb15a
image-editing is a skill published in the GitHub repository ZJU-REAL/Easel (5,054 stars, last pushed 3d ago), licensed Apache-2.0. It adds 197 tokens to every session and 1,726 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
image-editing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| image-editingZJU-REAL/Easel | Skill | 5.1k | 3d ago | Apache-2.0 | A | 197 | Claude Code, Codex |
| information-security-manager-iso27001seaworld008/Commonly-used-high-value-skills | Skill | 75 | 2d ago | MIT | A | 34 | Claude Code, Codex |
| bmad-specalvin-reyes/better-agentic-ide | Skill | 38 | 13d ago | MIT | A | 76 | Claude Code |
| video-editoroyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 59 | Claude Code |
| bmad-advanced-elicitationalvin-reyes/better-agentic-ide | Skill | 38 | 13d ago | MIT | A | 55 | Claude Code |
| ai-newsletteroyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 36 | Claude Code |
| responsive-designoyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 23 | Claude Code |