Converts iPhone HEIC photos to JPEG with a thumbnail gallery and optional password-protected ZIP using macOS sips. For sharing with recipients who can't open HEIC.
Ships in media-tools. 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.
Read when SKILL.md points to them; scripts run unread.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Turn a folder of HEIC (or any sips-readable) images into a share-ready JPEG bundle:
a self-contained gallery page plus an optional password-protected ZIP. Everything runs
through macOS sips and zip — no Homebrew, no Python, no ImageMagick.
iPhones shoot HEIC by default. HEIC is poorly supported on Windows and in a lot of appraisal / CRM / dealer / insurance software, so recipients hit a wall: they can see the file but can't open or import it, and free online converters are flaky. Re-encoding to JPEG once, locally, removes that wall for everyone downstream.
cloudflare-workers-publish skill) and want a gallery + a bulk-download ZIP.For the full end-to-end playbook (pull from a cloud album → bundle → host unlisted →
share via a gist gateway), see the photo-gallery-delivery skill, which orchestrates this one.
SKILL_DIR="$(dirname "$(find ~/.claude ~/eon -path '*/heic-to-jpeg-bundle/scripts/make-bundle.sh' 2>/dev/null | head -1)")"
# Gallery + password-protected ZIP that fits the Cloudflare Workers 25 MiB cap:
bash "$SKILL_DIR/make-bundle.sh" \
--src ~/Pictures/my-photos \
--title "2023 Corolla Cross — trade-in photos" \
--zip --password "CorollaCross2023" --zip-cap-mib 25
# Also emit a full-resolution JPEG tier (host its ZIP off a large-file host, not Workers):
bash "$SKILL_DIR/make-bundle.sh" --src ~/Pictures/my-photos --full --zip
Output:
<src>/_bundle/site/index.html # gallery: thumbnails -> full "view" JPEGs
<src>/_bundle/site/photos/photo-NNN.jpg
<src>/_bundle/site/thumbs/photo-NNN.jpg
<src>/_bundle/site/bundle.zip # when --zip and it fits the cap
<src>/_bundle/full/photo-NNN.jpg # when --full (full-res tier)
Deploy the site/ directory to any static host. Tap-through opens the 2048px "view"
JPEG, so close-up detail (VIN stickers, odometer, damage) stays legible even if the ZIP
tier was downscaled to fit a size cap.
| Flag | Default | Meaning |
|---|---|---|
--src DIR | (required) | Source folder of .heic/.jpg/.png/.tiff (non-recursive) |
--out DIR | <src>/_bundle | Output root |
--title "TEXT" | Photos | Gallery heading + <title> |
--view-edge PX | 2048 | Long edge of the per-photo "view" JPEGs |
--view-quality | 82 | JPEG quality (1–100) for the view tier |
--full | off | Also emit a full-resolution JPEG tier (no resize) |
--zip | off | Build a ZIP of the view tier |
--zip-cap-mib | 25 | Auto-downscale the ZIP tier until it lands under N MiB |
--password PW | none | Encrypt the ZIP (ZipCrypto) |
--jobs N | 6 | Parallel sips workers |
sips honors EXIF orientation when it resamples (-Z), so portrait shots come out
upright. It ships on every macOS — never reach for ImageMagick/magick for this.Asset too large). A ZIP of ~120 full-res iPhone JPEGs is
~100–500 MB and will not fit — hence --zip-cap-mib, which downscales the ZIP tier
(not the gallery) until it fits. For a true full-resolution bulk download, host that ZIP
on a large-file host (R2, a GitHub Release, your own server), not on Workers.--password uses classic ZipCrypto (zip -e), which Windows
Explorer, 7-Zip, and macOS Archive Utility all open natively with the password. AES-256
zips are stronger but need 7-Zip on the recipient's end — more friction for a
non-technical recipient, so ZipCrypto is the pragmatic default. It's a light access gate,
not strong cryptography.cloudflare-workers-publish for the hosting side.-0), not deflate — zipping
doesn't shrink them and -0 is faster.photo-NNN.jpg.--title — is folded to a numeric HTML entity like —).
ASCII is byte-identical under UTF-8 / Latin-1 / Windows-1252, so the page cannot mojibake
even if a host serves text/html with no charset (Cloudflare Workers does exactly that).
A build-time guard (iconv -f ASCII) fails the run if any non-ASCII byte survives.
perl -pe / sed -i edit that inserts
non-ASCII (e.g. \x{2014}, \x{2B07}, an emoji) over a UTF-8 file without the -CSD
layer — perl will read the existing multibyte bytes as Latin-1 and re-emit them as UTF-8,
silently corrupting them (the tell-tale Wide character in print warning). Each pass
re-encodes again. If you must post-edit generated HTML, edit ASCII entities, or use
perl -CSD. This skill avoids the pattern entirely by folding to entities once.sips and zip are macOS built-ins; the script fails fast if either is missing. No other
dependencies.
After running, before closing:
make-bundle.sh that caused it.--zip-cap-mib matches that host's real
cap, and record the cap if it differs from 25 MiB.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
heic-converter, jpeg-bundle, photo-gallery, macos-sips, image-conversion
/media-tools:heic-to-jpeg-bundle [source folder of HEIC images]from media-tools
npx claudepluginhub terrylica/cc-skills --plugin media-tools3 skills in this plugin
/photo-gallery-deliveryEnd-to-end playbook for getting a set of photos to someone who can't use what you sent — pull the originals from a cloud album, convert HEIC to JPEG, build a browsable gallery plus a password-protected ZIP, host it on an unlisted URL, and share it through a gist gateway that holds the password. Orchestrates the amazon-photos-album-download, heic-to-jpeg-bundle, and cloudflare-workers-publish skills. Use when a recipient (dealer, adjuster, client) reports they can't open or download your photos, or when you want a clean unlisted JPEG gallery plus bulk download. TRIGGERS - share photos with someone, recipient cant open photos, jpeg gallery delivery, send photos as downloadable link, unlisted photo gallery, deliver photo set, heic recipient problem./youtube-to-bookplayerDownload YouTube audio and push to BookPlayer on iPhone via USB. TRIGGERS - youtube audio, bookplayer, download youtubeOther plugins' skills for the same job