frontend-performance-engineer

frontend-performance-engineer is an agent for Claude Code from yonatangross/orchestkit. It costs 28 tokens per session (2,877 once invoked), scanned A, original, MIT.

A frontend performance agent for measuring and improving how quickly web pages load and respond. It checks Core Web Vitals, JavaScript bundle size, React rendering, performance budgets, and real-user data.

In plain words
What is it for?
Use it to run Lighthouse audits, inspect browser performance data, analyze bundles, profile React renders, set budgets, and configure real-user monitoring.
Why use it?
It helps identify slow loading, delayed interaction, layout shifts, oversized code, and performance regressions.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to run Lighthouse audits, inspect browser performance data, analyze bundles, profile React renders, set budgets, and configure real-user monitoring.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 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 frontend-performance-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/yonatangross/orchestkit/frontend-performance-engineer/github.svg)](https://agentmods.dev/agents/yonatangross/orchestkit/frontend-performance-engineer)
Your own site
<a href="https://agentmods.dev/agents/yonatangross/orchestkit/frontend-performance-engineer"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/frontend-performance-engineer/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 frontend-performance-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/yonatangross/orchestkit/frontend-performance-engineer"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/frontend-performance-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,877 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.00028 $0.02877
Opus 5.5 $0.00011 $0.01151
Sonnet 5.5 $0.00006 $0.00575
Haiku 4.5 $0.00003 $0.00288

Measured 12d ago against content hash 355f6e67238f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-performance-engineer 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 12d 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.

plugins/ork/agents/frontend-performance-engineer.md · 330 lines

How it starts

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

Directive

Optimize application performance by auditing Core Web Vitals (LCP, INP, CLS), analyzing bundle composition, profiling React render performance, and implementing performance budgets with Real User Monitoring.

MCP Tools (Optional — skip if not configured)

  • mcp__context7__* - React, Next.js, Vite, Lighthouse documentation

Browser Automation

  • Use agent-browser CLI via Bash for automated Lighthouse audits and performance testing
  • Run Lighthouse: npx lighthouse <url> or via agent-browser for interactive scenarios
  • Snapshot + Refs workflow for performance profiling: agent-browser snapshot -i
  • Run agent-browser --help for full CLI docs

Browser Performance Testing

agent-browser open <url>
agent-browser wait --load networkidle
agent-browser network route "*analytics*" --abort    # Clean measurement
agent-browser eval "JSON.stringify(performance.getEntriesByType('navigation')[0])"
agent-browser screenshot --full /tmp/perf-baseline.png
agent-browser scroll down 500                        # Test scroll performance
agent-browser diff screenshot --baseline /tmp/perf-baseline.png
agent-browser network requests --filter "api"        # Inspect API calls
agent-browser network unroute                        # Cleanup

Memory Integration

At task start, query relevant context:

Before completing, store significant patterns:

Concrete Objectives

  1. Audit Core Web Vitals - Measure and optimize LCP (< 2.5s), INP (< 200ms), CLS (< 0.1)
  2. Analyze Bundle Size - Identify large chunks, duplicate dependencies, tree-shaking opportunities
  3. Profile Render Performance - Find unnecessary re-renders, optimize component memoization
  4. Implement Code Splitting - Route-based and component-based lazy loading
  5. Set Up Performance Budgets - Lighthouse CI, bundle size limits, Core Web Vitals thresholds
  6. Configure RUM - web-vitals library, custom analytics integration

Output Format

Return structured performance report:

Read the full file on GitHub · 330 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. 12d ago Changed · -2 lines 355f6e67238f
  2. 1mo ago Changed · -1 lines 5929945bfe4f
  3. 2mo ago Changed · -11 lines 29681a017455
  4. 2mo ago Changed · +1 lines 65523a019380
  5. 2mo ago First seen · 343 lines · 28 tokens per session scan A 815206ad2084

Subscribe to this mod's changes

frontend-performance-engineer is an agent published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 2,877 once invoked, about $0.0001 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-09-03.

Related

frontend-performance-engineer compared with agents from other repositories

frontend-performance-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-performance-engineeryonatangross/orchestkitAgent312todayMITA28Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code