Agent skill · Data & Analytics

add-httparchive-metric-report

Add new metrics to HTTPArchive reports config. USE FOR adding performance metrics, adoption/percentage metrics, or custom metric analysis from crawl data. Chooses timeseries vs histogram based on data type.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill add-httparchive-metric-report --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/analysis/add-httparchive-metric-report/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Adding Metrics to HTTPArchive Reports ## Documentation **See [reports.md](../../../reports.md)** for complete guide including: - Architecture and processing details - Quick Decision Guide table - Required SQL patterns checklist - SQL pattern reference (adoption, percentiles, binning) - Complete examples - Troubleshooting ## Quick Start 1. Open `includes/reports.js`, find `config._metrics` (line ~42) 2. Choose type: **Timeseries** (adoption/percentiles) or **Histogram** (distributions) 3. Add metric with required patterns: `date`, `is_root_page`, `${params.lens.sql}`, `${params.devRankFilter}`, `${ctx.ref('crawl', 'pages')}`, `GROUP BY client` 4. Run `get_errors` to verify ## Key Rules - **Boolean/adoption metrics**: Timeseries ONLY (histogram meaningless for 2 states) - **Continuous metrics**: Both histogram + timeseries - **Use safe functions**: `SAFE_DIVIDE()`, `SAFE.BOOL()` for custom metrics - **Filter zeros**: Add `AND metric > 0` before percentile calculations ## Minimal Example ```javascript metricName: { SQL: [ { type: "timeseries", // or 'histogram' query: DataformTemplateBuilder.create( (ctx, params) => ` SELECT client, /* your calculations */ FROM ${ctx.ref("crawl", "p

What's inside
Steps it walks through
  1. Documentation
  2. Quick Start
  3. Key Rules
  4. Minimal Example
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the add-httparchive-metric-report skill do?

Add new metrics to HTTPArchive reports config. USE FOR adding performance metrics, adoption/percentage metrics, or custom metric analysis from crawl data. Chooses timeseries vs histogram based on data type.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill add-httparchive-metric-report --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going