/image-production:web-readyfrom image-production
Orchestrates a one-shot pipeline to convert a folder of images (HEIC, RAW, PNG, JPEG, TIFF, WebP) into web-ready sets with EXIF stripping, resizing, and modern format encoding (AVIF + WebP, JPEG fallback).
Ships in image-production. 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.
One-shot pipeline: ingest anything → strip EXIF → resize → encode to web formats → optimise. The "make this folder uploadable" skill.
Do not use this skill when:
convert-to-jxl, optimize-png).optimize-png/optimize-jpeg only, no resize.blog (default): max-side 2000px, AVIF q60 + WebP q80 + JPEG q82 fallback, EXIF stripped.gallery: max-side 3000px, AVIF q70 + WebP q85, EXIF stripped.thumbnail: max-side 800px, AVIF q55 + WebP q75, EXIF stripped.archival-web: max-side 4000px, AVIF q80 + WebP q90, EXIF preserved.--max-side N, --avif-q N, --webp-q N, --jpeg-q N, --keep-exif, --no-jpeg-fallback.<input>/web/. Inside: web/avif/, web/webp/, web/jpg/ parallel trees so the user can pick which set to upload.--recursive. Mirrors subdirectory layout.Pre-flight: verify install-deps shows green for: magick/convert, exiftool, vipsthumbnail, avifenc, cwebp (already present for existing convert-to-webp), cjpeg-mozjpeg or cjpeg (for JPEG fallback), oxipng, jpegoptim. Missing optional tools are skipped (and the corresponding output format is dropped from the pipeline with a one-line note).
Stage 1: Decode/normalise inputs. Walk the input tree; classify each file:
heif-convert (or via vipsthumbnail if libvips has libheif). Fail loud if neither is available.darktable-cli "<input>" "<staged>.tiff" if installed, else vips copy (libvips has rudimentary RAW). If neither path works, skip the file with a flagged warning.Stage 2: Strip EXIF. Unless --keep-exif set:
exiftool -all= -tagsfromfile @ -Orientation -ColorSpace -overwrite_original "<staged>"
Preserve Orientation and ColorSpace (rotation handling and colour fidelity) even in strip mode.
Stage 3: Resize. Per file, fit within <max-side> box preserving aspect:
vipsthumbnail "<staged>" --size "<max-side>x<max-side>" --output "<resized>.png[Q=100]"
Use lossless intermediate to avoid double-compression. Skip if the source's longest side is already ≤ max-side.
Stage 4: Encode. For each survivor, produce up to three outputs:
avifenc -q <avif-q> -s 6 "<resized>.png" "<out>/avif/<basename>.avif"cwebp -q <webp-q> "<resized>.png" -o "<out>/webp/<basename>.webp"--no-jpeg-fallback): cjpeg-mozjpeg -quality <jpeg-q> -progressive -optimize (or stock cjpeg if mozjpeg missing) → <out>/jpg/<basename>.jpgRun encodes in parallel — they're independent.
Stage 5: Optimise (final squeeze).
jpegoptim --strip-all --all-progressive in-place on web/jpg/.--no-jpeg-fallback): oxipng -o 4 --strip safe.Cleanup: delete <staged> intermediates. Write a manifest at <output>/manifest.json mapping <original-path> → {avif, webp, jpg} plus per-file size deltas.
<output-dir>: avif/, webp/, jpg/.manifest.json with the mapping and size table.<orig> → AVIF <X>%, WebP <Y>%, JPEG <Z>%.blog profile. gallery and archival-web raise quality for slower-but-better output.convert-to-webp (single-format), convert-to-avif (single-format), optimize-png, optimize-jpeg. This orchestrator composes them; the user is welcome to use the components directly when they want finer control.What SKILL.md sets; muted values are Claude Code's defaults
38 skills in this plugin
/ai-graphicsGenerate AI graphics (banners, illustrations, hero images, social cards, characters, etc.) on fal, or Replicate if asked, choosing a cost-effective model per use case. Use when the user asks to create, generate, or make an image, banner, illustration, graphic, or artwork, or to redraw a reference image. For technical diagrams use tech-comms-diagrams./auto-deskewUse when the user wants to automatically straighten a tilted image — scanned documents, phone-captured pages, photographed receipts, or slightly off-axis photos. Detects the dominant skew angle and rotates the image to vertical/horizontal, optionally cropping the resulting transparent triangles. Uses ImageMagick `-deskew` for documents and a Hough-line fallback (via Python + OpenCV) for photographs./auto-toneUse when the user wants automatic tonal correction — fix flat/washed-out / underexposed / low-contrast images by stretching levels, normalising contrast, and gamma-correcting to a neutral midtone. Implements auto-level (per-channel histogram stretch), auto-gamma (midtone correction), and a combined "punch" mode via ImageMagick. Operates on JPEG/PNG/TIFF/WebP./auto-white-balanceUse when the user wants to automatically correct the white balance of an image (or batch) — neutralise colour casts from indoor lighting, mixed light, underwater shots, scans, or uncalibrated cameras. Implements gray-world (default), white-patch (per-channel auto-level), and a combined mode via ImageMagick. Operates on JPEG/PNG/TIFF/WebP; for RAW use `darktable-cli` instead./batch-set-copyrightBatch-stamp copyright, artist, and rights information on all images in a directory. Use when you need to quickly add copyright metadata to a photo library before distribution or archival — a convenience wrapper around exiftool./check-model-pricingCheck what an image model costs on fal (default) or Replicate, search fal's library for a model, and review or update the preferred image models per use case. Use when asked "how much is this model", "what's cheapest for X", "check fal pricing", "review the fal library", "update our preferred models", or before a bulk image run.image-production@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin image-productionOther plugins' skills for the same job