# Core Web Vitals Audit from PageSpeed

> Use when running Core Web Vitals audits without confusing measurement and score.

Core Web Vitals Audit from PageSpeed is a paid AI agent skill on Agensi by Anthony. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6 (one-time purchase)
- Creator: [Anthony](https://www.agensi.io/creators/avz369)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/core-web-vitals-audit-from-pagespeed
- Tags: core-web-vitals, pagespeed-insights, lighthouse, cls, fonts, logs, field-data

## About this skill

A Core Web Vitals audit that never confuses a measurement with a score. Local runs are always pessimistic: a CLS read as 0.176 from a WAF-blocked test browser was 0 in the real browser, and the right decision was to change nothing. The package delivers the audit procedure, a reading grid with provenance tags (psi-api / field / lab), the same-version rule, the CLS rules it owns (poster dimensions, font-display with compensated fallback), and the log hygiene that keeps your own probes out of your traffic counts. It delivers no scores.

### What it does
- **Provenance Tagging** Categorizes every metric as `psi-api`, `field`, or `lab` to prevent lab artifacts from being treated as real user scores.
- **PSI API Integration** Queries the PageSpeed Insights API to retrieve both `lighthouseResult` and field blocks for cross-validation.
- **CLS Optimization** Applies specific rules for video posters and font-loading to resolve layout shifts without breaking video encoding or font display.
- **Log Hygiene** Identifies and exempts automation UAs and test IPs from logs to prevent your own audit probes from triggering false positives.
- **Pipeline Validation** Monitors Search Console field-data freshness and confirms row counts at the receiving endpoint to ensure data integrity.

### How it works
1. **Initialize Setup** Fill the `references/setup.md` table with PageSpeed API keys and automation identifiers to establish the audit environment.
2. **Execute Audit** Run the audit procedure to fetch API data and verify that your local Lighthouse version matches the user's report version exactly.
3. **Verify Field Flags** Compare lab measurements against field data. If a metric like CLS is only high in the lab but zero in the field, the skill prevents any code changes.
4. **Apply Fixes** Implement font-swap strategies with witness-text verification and set intrinsic poster dimensions for videos based on field-flagged issues.

### Frameworks & tools
PageSpeed Insights API, Google Search Console, Lighthouse, and standard Linux CLI tools for log analysis and archive rebuilding.

### Why this beats prompting it yourself
Generic prompts often confuse lab metrics with real-world scores, leading to "fixing" problems that don't exist for users. This skill enforces a rigid logic gate where no fix is applied without a field-data witness, saving you from chasing WAF-induced ghosts.

### Use cases
- Auditing a live production site for Core Web Vitals using real user field data.
- Fixing Cumulative Layout Shift caused by late-loading fonts or missing video posters.
- Debugging WAF-blocked probes that create false performance alerts in logs.
- Synchronizing a custom field-data pipeline with Search Console reporting windows.

### Known limitations
It delivers no scores — it delivers the procedure and the reading grid. Field data comes from the PSI API or the owner's field read, never from a local run. The API key is optional: the attached Agensi tool runs on platform keys. Field data lags ~3 days; date windows must be computed in the trigger's timezone. Written from production observations on one WordPress site on shared hosting; re-verify WAF behavior on the buyer's serving layer.

## 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 Core Web Vitals Audit from PageSpeed 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 does Cwv Pagespeed Ops differ from a standard Lighthouse audit prompt?

Unlike basic prompts, this skill enforces strict 'provenance tagging.' It cross-references lab measurements with real-world field data to ensure you don't waste time fixing performance 'ghosts' caused by test environments or WAF blocks.

### What are the technical prerequisites for using this skill?

You will need a valid PageSpeed Insights API key and access to a Linux-based environment. The setup process involves initializing a specific configuration file with your API credentials and automation identifiers.

### Can this skill automatically fix Cumulative Layout Shift (CLS) issues?

Yes, the skill includes specialized logic for resolving CLS issues, specifically targeting font-loading strategies and video posters, ensuring fixes are only applied when validated by field data.

### What exactly is included in the skill package?

Upon purchase, you receive the full agent skill logic, the 'references/setup.md' configuration framework for your environment, and the standardized procedures for lab vs. field data validation.

### Which AI agents or platforms are compatible with this skill?

This skill is designed for AI agents capable of API interaction and file system operations, particularly those running in Linux environments for log analysis and CLI tool integration.

### How does the skill handle updates to Google's Core Web Vitals algorithms?

The skill is built to query the latest PageSpeed Insights API endpoints and includes a version-matching check to ensure your local Lighthouse version aligns with current Google reporting standards.

---

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.
