Skip to content
Back to skills

Image Processing

ASecurity

Use when Pillow is needed for web-image resize, crop, trim, conversion, optimization, thumbnails, or OG cards.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 14, 2026
tools

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add anntnzrb/agents --skill image-processing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Image Processing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Image Processing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anntnzrb-image-processing/badge)](https://www.skillsdirectory.com/skills/anntnzrb-image-processing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
disable-model-invocation: true
name: image-processing
description: "Use when Pillow is needed for web-image resize, crop, trim, conversion, optimization, thumbnails, or OG cards."
license: AGPL-3.0-or-later
metadata:
  author: anntnzrb
---

# Image Processing

Generate a task-specific Pillow script under `<temp-dir>`. This skill does not bundle a CLI.

```text
uv run --with Pillow <temp-dir>/image-task.py
```

## Safety

- Inspect source dimensions, mode, format, and animation first
- NEVER overwrite originals without explicit user intent
- Write transformed files to explicit output paths
- Preserve animation only when the requested format supports it
- Test batch logic on one representative file first

## Required follow-up reads

|Need|Read|When|
|---|---|---|
|Pillow setup, format choice, and implementation patterns|`references/pillow-patterns.md`|Before writing the task-specific script|

## Workflow

1. Resolve input and output paths with `pathlib.Path`
2. Inspect images with `Image.open()` before transformation
3. Select the smallest matching pattern from `references/pillow-patterns.md`
4. Write a task-specific script under `<temp-dir>`
5. Run it through the documented `uv` command
6. Re-open outputs and verify dimensions, mode, and format

Files in this skill

  • SKILL.md1.2 KB
  • references/pillow-patterns.md4.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.