SWE - Web Performance Reviewer

SWE - Web Performance Reviewer is an agent for Claude Code from chrisallenlane/claude-swe-workflows. It costs 35 tokens per session (4,455 once invoked), scanned A, original, MIT.

A software agent that reviews web applications for problems with network requests, caching, loading order, and asset delivery. Asset delivery means how files such as images, fonts, and scripts reach the browser.

In plain words
What is it for?
Use it to review caching, network round trips, critical rendering, resource hints, and image or font loading strategies.
Why use it?
It helps identify slow page loads caused by unnecessary downloads, cache misses, large files, or resources that block what users see first.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-swe-workflows plugin — 17 skills, 40 agents shipped together

Good fit Use it to review caching, network round trips, critical rendering, resource hints, and image or font loading strategies.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/chrisallenlane/claude-swe-workflows/swe-web-perf-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/chrisallenlane/claude-swe-workflows

Made for: Claude Code.

Or install claude-swe-workflows, the plugin that ships this one along with the rest of its 17 skills, 40 agents.

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 SWE - Web Performance Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/chrisallenlane/claude-swe-workflows/swe-web-perf-reviewer/github.svg)](https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-web-perf-reviewer)
Your own site
<a href="https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-web-perf-reviewer"><img src="https://agentmods.dev/badge/agents/chrisallenlane/claude-swe-workflows/swe-web-perf-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for SWE - Web Performance Reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-web-perf-reviewer"><img src="https://agentmods.dev/badge/agents/chrisallenlane/claude-swe-workflows/swe-web-perf-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,455 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.04455
Opus 5 $0.00017 $0.02227
Sonnet 5 $0.00007 $0.00891
Haiku 4.5 $0.00003 $0.00445

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

Security

Grade A, and why

SWE - Web Performance Reviewer 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 11d 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.

agents/swe-web-perf-reviewer.md · 424 lines

How it starts

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

Purpose

Audit web applications for performance issues rooted in network latency, asset delivery, caching, and loading strategy. This is an advisory role — you identify performance problems, prioritize them by user impact, and describe how to fix them, but you don't implement fixes yourself. Another agent implements your recommendations.

The Web Performance Perspective

Web performance is not compute performance. The bottleneck is almost never CPU speed — it's network round trips, payload size, cache misses, and render-blocking resources. A function that runs in 1ms but triggers a 200KB synchronous download and a cache miss is slower than a function that runs in 100ms but needs no network at all.

Your focus:

  • Is the application structured so browsers can cache effectively?
  • Are assets delivered with minimal round trips and minimal payload size?
  • Does the critical rendering path load what users see first, and defer everything else?
  • Are resource hints used to give the browser a head start on what it will need?
  • Are images and fonts delivered in modern formats with appropriate loading strategies?

Be selective. Don't flag every theoretical optimization. Focus on issues that measurably degrade the user experience — a missing Cache-Control header on a 500KB JS bundle matters more than shaving 200 bytes off an already-small SVG. A focused list of high-impact issues is more useful than an exhaustive optimization inventory.


Step 1: Detect Tooling and Environment

Before manual analysis, determine what build tooling and performance infrastructure exists.

Check for build and bundling tools

Examine package.json, Makefile, build configs, and CI configuration.

Tools to look for:

Tool Where to check What it tells you
Webpack webpack.config.*, package.json Bundling strategy, code splitting, tree shaking config
Vite / Rollup vite.config.*, rollup.config.* Modern bundler with good defaults for splitting/treeshake
esbuild esbuild in scripts or config Fast bundler, check if splitting/minification enabled
Next.js / Nuxt / Astro next.config.*, nuxt.config.*, astro.config.* Framework with built-in optimization (SSR, ISR, islands)
PostCSS / Tailwind postcss.config.*, tailwind.config.* CSS processing pipeline, purge/content config
Image optimization sharp, imagemin, @next/image in dependencies Automated image processing pipeline

Read the full file on GitHub · 424 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. 11d ago First seen · 424 lines · 35 tokens per session scan A 362586a37bd8

Subscribe to this mod's changes

SWE - Web Performance Reviewer is an agent published in the GitHub repository chrisallenlane/claude-swe-workflows (18 stars, last pushed 3mo ago), licensed MIT. It adds 35 tokens to every session and 4,455 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-08-30.

Related

Other agents, from other repositories

frontend-reviewer

Diff-level reviewer for HTML/CSS/JS diffs — forked context, read-only. Applies the fe-diff-review lens: CSS token drift, ARIA mutation completeness, state coverage regression against the 18-state matrix, WCAG 2.2 Focus Appearance and Target Size (the two manual-verification items automated tooling misses), and CWV…

eugenelim/agent-ready-repo · 137 tokens

angular-architect

Angular 17+ standalone components architecture specialist. Validates standalone component structure, dependency injection patterns, change detection strategy, feature module boundaries, and service layering. Dispatch when touching components, services, guards, or feature organization.

onlygian/G-Forge · 48 tokens

astro-architect

Astro architecture specialist. Validates static-first rendering decisions, client directive usage, island boundaries, content collection patterns, and import layering. Dispatch when touching pages, components, islands, or content.

onlygian/G-Forge · 43 tokens

react-architect

React 18 + React Query + Zustand architecture specialist. Validates component structure, store patterns, hook design, and import layering. Dispatch when touching component hierarchy, store shape, data fetching, or cross-feature state.

onlygian/G-Forge · 47 tokens

remix-architect

Remix v2 architecture specialist. Validates loader/action/component colocation, progressive enhancement patterns, data flow discipline, and service layering. Dispatch when touching routes, loaders, actions, or shared utilities.

onlygian/G-Forge · 45 tokens

sveltekit-architect

SvelteKit architecture specialist. Validates load function placement, form action patterns, store design, and file-based routing conventions. Dispatch when touching routes, load functions, form actions, or shared lib code.

onlygian/G-Forge · 47 tokens