# Benchmark

> Benchmark is an open-source agent skill for developer tools. Measures page, API and build performance and flags regressions against saved baselines. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/benchmark
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** benchmark
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill has the agent measure performance in three areas: browser page metrics such as Largest Contentful Paint, Interaction to Next Paint, layout shift, and page weight through a browser MCP; API endpoint latency percentiles under repeated and concurrent requests; and build, hot reload, test, type check, lint and Docker build times. It saves baselines as JSON under .ecc/benchmarks and can compare a later run against them to show a before and after table with a verdict for each metric.

The page mode lists target thresholds for each Web Vital and for bundle and total weight, and the API mode compares results against SLA targets. The workflow is driven by baseline and compare commands, and the skill suggests running compare on each pull request in CI and pairing it with post-deploy monitoring or a pre-ship QA skill.

Expects a browser MCP for page metrics, a reachable API endpoint list, and the project's own build and test commands. The skill is a plain Markdown instruction file with no bundled scripts.

## When your agent uses it

> Measure performance baselines and detect regressions across browser Core Web Vitals (LCP, INP, CLS, page weight), API endpoint latency percentiles, and build/test feedback times, with before/after comparison stored in git-tracked .ecc/benchmarks JSON. Use when checking page speed, responding to 'it feels slow' reports, verifying launch performance targets, or comparing stack alternatives.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/benchmark)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/benchmark)

## Features

- **Core Web Vitals checks:** Measures LCP, CLS, INP, FCP and TTFB against listed target thresholds on each URL.
- **Page weight analysis:** Reports total page size, JavaScript, CSS, image and third-party script weight, plus request counts and render-blocking resources.
- **API latency percentiles:** Records p50, p95 and p99 response times for endpoints, with response sizes, status codes and a 10-request concurrency test.
- **Build feedback timing:** Times cold builds, hot reload, test suites, TypeScript checks, linting and Docker builds.
- **Before and after comparison:** Saves a baseline and produces a delta table with a verdict per metric after changes.
- **Git-tracked baselines:** Stores results as JSON in .ecc/benchmarks so a team can share and review them in version control.

## Good for

- Check whether a pull request slowed down page load
- Investigate a report that the site feels slow
- Verify that a site meets performance targets before launch
- Compare build times before and after a dependency change
- Measure API p95 latency for key endpoints
- Compare performance of two stack alternatives

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/benchmark`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/benchmark &&
cp -R "$tmp/.agents/skills/benchmark" ~/.claude/skills/benchmark &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/benchmark` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/benchmark` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/benchmark &&
cp -R "$tmp/.agents/skills/benchmark" ~/.agents/skills/benchmark &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/benchmark` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/benchmark` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/benchmark &&
cp -R "$tmp/.agents/skills/benchmark" ~/.cursor/skills/benchmark &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/benchmark` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/benchmark
```

Or copy the folder to `~/.gemini/skills/benchmark` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/benchmark`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/benchmark &&
cp -R "$tmp/.agents/skills/benchmark" ~/.copilot/skills/benchmark &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/benchmark` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/benchmark` into your agent's skills folder as `benchmark`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to measure browser metrics?

Page metrics are gathered through a browser MCP, which the skill's workflow relies on to navigate to target URLs and read Core Web Vitals and resource sizes.

### Where are benchmark results saved?

Baselines are stored as JSON in the .ecc/benchmarks/ folder, which is meant to be tracked in git so the team shares them.

### How do I compare performance before and after a change?

Run the baseline command before making changes, then run the compare command afterward; the skill outputs a table of before, after, delta and verdict for each metric.

### Does the skill include scripts?

No. The skill folder contains only its SKILL.md instructions and a README, with no bundled scripts.

### How do I install Benchmark in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/benchmark to use it in all your projects, or to .claude/skills/benchmark in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Benchmark run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Benchmark?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Benchmark?

The closest alternatives to Benchmark are Benchmark checklist, Benchmarks, Performance, Benchmark optimization loop and Frontend perf.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Benchmark checklist](https://ai-powered.com/skills/benchmark-checklist): Benchmark checklist is an open-source agent skill for developer tools.
- [Benchmarks](https://ai-powered.com/skills/benchmarks): Benchmarks is an open-source agent skill for developer tools.
- [Performance](https://ai-powered.com/skills/performance): Performance is an open-source agent skill for developer tools.
- [Benchmark optimization loop](https://ai-powered.com/skills/benchmark-optimization-loop): Benchmark optimization loop is an open-source agent skill for developer tools.
- [Frontend perf](https://ai-powered.com/skills/frontend-perf): Frontend perf is an open-source agent skill for developer tools.
- [Performance reasoning](https://ai-powered.com/skills/performance-reasoning): Performance reasoning is an open-source agent skill for developer tools.
- [Web perf](https://ai-powered.com/skills/web-perf): Web perf is an open-source agent skill for developer tools.
- [SEO drift](https://ai-powered.com/skills/seo-drift): SEO drift is an open-source agent skill for marketing and seo.

---
Source: https://ai-powered.com/skills/benchmark
