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/guia-matthieu/clawfu-skillsnpx agentmods add skills/guia-matthieu/clawfu-skills/image-batchWrote 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/guia-matthieu/clawfu-skills/image-batch)<a href="https://agentmods.dev/skills/guia-matthieu/clawfu-skills/image-batch"><img src="https://agentmods.dev/badge/skills/guia-matthieu/clawfu-skills/image-batch/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/guia-matthieu/clawfu-skills/image-batch"><img src="https://agentmods.dev/badge/skills/guia-matthieu/clawfu-skills/image-batch.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.00044 | $0.01305 |
| Opus 5 | $0.00022 | $0.00652 |
| Sonnet 5 | $0.00009 | $0.00261 |
| Haiku 4.5 | $0.00004 | $0.00130 |
Grade A, and why
image-batch 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.
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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Image Batch Processing
Automate repetitive image tasks using Pillow and rembg - resize, compress, remove backgrounds, and watermark hundreds of images in seconds.
When to Use This Skill
- Social media prep - Resize images for multiple platforms at once
- Website optimization - Compress and convert to WebP for faster loading
- Product photos - Remove backgrounds, add consistent styling
- Brand protection - Add watermarks to marketing assets
- Batch conversion - Convert legacy formats to modern ones
What Claude Does vs What You Decide
| Claude Does | You Decide |
|---|---|
| Structures video workflow | Final creative vision |
| Suggests shot compositions | Equipment selection |
| Creates storyboard templates | Brand aesthetics |
| Generates script frameworks | Final approval |
| Identifies technical requirements | Budget allocation |
Dependencies
pip install Pillow rembg click
# For GPU-accelerated background removal:
# pip install rembg[gpu]
Commands
Resize Images
python scripts/main.py resize ./images/ --width 1200
python scripts/main.py resize ./images/ --format instagram # 1080x1080
python scripts/main.py resize ./images/ --format linkedin # 1200x627
Compress Images
python scripts/main.py compress ./images/ --quality 80
python scripts/main.py compress ./images/ --max-size 500 # Max 500KB
Remove Background
python scripts/main.py remove-bg photo.jpg
python scripts/main.py remove-bg ./products/ --output ./transparent/
Add Watermark
python scripts/main.py watermark ./images/ --logo logo.png --position bottom-right
python scripts/main.py watermark ./images/ --text "© 2024 Company" --opacity 0.3
Convert Format
python scripts/main.py convert ./images/ --format webp
python scripts/main.py convert ./images/ --format avif --quality 80
Examples
Example 1: Prepare Product Images for E-commerce
# Remove backgrounds
python scripts/main.py remove-bg ./raw-products/ --output ./transparent/
# Resize to standard size
python scripts/main.py resize ./transparent/ --width 1000 --height 1000 --fit contain
# Compress for web
python scripts/main.py compress ./transparent/ --quality 85 --format webp
# Output: ./transparent/*.webp (optimized, transparent background)
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.
- 10d ago First seen · 175 lines · 44 tokens per session scan A 2771d5b5b397
image-batch is a skill published in the GitHub repository guia-matthieu/clawfu-skills (149 stars, last pushed 5mo ago), licensed MIT. It adds 44 tokens to every session and 1,305 once invoked, about $0.0002 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.
Other skills, from other repositories
ads-creative-development
How to produce ad creative that converts at performance scale. Hook patterns, format selection, video pacing, variation systems, sequential testing methodology, fatigue detection, brand-voice alignment without conversion dilution, and platform-specific creative norms. Triggers on ad creative, ad design, hook patterns…
ads-performance-analytics
How to read paid media dashboards without fooling yourself. Attribution models, platform reporting quirks, multi-platform reconciliation, ROAS vs LTV horizon traps, statistical noise in performance metrics, incrementality testing, and the failure modes that produce expensive lessons. Triggers on read paid media…
integration-orchestrator
Generate a phased delivery orchestration plan for creative-direction-driven work: which skills run when, what locks at which gate, how handoffs occur, and how the cadence implements in the team's tools (Jira, Linear, Notion, Figma, GitHub) with AI agents via MCP and CLI. A temporal map of phases, lock points, handoff…
paid-media-strategy
A discipline for running paid media that does not light money on fire. Hypothesis writing for paid spend, channel selection, budget allocation, audience targeting, bid strategy, campaign types, what NOT to spend on, attribution reality, and the failure modes that produce expensive lessons. Triggers on paid media…
art-direction
Direct visual and creative work for campaigns, photography, illustration, video, and branded experiences. Use this skill whenever the user wants to brief a photographer, direct illustrators, plan a creative campaign, develop visual concepts, or evaluate creative work for fit. Triggers on art direction, photo brief…
brand-ideation
Generate, evaluate, and narrow brand concepts during early ideation including positioning territories, naming candidates, mood directions, and narrative angles. Use this skill whenever the user is in the early phase of brand creation, exploring brand directions, brainstorming names, building moodboards, generating…