AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
WebPerf Snippets
WebPerf Snippets logo

WebPerf Snippets

Active·★ 1.5k·MIT·Updated 2026-11-18

WebPerf Snippets packages reusable browser performance measurements as snippets, a CLI, MCP and agent skills. It is useful when a team wants explicit loading and interaction diagnostics plus CI budgets. We ran the published npm CLI 1.13.0 with Playwright 1.65.0 and Chromium 158.0.8127.18 on macOS 26.6.2, Node.js 26.3.0 ARM64. Selected package files matched release commit dc3a919ac50708d6d805b0b0f4fbd38cbd88a7f7. The page, delays and interactions were artificial and loopback-only.

The real browser measured three-run median TTFB of 3ms normally and 906ms with a 900ms response delay; recovery measured 7ms. The 500ms budget passed, failed and passed respectively, and baseline comparison marked the delayed run as a regression. A stable-page Core Web Vitals workflow measured LCP 20ms and passed its budgets. Inserting a late banner raised CLS from 0 to 0.2956; a handler busy for 260ms produced synthetic clicked INP of 304ms. Both exceeded their selected budgets. Without input, INP remained unmeasured and its budget failed rather than treating missing data as zero.

An incompatible CLS budget on a TTFB-only run returned exit 2 with an explanation. The real stdio MCP server listed nine tools and executed a TTFB measurement. These are selected local controls, not field-user metrics, ranking benefits or a cross-device performance benchmark. The three-run comparison explicitly lacked the five observations per side required for its statistical comparison. No model, CrUX, report upload, authenticated page, mobile hardware or other browser was tested. Installing the npm package also requires an independently installed Chromium browser.

Read the full review, verification scope and sources →

Hands-on tested · Tested on 2026-11-07 with published npm CLI 1.13.0; source dc3a919ac50708d6d805b0b0f4fbd38cbd88a7f7; Playwright 1.65.0; Chromium 158.0.8127.18.

Setup: macOS 26.6.2, Apple M1 Pro, Node.js 26.3.0 ARM64; actual Chromium on a controlled loopback page.

Commands run

node doc/review-fixtures/webperf-ctx-20261107/verify-webperf.mjs <fresh-work> /tmp/webperf-results.json

What we saw

  • Nine CLI cases plus real stdio MCP TTFB call. Selected published scripts matched pinned source hashes.
  • TTFB three-run medians 3ms and 906ms with a controlled 900ms delay; recovered run 7ms. Budget/baseline states tracked the change. Stable LCP 20ms; CLS 0→0.2956 with a late banner; clicked INP 304ms for a 260ms handler.
  • Missing INP failed its required budget; incompatible metric/workflow exited 2. Three-run comparison lacked statistical evidence. No field users, CrUX, model, report endpoint, login or other browser.

Data as of 2026-11-15.

License
MIT
Latest release
v2.6.3 · 2026-11-09
Last commit
2026-11-15
Contributors
21
Forks
92
Open issues and PRs
4
First published
2022-05-17
npm package
webperf-snippets 1.17.0 · 1,237 downloads last week

Source: GitHub, npm and PyPI public APIs.

#agent-skills#ai-agents#chrome-devtools#claude-code#cli#cls#core-web-vitals#dev-tooling
$ Install
$ npm install --save-dev [email protected] [email protected] && npx playwright install chromium
↗ Visit site★ GitHub
01

Features

01Measures LCP, CLS, INP, loading, interactions and media resources.
02Returns objects under a shared result contract.
03Exposes snippets and chained audit workflows through MCP.
04Supports CLI JSON output and performance budgets for CI.
05Packages investigation workflows and decision trees as Agent Skills.
02

Why choose it

+Controlled server delay failed TTFB budgets, and removing it restored a passing result.
+Late layout content and a slow click produced measured CLS/INP failures; unmeasured INP did not silently pass.
+CLI JSON baselines and an actual MCP call returned inspectable measurement data.
03

