image-processing

image-processing is a skill for Claude Code from z0gSh1u/oh-my-writing-skill. It costs 58 tokens per session (1,171 once invoked), scanned A, original, MIT.

An image-editing skill that adds captions to pictures. It can place text in a separate bottom border or as a sticker inside the image, with support for Chinese text and emoji.

In plain words
What is it for?
Use it to create framed captions or positioned sticker labels, choosing the text, location, colors, font size, and padding.
Why use it?
It makes common caption layouts repeatable without manually editing each picture.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/image_processor.py ./images/*.jpg --output-dir ./output --mode frame --text "配文".

Part of the oh-my-writing-skill plugin — 9 skills shipped together

Good fit Use it to create framed captions or positioned sticker labels, choosing the text, location, colors, font size, and padding.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/z0gSh1u/oh-my-writing-skill
agentmods
npx agentmods add skills/z0gsh1u/oh-my-writing-skill/image-processing

Made for: Claude Code.

Or install oh-my-writing-skill, the plugin that ships this one along with the rest of its 9 skills.

Wrote 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.

agentmods badge for image-processing

README.md
[![agentmods](https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/image-processing/github.svg)](https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/image-processing)
Your own site
<a href="https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/image-processing"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/image-processing/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.

agentmods 80×15 button for image-processing

Your own site · 80×15
<a href="https://agentmods.dev/skills/z0gsh1u/oh-my-writing-skill/image-processing"><img src="https://agentmods.dev/badge/skills/z0gsh1u/oh-my-writing-skill/image-processing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,171 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01171
Opus 5 $0.00029 $0.00585
Sonnet 5 $0.00012 $0.00234
Haiku 4.5 $0.00006 $0.00117

Measured 10d ago against content hash fa0c1d223e70, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

image-processing 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/image_processor.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/image-processing/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

图片处理 Skill

你是一个图片处理助手,负责为配图添加文字标注和装饰效果。

核心能力

  1. 底部边框式配文:在图片下方添加独立的文字区域,类似画框效果
  2. 内部贴纸式配文:在图片内部添加带背景的文字标签,类似小红书贴纸效果
  3. 中文支持:使用 Windows 系统自带的微软雅黑字体
  4. Emoji 支持:使用 pilmoji 库渲染 Emoji 表情

使用方式

模式 1:底部边框式配文

在图片下方添加白色/深色背景的文字区域:

python scripts/image_processor.py input.jpg output.jpg --mode frame --text "这是配文 🎉"

效果示例:

┌────────────────────┐
│                    │
│      原图片         │
│                    │
├────────────────────┤
│  这是配文 🎉        │
└────────────────────┘

参数:

  • --mode frame:边框模式
  • --text:配文内容(支持中文和 Emoji)
  • --bg-color:背景颜色(默认 white,可用 black#RRGGBB
  • --text-color:文字颜色(默认 black
  • --font-size:字体大小(默认 32)
  • --padding:内边距(默认 20)

模式 2:内部贴纸式配文

在图片内部指定位置添加带背景的文字标签:

python scripts/image_processor.py input.jpg output.jpg --mode sticker --text "重点!" --position bottom-right

效果示例:

┌────────────────────┐
│                    │
│      原图片    ┌───┤
│               │重点│
└───────────────┴───┘

参数:

  • --mode sticker:贴纸模式
  • --text:配文内容
  • --position:位置,可选 top-lefttop-rightbottom-leftbottom-rightcenter
  • --bg-color:标签背景色(默认 #FFE4B5,浅橙色)
  • --text-color:文字颜色(默认 #333333
  • --font-size:字体大小(默认 28)
  • --opacity:背景透明度 0-255(默认 230)
  • --radius:圆角半径(默认 10)
  • --margin:距边缘距离(默认 20)

批量处理

处理多张图片:

python scripts/image_processor.py ./images/*.jpg --output-dir ./output --mode frame --text "配文"

字体配置

脚本会按以下顺序查找中文字体:

  1. C:/Windows/Fonts/msyh.ttc - 微软雅黑
  2. C:/Windows/Fonts/simhei.ttf - 黑体
  3. C:/Windows/Fonts/simsun.ttc - 宋体
  4. 系统默认字体(可能不支持中文)

如需使用自定义字体:

python scripts/image_processor.py input.jpg output.jpg --font "C:/MyFonts/custom.ttf" --text "配文"

颜色参考

常用颜色值:

名称 代码 用途
白色 white / #FFFFFF 边框背景
黑色 black / #000000 深色背景/文字
浅橙 #FFE4B5 贴纸背景
浅蓝 #E3F2FD 贴纸背景
浅绿 #E8F5E9 贴纸背景
浅粉 #FCE4EC 贴纸背景

Read the full file on GitHub · 138 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 10d ago First seen · 138 lines · 58 tokens per session scan A fa0c1d223e70

Subscribe to this mod's changes

image-processing is a skill published in the GitHub repository z0gSh1u/oh-my-writing-skill (33 stars, last pushed 6mo ago), licensed MIT. It adds 58 tokens to every session and 1,171 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens