image-optimization-wasp-drone — Claude Code subagent
image-optimization-wasp-drone is a Claude Code subagent that audits image formats, sizing, loading, and placeholders in React, Next.js, and HTML.
AGPL-3.0-or-later ★ 96 updated 2026-10-18
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install web-development-tools@wasp-nestWhat image-optimization-wasp-drone does
This subagent reviews how a project encodes, sizes, and serves images. It checks AVIF and WebP choices, srcset and sizes, explicit dimensions, LCP candidates, placeholders, and next/image configuration. It can turn those findings into concrete remediation steps.
Its workflow covers Sharp, plaiceholder, @unpic/placeholder, ThumbHash, and Squoosh where those tools fit the image pipeline. For Next.js, it examines remotePatterns, formats, minimumCacheTTL, and the version-specific choice between priority and preload. The output is an image audit with an inventory and ordered fixes.
The Next.js version must be known before choosing priority or preload. The subagent also keeps image work separate from broad Lighthouse reviews, CDN cache design, SVG icon systems, and CSS animation performance.
What it helps with
- audit AVIF and WebP format choices
- correct
srcsetandsizesvalues - find images that cause layout shift
- add suitable image placeholders
- check Next.js
remotePatternssettings
Example prompts for the agent
- Audit the images in this project and write the report.
- Check the LCP image in Next.js and fix its loading setup.
- Review every
srcset,sizes, and placeholder decision, then propose code changes.
How to install image-optimization-wasp-drone
1Plugin marketplace
/plugin marketplace add legioncodeinc/vibe-coding-tools/plugin install web-development-tools@wasp-nest2Manually: put the files in place
.claude/agents/image-optimization-wasp-drone.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/image-optimization-wasp-drone.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/image-optimization-wasp-drone.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about image-optimization-wasp-drone
How do I install image-optimization-wasp-drone in Claude Code?
Run /plugin marketplace add legioncodeinc/vibe-coding-tools, then /plugin install web-development-tools@wasp-nest. Use .claude/agents/image-optimization-wasp-drone.md afterward.
What does image-optimization-wasp-drone do?
It audits image delivery in React, Next.js, and HTML, covering formats, responsive sizing, LCP loading, placeholders, and next/image settings. It produces a remediation report.
Which platforms support this subagent?
The listed platforms are Claude Code and Codex. Codex uses .codex/agents/image-optimization-wasp-drone.toml.