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/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/image-batch-processorWrote 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/morningstar202604/awesome-skillkit/image-batch-processor)<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.
<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>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.00123 | $0.01760 |
| Opus 5.5 | $0.00049 | $0.00704 |
| Sonnet 5.5 | $0.00025 | $0.00352 |
| Haiku 4.5 | $0.00012 | $0.00176 |
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.
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.
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.
- 2mo ago First seen · 155 lines · 123 tokens per session scan A 78877e4f54f8
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.
image-batch-processor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| image-batch-processorMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 123 | Claude Code, Codex |
| safe-refactorJuliusBrussee/caveman | Skill | 124k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| auditing-subgroup-fairnessmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 148 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| infographic-template-updaterantvis/Infographic | Skill | 7.2k | 1mo ago | MIT | A | 43 | Claude Code |
| pulse-configureSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 12 | Claude Code, Codex |