/chu-gallery:extract-exiffrom chu-gallery
Extract EXIF metadata from images to JSON. Works with any image folder. Outputs structured data including dimensions, orientation, and timestamps.
Ships in chu-gallery. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generic skill to extract EXIF metadata from images using exiftool.
exiftool installed (brew install exiftool)Invoke with: /extract-exif {path} [output.json]
Examples:
/extract-exif ./photos - Print JSON to stdout/extract-exif ~/Pictures/vacation ./metadata.json - Write to fileexiftool -ImageWidth -ImageHeight -DateTimeOriginal -Make -Model -LensModel -FocalLength -FNumber -ExposureTime -ISO -json {PATH}/*.{jpeg,jpg,JPEG,JPG,png,PNG,heic,HEIC} 2>/dev/null | \
bun -e '
const data = await Bun.stdin.json();
const images = data.map(img => ({
filename: img.SourceFile.split("/").pop(),
path: img.SourceFile,
width: img.ImageWidth,
height: img.ImageHeight,
aspect: img.ImageWidth && img.ImageHeight ? +(img.ImageWidth / img.ImageHeight).toFixed(2) : null,
orientation: img.ImageWidth > img.ImageHeight ? "landscape" : img.ImageWidth < img.ImageHeight ? "portrait" : "square",
timestamp: img.DateTimeOriginal || null,
camera: img.Make && img.Model ? `${img.Make} ${img.Model}`.trim() : null,
lens: img.LensModel || null,
focalLength: img.FocalLength || null,
aperture: img.FNumber || null,
shutter: img.ExposureTime || null,
iso: img.ISO || null
}));
console.log(JSON.stringify({ count: images.length, images }, null, 2));
'
{
"count": 42,
"images": [
{
"filename": "DSCF1234.jpeg",
"path": "/path/to/DSCF1234.jpeg",
"width": 3840,
"height": 2560,
"aspect": 1.5,
"orientation": "landscape",
"timestamp": "2025:01:05 10:35:11",
"camera": "FUJIFILM X-T5",
"lens": "XF23mmF1.4 R LM WR",
"focalLength": "23.0 mm",
"aperture": 1.4,
"shutter": "1/500",
"iso": 160
}
]
}
This skill is used by:
/gallery - Extracts metadata for gallery manifest creationWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub chufucious/chu-gallery-plugin --plugin chu-gallery5 skills in this plugin
/galleryCreate photo galleries with AI-assisted layout curation. Orchestrates atomic scripts and sub-agents. Use when user wants to create a gallery from photos, mentions "/gallery", or asks about photo layout and sequencing./generate-astro-galleryGenerate Astro page files from an existing gallery manifest. Internal step of /gallery workflow - use directly only to regenerate from completed manifests./review-image-batchReview a batch of images and output layout suggestions to an isolated batch file. Designed for parallel execution - each batch writes to its own file.Other plugins' skills for the same job