Skip to main content
subagent CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install web-development-tools@wasp-nest
Open on GitHub

What 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 srcset and sizes values
  • find images that cause layout shift
  • add suitable image placeholders
  • check Next.js remotePatterns settings

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-nest

2Manually: put the files in place

.claude/agents/image-optimization-wasp-drone.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

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.

Similar subagents

All subagents for Frontend and UI →

From the same set172

The whole set →
wasp-nest-core wasp-nest-core is a hook for Claude Code and Codex that validates components and checks file edits. It runs on session starts and tool calls. CX Codex ★ 96repo stars newsletter-platform-wasp-drone newsletter-platform-wasp-drone is a subagent for Claude Code, Codex, and Cursor that picks newsletter platforms, embeds Next.js signup forms, and handles monetization and list migration. CX Codex ★ 96repo stars posthog-stinger posthog-stinger configures PostHog analytics for SvelteKit 5 apps deployed on Vercel. It fixes router pageview tracking, sets up feature flags, and handles reverse proxying. CX Codex +1 ★ 96repo stars security-stinger security-stinger scans SvelteKit projects for authorization gaps, SQL injection, secret leaks and unsafe webhooks before code reaches production. CX Codex +1 ★ 96repo stars auth-stinger auth-stinger guides authentication architecture, provider choice, sessions, RBAC, and OAuth verification under strict security baselines. CX Codex +1 ★ 96repo stars api-docs-wasp-drone The api-docs-wasp-drone subagent helps choose an API docs renderer, add OpenAPI examples, and prepare hosting or SDK generation. It supports Claude Code and Codex. CX Codex ★ 96repo stars svelte-stinger svelte-stinger is a Claude Code skill for Svelte 5 and SvelteKit 2, covering runes, reactivity, and migration from Svelte 4. CX Codex +1 ★ 96repo stars http-rest-fundamentals-wasp-drone http-rest-fundamentals-wasp-drone audits API routes against HTTP RFC standards and REST principles. Catches status code mismatches, caching issues, and broken CORS preflights. CX Codex ★ 96repo stars

Project sponsors

Companies that keep this analytics open