# Sharp Image CDN Optimizer

> On-the-fly image optimization using Sharp (libvips Node.js bindings) with CDN-aware caching headers. Supports responsive srcset generation, AVIF/WebP transcoding, and blur placeholder (LQIP) creation.

- Skill: `agentskillexchange/sharp-image-cdn-optimizer` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/sharp-image-cdn-optimizer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/sharp-image-cdn-optimizer/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/sharp-image-cdn-optimizer

---


# Sharp Image CDN Optimizer

On-the-fly image optimization using Sharp (libvips Node.js bindings) with CDN-aware caching headers. Supports responsive srcset generation, AVIF/WebP transcoding, and blur placeholder (LQIP) creation.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install sharp

Requirements and caveats from upstream:
- The typical use case for this high speed Node-API module
- that provide support for Node-API v9, including
- Node.js (^18.17.0 or >= 20.3.0), Deno and Bun.

- Source: https://github.com/lovell/sharp
- Extracted from upstream docs: https://raw.githubusercontent.com/lovell/sharp/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/sharp-image-cdn-optimizer/)

