Chrome DevTools MCP Performance

Chrome DevTools MCP Performance is a skill for Claude Code, Codex from PramodDutta/qaskills. It costs 35 tokens per session (1,517 once invoked), scanned A, original, MIT.

A guide for using Chrome DevTools through an agent connection to investigate web performance with traces, Core Web Vitals, network and CPU measurements, and throttled conditions.

In plain words
What is it for?
Use it to measure loading and interaction performance, find network or CPU bottlenecks, compare before-and-after traces, and set performance limits.
Why use it?
It replaces guesswork with evidence about why a page is slow and whether a change improved it.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions Gemini CLI.

Good fit Use it to measure loading and interaction performance, find network or CPU…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pramoddutta/qaskills/chrome-devtools-mcp-performance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PramodDutta/qaskills --skill chrome-devtools-mcp-performance
Clone the repo
git clone --depth 1 https://github.com/PramodDutta/qaskills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Chrome DevTools MCP Performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/pramoddutta/qaskills/chrome-devtools-mcp-performance.svg)](https://agentmods.dev/skills/pramoddutta/qaskills/chrome-devtools-mcp-performance)
Your own site
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/chrome-devtools-mcp-performance"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/chrome-devtools-mcp-performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.01517
Opus 5 $0.00017 $0.00758
Sonnet 5 $0.00007 $0.00303
Haiku 4.5 $0.00003 $0.00152

Measured 3d ago against content hash c141d063aa73, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Chrome DevTools MCP Performance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

seed-skills/chrome-devtools-mcp-performance/SKILL.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Chrome DevTools MCP Performance Skill

You are a web performance engineer who drives Chrome DevTools through an MCP server to capture traces, measure Core Web Vitals, analyze network and CPU bottlenecks, and turn observations into targeted fixes.

Core Principles

  1. Measure before changing code: Every optimization starts with a reproducible trace or metric snapshot.
  2. Throttle like real users: Use network and CPU profiles that match the target user base.
  3. Separate lab and field data: DevTools traces explain causes, while real-user monitoring confirms customer impact.
  4. Optimize the critical path: Prioritize LCP resources, render blocking scripts, hydration, and long tasks.
  5. Keep evidence attached: Save trace files, screenshots, and metric summaries with the issue.
  6. Compare against a baseline: A single trace is less useful than before and after evidence.
  7. Avoid vanity tuning: Improve user-visible waits, not only synthetic scores.
  8. Turn findings into budgets: Convert recurring problems into CI or monitoring thresholds.

Setup

Install the MCP server and prepare a local performance target.

npm install --save-dev @playwright/test typescript
npm pkg set scripts.perf:serve='vite --host 127.0.0.1'
npm pkg set scripts.perf:smoke='tsx scripts/perf-smoke.ts'

Configure your agent to expose Chrome DevTools MCP according to your MCP client.

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["chrome-devtools-mcp@latest"]
    }
  }
}

Project Structure

Keep performance evidence and scripts outside normal E2E tests.

performance/
  traces/
  budgets/
    web-vitals.json
  notes/
    checkout-lcp.md
scripts/
  perf-smoke.ts
  summarize-trace.ts

Agent Workflow

Use this loop when asked to investigate performance.

  1. Open the target URL in Chrome through the MCP tool.
  2. Clear cache or define whether the run is warm or cold.
  3. Apply network and CPU throttling.
  4. Start a performance trace.
  5. Reload or perform the critical journey.
  6. Stop the trace and export it.
  7. Extract LCP, CLS, INP-related long tasks, requests, and main-thread blocks.
  8. Identify the largest contributor.
  9. Make one focused code change.
  10. Capture the same trace again.
  11. Compare before and after.
  12. Recommend a budget if the issue can regress.

Read the full file on GitHub · 197 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 197 lines · 35 tokens per session scan A c141d063aa73

Subscribe to this mod's changes

Chrome DevTools MCP Performance is a skill published in the GitHub repository PramodDutta/qaskills (217 stars, last pushed 7d ago), licensed MIT. It adds 35 tokens to every session and 1,517 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

web-performance-optimization

Optimize web performance using Core Web Vitals, modern patterns (View Transitions, Speculation Rules), and framework-specific techniques.

bobmatnyc/claude-mpm-skills · 29 tokens

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

gsap-performance

Official GSAP skill for performance — prefer transforms, avoid layout thrashing, will-change, batching. Use when optimizing GSAP animations, reducing jank, or when the user asks about animation performance, FPS, or smooth 60fps.

calesthio/OpenMontage · 52 tokens

taste-skill

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

huytieu/COG-second-brain · 59 tokens

seo-landing

Generates fast, SEO-optimized static HTML landing pages targeting 100/100 PageSpeed (LCP < 2.5s, INP < 100ms, CLS < 0.1), full schema.org JSON-LD, AVIF images, critical CSS, zero external dependencies. Use when: user asks to create/build/generate a landing page, one-pager, or static site with focus on SEO, speed, or…

aleksandr-alhoff/seo-landing · 122 tokens

lov-maintain-partners

Maintain the Skill Publisher website's partners section AND align partner logo rows on event posters / hero strips: reuse lov-find-logo for brand logo discovery, normalize collected logos to a 240px-tall content canvas (retina-ready), rasterize SVGs via rsvg-convert before normalizing (so SVG viewBox padding gets…

lovstudio/skills · 294 tokens