strip-image-ai-metadata
Installation
SKILL.md
Strip Image AI Metadata
Platforms like LinkedIn read C2PA metadata embedded by AI image generators (ChatGPT, DALL-E, Midjourney, etc.) and display an attribution label. This skill removes that metadata without re-encoding, so image quality is preserved.
Supported formats
- PNG: removes
caBXchunks, generator text chunks (parameters,prompt,workflowand friends) and AI-relatedtEXt/iTXt/zTXtchunks, and erases AI attribution tags insideeXIf - JPEG: removes APP11 C2PA segments and AI-related APP1 (XMP) segments, erases AI attribution tags inside structured EXIF, and cleans the trailer after the
FFD9end-of-image marker - WebP: removes
C2PAchunks and AI-relatedXMPchunks, and erases AI attribution tags insideEXIF - Sidecars:
.xmpand.jsonfiles next to the image, or passed directly
Quick use
Run the bundled script on one or more images: