From image-production
Read and display EXIF, IPTC, XMP, and other metadata from images as structured JSON. Use when you need to inspect image metadata without modifying it — opposite of scrub-metadata, which removes metadata.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin image-productionThis skill is limited to using the following tools:
Extract metadata from image files using `exiftool` and output as structured JSON. Supports single files, batch operations, and filtering by metadata group (EXIF, IPTC, XMP, GPS, etc.).
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Extract metadata from image files using exiftool and output as structured JSON. Supports single files, batch operations, and filtering by metadata group (EXIF, IPTC, XMP, GPS, etc.).
command -v exiftool || echo "exiftool not installed — install with: sudo apt install libimage-exiftool-perl"
Abort if missing.
find to walk the tree.Single file, full metadata as JSON:
exiftool -j "<file.jpg>"
Single file, summary (human-readable):
exiftool -G1 -a -s "<file.jpg>" | head -50
Filtered by group (EXIF only):
exiftool -j -G1 -EXIF "<file.jpg>"
Common filters:
-EXIF — EXIF metadata only.-IPTC — IPTC tags (description, keywords, copyright).-XMP — XMP metadata (structured, often used by Adobe).-GPS — GPS coordinates (latitude, longitude, altitude).-MakerNote — camera-specific metadata.Batch (directory or recursive):
find <target> -maxdepth <1|999> -type f \
\( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \
-o -iname '*.heic' -o -iname '*.webp' -o -iname '*.tif' \) \
-exec exiftool -j {} \; > metadata.json
For JSON output:
If the user wants a summary, parse the JSON:
exiftool -j "<file.jpg>" | jq '.[] | {File, Make, Model, DateTime, GPSLatitude, GPSLongitude, Copyright}'
For a batch report:
exiftool -j -a -s "<target>/*" | jq '.[] | {FileName, Make, Model, LensModel, FocalLength, ISO, ExposureTime, FNumber}'
Print the metadata (JSON or summary, per user preference). If batch:
exiftool -j merges these intelligently; check the JSON keys to see what's present.-MakerNote to inspect.-GPS tags before sharing a photo. Many smartphone cameras and some cameras embed GPS by default.tEXt, iTXt) rather than EXIF. exiftool reads them as XMP or PNG metadata.jq -s '.' output.json to create a single JSON array for programmatic processing.apt install libimage-exiftool-perl.