page-speed-optimizer

page-speed-optimizer is an agent for Claude Code from ominou5/funnel-architect-plugin. It costs 57 tokens per session (600 once invoked), scanned A, original, MIT.

A website performance reviewer and fixer that checks how quickly pages load and how stable they appear while loading.

In plain words
What is it for?
Audit and improve HTML, CSS, JavaScript, images, fonts, compression, and browser caching, including measures such as LCP, FID, CLS, and TTFB.
Why use it?
It finds common causes of slow pages, such as oversized images, unused code, blocking scripts, and inefficient fonts.

Agent for Claude Code

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

Part of the funnel-architect-plugin plugin — 29 skills, 5 agents, 2 hooks shipped together

Good fit Audit and improve HTML, CSS, JavaScript, images, fonts, compression, and browser caching, including measures such as LCP, FID, CLS, and TTFB.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ominou5/funnel-architect-plugin/page-speed-optimizer
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/ominou5/funnel-architect-plugin

Made for: Claude Code.

Or install funnel-architect-plugin, the plugin that ships this one along with the rest of its 29 skills, 5 agents, 2 hooks.

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 page-speed-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ominou5/funnel-architect-plugin/page-speed-optimizer/github.svg)](https://agentmods.dev/agents/ominou5/funnel-architect-plugin/page-speed-optimizer)
Your own site
<a href="https://agentmods.dev/agents/ominou5/funnel-architect-plugin/page-speed-optimizer"><img src="https://agentmods.dev/badge/agents/ominou5/funnel-architect-plugin/page-speed-optimizer/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 page-speed-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/ominou5/funnel-architect-plugin/page-speed-optimizer"><img src="https://agentmods.dev/badge/agents/ominou5/funnel-architect-plugin/page-speed-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 600 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.00057 $0.00600
Opus 5.5 $0.00023 $0.00240
Sonnet 5.5 $0.00011 $0.00120
Haiku 4.5 $0.00006 $0.00060

Measured 3mo ago against content hash 8cd59a19f470, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

page-speed-optimizer 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 3mo 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/page-speed-optimizer.md · 62 lines

What it actually says

Page Speed Optimizer

You are a web performance specialist. When invoked, audit the funnel pages for speed issues and apply fixes directly.

Optimization Checklist

Images

  • Compress images (use WebP/AVIF where supported)
  • Add explicit width and height attributes (prevents CLS)
  • Add loading="lazy" to below-fold images
  • Use srcset for responsive images
  • Serve appropriately sized images (not 3000px for a 400px container)

CSS

  • Inline critical above-the-fold CSS
  • Defer non-critical stylesheets with media="print" onload="this.media='all'"
  • Remove unused CSS rules
  • Minify CSS for production

JavaScript

  • Add defer or async to all <script> tags
  • Move scripts to end of <body> if not using defer
  • Remove unused JavaScript
  • Minify JS for production

Fonts

  • Add font-display: swap to all @font-face rules
  • Preload critical fonts: <link rel="preload" href="font.woff2" as="font" crossorigin>
  • Limit font weights/styles to only what's used
  • Consider system font stack for body text

HTML

  • Enable Gzip/Brotli compression (via server config or meta)
  • Add proper Cache-Control headers guidance
  • Preconnect to external origins: <link rel="preconnect" href="https://...">
  • Use semantic HTML (smaller DOM = faster parsing)

Core Web Vitals Targets

Metric Target What It Measures
LCP < 2.5s Largest Contentful Paint — main content visible
FID < 100ms First Input Delay — interactivity
CLS < 0.1 Cumulative Layout Shift — visual stability
TTFB < 800ms Time to First Byte — server response

Working Style

  1. Read all HTML/CSS/JS files in the project
  2. Identify the top 5 performance bottlenecks
  3. Apply fixes directly (don't just recommend)
  4. Report what changed and estimated impact
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. 3mo ago First seen · 62 lines · 57 tokens per session scan A 8cd59a19f470

Subscribe to this mod's changes

page-speed-optimizer is an agent published in the GitHub repository ominou5/funnel-architect-plugin (100 stars, last pushed 9mo ago), licensed MIT. It adds 57 tokens to every session and 600 once invoked, about $0.0002 per session on Opus 5.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

page-speed-optimizer compared with agents from other repositories

page-speed-optimizer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
page-speed-optimizerominou5/funnel-architect-pluginAgent1009mo agoMITA57Claude Code
design-expertfusengine/agentsAgent341mo agoMITA90Claude Code
wp-theme-developeriwritec0de/wp-devAgent17mo agoMITA142Claude Code
powershell-ui-architectalexmmatos/essentials-claude-codeAgent14mo agononeA48Claude Code
ui-designeralexmmatos/essentials-claude-codeAgent14mo agononeA37Claude Code
demand-generationcbrock84/headcountAgent2.6k2d agoMITA30Claude Code
otp-advisoroliver-kriska/claude-elixir-phoenixAgent5802d agoMITA35Claude Code