Skip to main content
skill CX Codex

cloudflare-web-perf — Claude Code skill: what it does, how to install

cloudflare-web-perf audits Core Web Vitals, render-blocking assets, and Lighthouse performance scores. It diagnoses and fixes LCP, INP, and CLS bottlenecks using Chrome DevTools traces.

MIT 221 installs ★ 35 updated 2026-10-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add podo/design-agent-skills --skill cloudflare-web-perf -a claude-code
Open on GitHub

What cloudflare-web-perf does

This skill audits page loading speed and interaction metrics. It directs the agent to fetch up-to-date metric thresholds directly from web.dev and Chrome documentation instead of relying on training weights. Every fix proposed by the model must quantify its anticipated impact.

Full diagnostic depth depends on the chrome-devtools-mcp server. Without this MCP tool, the skill falls back to inspecting static source code and network waterfalls, flagging any missing measurements. Recommendations remain vendor-agnostic and work outside Cloudflare infrastructure.

The guidance explicitly avoids accessibility audits such as ARIA roles or color contrast. For tuning React and Next.js component rendering, upstream documentation advises alternative skill sets.

What it helps with

  • diagnose slow Largest Contentful Paint (LCP) causes
  • identify interaction delays and fix poor INP scores
  • detect Cumulative Layout Shift (CLS) and render-blocking assets
  • prioritize Lighthouse optimizations with estimated impact

Example prompts for the agent

  • Audit Core Web Vitals on the home page and spot render-blocking files
  • Why is our mobile LCP score degraded? Analyze the trace and quantify fixes
  • Inspect interaction latency to improve INP before our next release

How to install cloudflare-web-perf

1Skills CLI (Vercel)

npx skills add podo/design-agent-skills --skill cloudflare-web-perf -a claude-code

2Manually: put the files in place

~/.claude/skills/cloudflare-web-perf/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cloudflare-web-perf/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cloudflare-web-perf

How do I install cloudflare-web-perf in Claude Code?

Run npx skills add podo/design-agent-skills --skill cloudflare-web-perf -a claude-code. The skill configuration is placed at ~/.claude/skills/cloudflare-web-perf/SKILL.md.

What does the cloudflare-web-perf skill do?

It guides the agent through auditing Core Web Vitals (LCP, INP, CLS) and Lighthouse scores. The agent identifies render-blocking files, retrieves fresh thresholds from web.dev, and quantifies improvements.

Is the Chrome DevTools MCP server strictly required?

The chrome-devtools-mcp server is required for performance traces. Without it, the skill relies on source code and network inspection while noting uncollected measurements.

Source text

SKILL.md · MIT
---
name: cloudflare-web-perf
description: |
  Audit Core Web Vitals and render-blocking resources. Official skill published by Cloudflare
  for diagnosing and fixing LCP, INP, CLS and Lighthouse performance issues, driven by
  Chrome DevTools performance traces.
triggers:
  - "web performance"
  - "Core Web Vitals"
  - "LCP"
  - "CLS"
  - "INP"
  - "render blocking"
  - "cloudflare performance"
das:
  category: accessibility-quality
  upstream: "https://github.com/cloudflare/skills"
  upstream_path: "skills/web-perf/SKILL.md"
  version: latest
  install: true
---

# cloudflare-web-perf

> Catalogue stub — full skill: [cloudflare/skills](https://github.com/cloudflare/skills/blob/main/skills/web-perf/SKILL.md)

<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->
## Decision tree

1. **Is the full skill already installed?**
   Upstream names this skill `web-perf`, so it installs next to this pointer (the pointer is not replaced).
   - Global: `f=~/.agents/skills/web-perf/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - Project: `f=.agents/skills/web-perf/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - `installed` → the skill is installed as `web-perf`, invoke it and proceed
   - `pointer` → go to step 2

2. **Detect scope, then install:**

   ```bash
   [ -e ~/.agents/skills/cloudflare-web-perf ] && echo "global" || echo "project"
   ```

   **Global:**
   ```bash
   npx skills add cloudflare/skills --skill web-perf -g -y
   ```

   **Project:**
   ```bash
   npx skills add cloudflare/skills --skill web-perf -y
   ```
   > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation.

**Heads-up**

- **Requires:** Chrome DevTools MCP server (chrome-devtools-mcp) for performance traces; without it the skill falls back to source and network analysis and says which measurements it could not collect
- **License:** Apache-2.0
<!-- das:install:end -->

## Invoke after install

- Skill name: `web-perf`
- Trigger phrases: "web performance", "Core Web Vitals", "LCP", "CLS", "render blocking"

## What it does

Cloudflare's official skill for auditing and diagnosing website loading and interaction performance: Core Web Vitals (LCP, INP, CLS), Lighthouse performance scores and render-blocking resources. It tells the agent to retrieve current thresholds from web.dev and Chrome documentation rather than rely on memory, to use Chrome DevTools MCP traces when available, and to quantify the impact of each recommendation. The guidance is generic; it is not specific to Cloudflare products.

## When NOT to use

- Accessibility audits (ARIA, keyboard, contrast) — use `fixing-accessibility` or `wcag-audit-patterns`
- React or Next.js render performance specifically — use `vercel-skills`

© podo · MIT · podo/design-agent-skills

Similar skills

All skills for Frontend and UI →

From the same set108

The whole set →
motion-catalogue motion-catalogue — a router skill for animation, 3D and generative media work: it picks the matching skill from the catalogue and sends you there. CX Codex +1 225installs brand-design-md brand-design-md pulls design specs for brands like Stripe, Linear, and Notion from getdesign.md and applies their styling to UI code. CX Codex +1 224installs addyosmani-quality addyosmani-quality runs measurement-first web quality audits across Core Web Vitals, WCAG 2.2 accessibility, SEO, and runtime performance. CX Codex +1 224installs information-architecture-and-navigation Guides your agent through information architecture and navigation systems using the polar bear model. Useful when organizing taxonomies, site structures, and findability tests. CX Codex +1 222installs design-catalogue design-catalogue finds the right design skill from a catalogue, maps it to the user’s goal, and points to installation and invocation steps. CX Codex +1 221installs design-review-garrytan design-review-garrytan runs a visual audit of your UI, then lands each fix as its own atomic commit. Useful when design debt has piled up and you want it cleared in reviewable pieces. CX Codex +1 221installs bencium-ux-designer bencium-ux-designer — a design-direction skill: it drafts ten typography-only HTML directions, waits for your pick, then builds the brand or product system from it. CX Codex +1 221installs dark-pattern-audit dark-pattern-audit reads source files and UI copy for manipulative design: preselected boxes, hidden fees, fake countdowns. Nothing needs to run. CX Codex +1 219installs

Project sponsors

Companies that keep this analytics open