page-efficiency-score

Compute a weighted 0-100 page efficiency score from JS/CSS coverage, render-blocking resources, transfer size, and navigation timing.

1|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/anouar1991/binaryPetsClaude --skill page-efficiency-score
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: page-efficiency-score
Source: https://github.com/anouar1991/binaryPetsClaude/tree/main/plugins/playwright-toolkit/skills/page-efficiency-score
Command: npx skills add https://github.com/anouar1991/binaryPetsClaude --skill page-efficiency-score

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Page efficiency scoring is challenging when teams need a single, comparable metric that summarizes how efficiently a webpage uses network and runtime resources, enabling faster optimization decisions.

Core Features & Use Cases

  • Unified scoring: A weighted 0-100 score that combines JS/CSS coverage, render-blocking resources, total transfer size, and navigation timing.
  • Diagnostic breakdown: Provides category-level insights (JS unused, CSS unused, render-blocking, transfer size, TTFB, DOMContentLoaded) to guide optimization.
  • Use Cases: Compare pages across routes, deployments, or time to track performance improvements and prioritize optimizations.

Quick Start

Run the page efficiency score on a target page to generate a 0-100 composite score and a detailed breakdown

Frequently Asked Questions about page-efficiency-score

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate a single page efficiency score to compare web performance?

Calculate a page efficiency score by combining JavaScript and CSS coverage, render-blocking resources, transfer size, and navigation timing into a weighted 0-100 metric. This unified score quantifies how efficiently a webpage uses network and runtime resources.

Can I use Playwright with CDP to collect web performance metrics for scoring?

Yes, you need a Playwright or Chromium environment with Chrome DevTools Protocol (CDP) support to collect JS and CSS coverage, resource timing data, and navigation timing required for accurate page efficiency scoring.

What does the diagnostic breakdown of a page efficiency score include?

The diagnostic breakdown includes category-level insights such as unused JavaScript, unused CSS, render-blocking resources, total transfer size, TTFB, and DOMContentLoaded timing to guide optimization decisions.

How do I track web performance improvements across deployments and routes?

Track performance improvements by running the page efficiency score across different pages, routes, or deployments over time. Comparing the 0-100 scores helps prioritize optimizations and monitor efficiency gains.

What is the best way to quantify render-blocking resources and unused JavaScript?

Quantify render-blocking resources and unused JavaScript by running a Playwright CDP session to collect coverage data, then aggregate the results into a weighted 0-100 page efficiency score with a diagnostic breakdown.

Do I need additional dependencies to measure navigation timing and transfer size?

No additional dependencies are required beyond a Playwright or Chromium environment with CDP support. The environment natively provides the navigation timing and resource timing data needed to calculate the score.