Trade-offs

!Requires Node.js 20.12+, Playwright and a separately installed Chromium browser.
!Local synthetic measurements do not establish field-user experience or SEO ranking gains.
!The three-run comparison had no statistical comparison; authenticated flows, CrUX and other browsers were untested.
05

Maintenance check

ActiveChecked: 2026-11-07
Last commit
2026-11-07
Commits, last 90 days
100+
Releases, last 90 days
24
Latest release
v2.6.1 (2026-11-07)
Open issues
4
Recent issues with at least one comment
0/1
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 0, 0, 0, 0, 0, 0, 76, 41, 72, 72, 65, 33

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #75 Add expected output examples to all snippets4 comments · 2026-05-01
  • #389 [Bug]: LCP Trail drops candidates whose element was removed from the DOM0 comments · 2026-11-04
  • #43 [Markdown] An option to highlight a "Note" and "Warning" using blockquote0 comments · 2023-11-24

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

04

Who it fits

Pick it if
  • You need specific browser metrics and CI budgets on representative pages.
  • You can retain baselines and control browser, device and interaction conditions.
Look elsewhere if
  • You require field-user evidence from these local tests alone.
  • You expect a performance tool to certify Google ranking improvements.
06

Compatibility

Node.js
Package requires 20.12+; tested with 26.3.0 ARM64
Verified via docs
Playwright / Chromium
Playwright 1.65.0 and Chromium 158.0.8127.18 tested
Verified via docs
MCP
Real stdio handshake and TTFB measurement tested
Verified via docs
Agent Skills
Documented integration; host activation not tested
Verified via docs
07

Quick start

1
$ npm install --save-dev [email protected] [email protected]
2
$ npx playwright install chromium
08

Use cases

↳Investigate slow LCP or high TTFB with an AI agent.
↳Gate pull requests on web performance budgets in CI.
↳Inspect loading, interaction or image issues in browser DevTools.
09

Alternatives

⚡Top VS:
VSself-host★1.6k→VStaste-skill★117.7k→VSClaude Code Templates★33.9k→VSdarwin-skill★7.0k→
self-host logo
self-host★ 1.6k
Replace the SaaS you pay for. One binary installs and runs self-hosted apps at home, no Docker knowledge needed. Terminal dashboard for you, plain commands for your agent.
VSCompare→
taste-skill logo
taste-skill★ 117.7k
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
VSCompare→
Claude Code Templates logo
Claude Code Templates★ 33.9k
Open-source registry and CLI for Claude Code components: agents, commands, skills, hooks, MCPs, settings and mods
VSCompare→
darwin-skill logo
darwin-skill★ 7.0k
达尔文.skill —— 一个让你的Skill无限进化的系统:评估→改进→测试→保留或回滚 | Autoresearch-inspired autonomous skill optimization for Claude Code. Evaluate, improve, test, keep or revert.
VSCompare→
mirrord logo
mirrord★ 5.4k
Run any process, on your machine or in an AI agent's environment, as if it were a pod in your Kubernetes cluster: real env vars, DNS, network, traffic.
VSCompare→
skills logo
skills★ 4.0k
Agent Skills for NVIDIA products — install into Claude Code, Codex, and other coding agents to run Physical AI, robotics, simulation, CUDA, and RAG workflows end to end.
VSCompare→
skills logo
skills★ 1.5k
Reusable AI agent skills for software factories: explore ideas, write specs, implement, review, and run autonomous research. Works with Claude Code, Codex, and other skill-compatible agents.
VSCompare→
diagram-design logo
diagram-design★ 67.9k
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs05Maintenance check04Who it fits06Compatibility07Quick start08Use cases09Alternatives
nucliweb /
webperf-snippets
↗

Measured performance budgets caught controlled response, layout and click regressions

1.5k92MIT
Last commitToday
StatusActive
CategoryDev Tooling
Contributors21
Latest releasev2.6.3
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.