# Web Perf Audit

> Run local Lighthouse audits to find and fix Core Web Vitals bottlenecks with real-time browser evidence.

Web Perf Audit is a paid AI agent skill on Agensi by Sunit Sinha, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6.99 (one-time purchase)
- Creator: [Sunit Sinha](https://www.agensi.io/creators/sunit)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/web-perf-audit
- Tags: llm-ops, automation, digital-products, lighthouse, performance, web-vitals

## About this skill

Stop guessing why your web pages are slow. Generic performance advice often misses the actual bottlenecks in your specific stack. This skill runs Google Lighthouse locally on your machine to generate data-driven audits for production, staging, or localhost environments.

### What it does
- **Automated Lighthouse audits** runs full performance, accessibility, SEO, and best-practice checks via npx.
- **Core Web Vitals analysis** extracts LCP, CLS, INP, and TBT metrics with specific pass/fail thresholds.
- **Evidence-based reporting** identifies exact URLs and DOM selectors causing layout shifts or render blocks.
- **Mobile and desktop comparison** supports dual-strategy testing to identify device-specific bottlenecks.
- **Local environment support** audits `localhost` dev servers without needing public tunnels or API keys.

### How it works
1. **Trigger the audit** by providing a URL to the agent, specifying mobile, desktop, or both.
2. **Execute local script** via a provided Node.js script that orchestrates the Lighthouse CLI.
3. **Parse summary data** to extract ranked performance issues based on estimated millisecond or byte savings.
4. **Deliver actionable fixes** mapped directly to the elements and files identified in the report.

### Frameworks & tools
Built for Node.js 18+ environments. It utilizes the Google Lighthouse CLI via npx and requires a local installation of Chrome, Chromium, or Microsoft Edge.

### Why this beats prompting it yourself
Generic LLM prompts rely on training data that cannot see your live site's runtime behavior. This skill uses real-time lab data from your local browser, ensuring every recommendation is based on actual network traces and layout calculations rather than heuristics.

### Use cases
- Debugging why a specific landing page has a "Poor" LCP rating.
- Comparing performance regressions between a local branch and production.
- Auditing accessibility compliance for new UI components before deployment.
- Generating a "Fix First" priority list for a performance sprint.

### Known limitations
Cannot audit pages behind authentication or login walls. Requires a local Chrome-based browser executable; users may need to set `CHROME_PATH` on some systems.

## Requires

- Node.js
- fetching

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Web Perf Audit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How is this different from just asking an AI to review my code for performance?

The skill uses your local environment to run actual network traces and layout calculations, whereas a standard prompt relies on static patterns. It provides evidence-based data from your live site rather than guessing based on general knowledge.

### Can I use Web Perf Audit on a local development server?

Yes, because the skill runs via your local machine, it can audit 'localhost' or staging environments that aren't accessible to the public internet. This makes it ideal for catching performance regressions before they are deployed to production.

### What are the technical requirements to run this skill?

You will need Node.js (v18+) and a Chromium-based browser like Chrome or Edge installed on your machine. The skill orchestrates these tools automatically via the Lighthouse CLI to generate its reports.

### What kind of actionable data does the skill provide for Core Web Vitals?

The skill provides specific DOM selectors for elements causing layout shifts (CLS) and identifies the exact assets or scripts blocking your Largest Contentful Paint (LCP). It then ranks these issues by potential time savings so you know exactly what to fix first.

### Does this skill support auditing pages that require a login?

Currently, this skill is designed for publicly accessible URLs or local dev servers; it cannot bypass login screens or interact with authenticated sessions. It is best used for landing pages, marketing sites, and unauthenticated application views.

### What is included in the purchase and how are updates handled?

You receive the full skill package including the agent instructions and the specialized Node.js orchestration script. Updates are typically released to maintain compatibility with new Lighthouse versions or Core Web Vitals metric changes.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
