From image-production
Convert images to JPEG XL format (.jxl) with quality presets (lossless, visually lossless, or web). Use when you want optimal compression for photo archival or long-term storage, especially from JPEG originals where lossless transcoding preserves the original bitstream at smaller file size.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin image-productionThis skill is limited to using the following tools:
Encode images to JPEG XL (.jxl) format using `cjxl`. Supports lossless, visually lossless, and web quality presets, with optional effort (compression) tuning.
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.
Encode images to JPEG XL (.jxl) format using cjxl. Supports lossless, visually lossless, and web quality presets, with optional effort (compression) tuning.
lossless (full fidelity, -d 0), visually-lossless (imperceptible loss, -d 1.0, default), or web (visible compression acceptable, -d 3.0). Default: visually-lossless.command -v cjxl || echo "cjxl not installed — install with: sudo apt install libjxl-tools"
Abort if missing.
lossless → -d 0visually-lossless → -d 1.0web → -d 3.0Set effort=7 unless the user overrides.
find to locate all images in the tree.Ask for confirmation before batch operations.
Single file:
cjxl -d <distance> -e <effort> input.jpg output.jxl
Batch (folder or recursive):
find <target> -maxdepth <1|999> -type f \
\( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \
-o -iname '*.gif' -o -iname '*.webp' -o -iname '*.tif' \) \
-exec cjxl -d <distance> -e <effort> {} {.}.jxl \;
Show progress (file count, time remaining estimate if batch is large).
After conversion:
.jxl files created in the same directory as originals (or in a user-specified output folder).cjxl auto-detects JPEG bitstream and preserves it. To recover the original JPEG bit-exact later, use djxl --jpeg input.jxl recovered.jpg. This is the killer feature for photo archives.apt install libjxl-tools.