image-batch-processor

image-batch-processor is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 123 tokens per session (1,760 once invoked), scanned A, original, Apache-2.0.

A local tool for applying the same image changes to every file in a folder. It can resize, crop, compress, convert formats, add watermarks, and optionally extract text from images.

In plain words
What is it for?
Use it to prepare folders of JPG, PNG, WebP, BMP, or TIFF files for delivery or storage, including batch resizing, format conversion, compression, watermarking, and optional OCR text extraction.
Why use it?
It avoids repeating the same editing steps one image at a time and leaves the original files untouched. A dry run can show the planned changes before writing results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/batch_process.py --input "$DIR" --output /tmp/preview --dry-run.

Good fit Use it to prepare folders of JPG, PNG, WebP, BMP, or TIFF files for delivery or storage, including batch resizing, format conversion, compression, watermarking, and optional OCR text extraction.

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/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/image-batch-processor

Made for: Claude Code, Codex.

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-batch-processor

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/image-batch-processor/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-batch-processor)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-batch-processor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/image-batch-processor/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-batch-processor

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-batch-processor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/image-batch-processor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,760 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.00123 $0.01760
Opus 5.5 $0.00049 $0.00704
Sonnet 5.5 $0.00025 $0.00352
Haiku 4.5 $0.00012 $0.00176

Measured 2mo ago against content hash 78877e4f54f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

image-batch-processor 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 2mo 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.

site/skills/design/image-batch-processor/SKILL.md · 155 lines

How it starts

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

Image Batch Processor (Local Pillow Workbench)

Apply a fixed pipeline to every image in a folder in one run: resize -> crop -> watermark -> compress/convert, writing results to an output directory while preserving the folder's relative layout. Originals are never touched; --dry-run prints the whole plan before anything is written.

Applicability Decision Table

Situation Use this skill? Notes
Resize/compress/watermark a whole folder at once Yes the core use case
Convert a batch to webp or jpg Yes --format
Extract text from screenshots/scans in bulk Partial needs pytesseract; warns if absent
Generate a new image from a prompt No use image-generation
Upload/publish to WeChat/Xiaohongshu/Bilibili No hand off to a publisher skill
Precise single-image retouching No use a raster editor

Input Checklist

Input Required Default Notes
--input yes - image file or directory
--output yes - results are written here; relative paths preserved
--patterns no jpg,jpeg,png,webp,bmp,tiff which extensions to process
--recursive no off descend into subfolders
Operation flags no - at least one of resize/crop/watermark/compress/format

When inputs are missing, ask once: the folder, the target platform or size, and which operations (compress quality, watermark text, output format).

Pre-flight Checks

python3 -c "import PIL; print('Pillow OK')"
df -h "$(dirname "$OUTPUT_DIR")"        # confirm free space for the batch
python3 scripts/batch_process.py --input "$DIR" --output /tmp/preview --dry-run

Remind the user that a backup of the originals is wise before large runs; this script writes only to --output, so the source folder stays intact.

Workflow

Step 1: Scan

Point --input at the folder; add --recursive for subfolders. Dry-run lists every matching image first.

Step 2: Choose operations

Pick from the Operations Catalog below. Pipeline order is fixed: resize -> crop -> watermark -> compress/format.

Read the full file on GitHub · 155 lines

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. 2mo ago First seen · 155 lines · 123 tokens per session scan A 78877e4f54f8

Subscribe to this mod's changes

image-batch-processor is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 123 tokens to every session and 1,760 once invoked, about $0.0005 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-09-26.

Related

image-batch-processor compared with skills from other repositories

image-batch-processor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-batch-processorMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A123Claude Code, Codex
safe-refactorJuliusBrussee/cavemanSkill124ktodayApache-2.0A29Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
auditing-subgroup-fairnessmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A148Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
infographic-template-updaterantvis/InfographicSkill7.2k1mo agoMITA43Claude Code
pulse-configureSnowflake-Labs/cocoplusSkill72923d agoMITA12Claude Code, Codex