Skip to main content
subagent

web-vitals-optimizer — Claude Code subagent: install

This subagent audits Core Web Vitals, locates performance bottlenecks, and suggests targeted changes for user experience and SEO work.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --agent performance-testing/web-vitals-optimizer
Open on GitHub

What web-vitals-optimizer does

web-vitals-optimizer works with LCP, FID, CLS, TTFB, and FCP. It can assess current measurements, spot concrete opportunities, and produce guidance for resource loading, the critical path, images, and other assets. Its outputs may include audit findings and implementation notes.

The subagent compares results before and after a change, then can outline performance budgets and regression checks. It also covers RUM, dashboards, and alerting for ongoing monitoring. Access to Read, Write, Edit, and Bash is required for the listed project and command operations.

What it helps with

  • audit LCP, FID, CLS, TTFB, and FCP
  • trace the cause of slow page loading
  • plan image and asset performance changes
  • compare metrics before and after a release
  • set up monitoring and regression checks

Example prompts for the agent

  • Audit the homepage Core Web Vitals and explain the LCP, FID, and CLS findings.
  • Compare performance metrics before and after the latest changes, then suggest targeted fixes.
  • Set up RUM monitoring, performance budgets, and regression checks for this project.

How to install web-vitals-optimizer

1claude-code-templates

npx claude-code-templates@latest --agent performance-testing/web-vitals-optimizer

2Manually: put the files in place

.claude/agents/web-vitals-optimizer.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 web-vitals-optimizer

How do I install web-vitals-optimizer in Claude Code?

Run npx claude-code-templates@latest --agent performance-testing/web-vitals-optimizer, then add .claude/agents/web-vitals-optimizer.md.

What does web-vitals-optimizer do?

It reviews Core Web Vitals such as LCP, FID, CLS, TTFB, and FCP, then produces performance recommendations and implementation guidance. It can also help define monitoring and before-and-after measurement.

Which tools does web-vitals-optimizer use?

The subagent is configured with Read, Write, Edit, and Bash. These tools let it inspect project files, apply changes, and run commands.

Similar subagents

All subagents for Testing and QA →

From the same set495

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor