image-metadata-cleaner cleans privacy-sensitive metadata from user-owned
images by writing sanitized copies. The skill is designed for legitimate privacy
hygiene, file preparation, and reproducible publishing workflows.
It is not designed or documented for hiding authorship, evading provenance checks, bypassing AI labels, or misrepresenting an image's origin.
- Re-encodes image pixels into a fresh output file.
- Writes copies instead of modifying originals in place.
- Defaults folder output to
metadata-cleaned/. - Refuses output paths that resolve to the same file as the input.
- Produces a human-readable summary and optional JSON manifest.
- Reopens outputs and scans for common metadata keys and provenance marker strings.
Copy this folder to your Claude Code skills directory:
# Global, all projects
cp -r image-metadata-cleaner ~/.claude/skills/
# Or project-level only
cp -r image-metadata-cleaner your-project/.claude/skills/The skill name exposed to Claude is image-metadata-cleaner, matching the
AIwork4me/image-metadata-cleaner repository and installation directory for
official skill validation.
Ask for privacy metadata cleanup of images you own or are authorized to process:
Clean privacy metadata from this folder of product images.
Or invoke directly:
/image-metadata-cleaner /path/to/folder --manifest
Preview planned outputs:
uv run --with pillow==12.2.0 python scripts/strip.py /path/to/images --dry-runClean one file and write photo-clean.png or photo-clean.jpg beside it:
uv run --with pillow==12.2.0 python scripts/strip.py /path/to/photo.png --manifestClean a folder into /path/to/images/metadata-cleaned/:
uv run --with pillow==12.2.0 python scripts/strip.py /path/to/images --manifestChoose JPEG output explicitly:
uv run --with pillow==12.2.0 python scripts/strip.py /path/to/images --format jpg.png, .jpg, .jpeg, .webp, .bmp, .tiff, .tif
The script verifies that common metadata keys and common C2PA/JUMBF marker strings are not visible in the output file. This is a practical hygiene check, not a cryptographic guarantee.
It does not remove pixel-level watermarks, image fingerprints, external platform records, or any provenance signal outside the image file itself.
Run tests:
uv run --with pillow==12.2.0 python -m unittest discover -s testsMIT-0