image-batch

image-batch is a skill for Claude Code, Codex from guia-matthieu/clawfu-skills. It costs 44 tokens per session (1,305 once invoked), scanned A, original, MIT.

A tool for changing many image files at once using Pillow and rembg, a library that can remove image backgrounds.

In plain words
What is it for?
It helps resize, compress, watermark, convert, and remove backgrounds from images, including preparing WebP files for faster websites.
Why use it?
It removes repetitive manual image work and helps prepare consistent files for websites, social media, and marketing.

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 python scripts/main.py resize ./images/ --width 1200.

Good fit It helps resize, compress, watermark, convert, and remove backgrounds from images, including preparing WebP files for faster websites.

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/guia-matthieu/clawfu-skills
agentmods
npx agentmods add skills/guia-matthieu/clawfu-skills/image-batch

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/guia-matthieu/clawfu-skills/image-batch/github.svg)](https://agentmods.dev/skills/guia-matthieu/clawfu-skills/image-batch)
Your own site
<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.

agentmods 80×15 button for image-batch

Your own site · 80×15
<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>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,305 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.00044 $0.01305
Opus 5 $0.00022 $0.00652
Sonnet 5 $0.00009 $0.00261
Haiku 4.5 $0.00004 $0.00130

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

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/main.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/automation/image-batch/SKILL.md · 175 lines

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)

Read the full file on GitHub · 175 lines

Files

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.

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 · 175 lines · 44 tokens per session scan A 2771d5b5b397

Subscribe to this mod's changes

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.

Related

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…

rampstackco/claude-skills · 124 tokens

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…

rampstackco/claude-skills · 147 tokens

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…

rampstackco/claude-skills · 206 tokens

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…

rampstackco/claude-skills · 142 tokens

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…

rampstackco/claude-skills · 132 tokens

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…

rampstackco/claude-skills · 147 tokens