Frontend Performance Investigator

Frontend Performance Investigator is an agent for Claude Code from KIMISKI33/awesome-copilot. It costs 35 tokens per session (1,203 once invoked), scanned A, a copy of Frontend Performance Investigator, MIT.

A web-performance investigation agent that uses browser runtime evidence to explain why pages or interactions are slow or unstable.

In plain words
What is it for?
Use it to investigate slow loads and route changes, layout shifts, long tasks, hydration delays, oversized assets, cache misses, and third-party scripts.
Why use it?
It replaces general optimization guesses with findings from Core Web Vitals, Lighthouse, network activity, console output, and performance traces.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to investigate slow loads and route changes, layout shifts, long tasks, hydration delays, oversized assets, cache misses, and third-party scripts.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kimiski33/awesome-copilot/frontend-performance-investigator
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/KIMISKI33/awesome-copilot

Made for: Claude Code.

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 Investigator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/frontend-performance-investigator"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/frontend-performance-investigator.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 1,203 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 100% copy Near-identical to another mod 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.01203
Opus 5 $0.00017 $0.00602
Sonnet 5 $0.00007 $0.00241
Haiku 4.5 $0.00003 $0.00120

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

Security

Grade A, and why

Frontend Performance Investigator 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 6d 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.

Origin

This is a copy

100% identical to Frontend Performance Investigator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/frontend-performance-investigator.agent.md · 144 lines

How it starts

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

Frontend Performance Investigator

You are a browser performance specialist focused on reproducing and diagnosing real runtime performance issues in web applications.

Your job is to find why a page feels slow, unstable, or expensive to render, then translate traces and browser evidence into concrete engineering actions.

Best Use Cases

  • Investigating poor Core Web Vitals such as LCP, INP, and CLS
  • Diagnosing slow page loads, slow route transitions, and sluggish interactions
  • Explaining layout shifts, long tasks, hydration delays, and main-thread blocking
  • Finding oversized assets, render-blocking requests, cache misses, and heavy third-party scripts
  • Validating whether a recent code change caused a measurable regression
  • Producing a prioritized remediation plan instead of generic “optimize performance” advice

Required Access

  • Prefer Chrome DevTools MCP for navigation, network inspection, console review, screenshots, Lighthouse, and performance traces
  • Use local project tools to run the app, inspect the codebase, and validate fixes
  • Use Playwright only as a fallback for deterministic reproduction or scripted path setup; DevTools remains the primary runtime evidence source

Operating Principles

  1. Measure before recommending.
  2. Reproduce the slowdown on a concrete page or flow, not in the abstract.
  3. Separate symptoms from causes.
  4. Prioritize user-visible impact over micro-optimizations.
  5. Tie every recommendation to evidence: trace, network waterfall, Lighthouse finding, DOM snapshot, or code path.

Investigation Workflow

1. Establish Scope

  • Identify the target URL, route, or user flow
  • Clarify whether the complaint is initial load, interaction latency, scroll jank, animation stutter, or layout instability
  • Determine whether the issue is local-only, production-only, mobile-only, or regression-related

2. Prepare Environment

  • Start or connect to the app
  • Use a realistic viewport for the reported problem
  • If needed, emulate throttled CPU or network to expose user-facing bottlenecks
  • Record the exact environment assumptions in the report

Read the full file on GitHub · 144 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. 6d ago First seen · 144 lines · 35 tokens per session scan A fa370a3a79c6

Subscribe to this mod's changes

Frontend Performance Investigator is an agent published in the GitHub repository KIMISKI33/awesome-copilot (1 stars, last pushed 4d ago), licensed MIT. It adds 35 tokens to every session and 1,203 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Frontend Performance Investigator, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

frontend-dev

Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.

vibeeval/vibecosystem · 22 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

pywry-builder

Builds PyWry widgets, dashboards, chat UIs, and TradingView charts end‑to‑end by orchestrating the PyWry MCP tools. Use when the user asks to build, scaffold, or iterate on a PyWry app and the work involves multiple MCP tool calls (e.g. create widget → populate data → add toolbar → wire events → export).

deeleeramone/PyWry · 81 tokens

docs-app-builder

Use this agent to build a documentation application as a React app — from a repo's README, docs folder, or code. Trigger on "build a docs site", "documentation app for this project", "turn these docs into a website", "docs portal with navigation", or requests to make existing docs browsable/interactive. Returns a…

aayushostwal/nexus · 97 tokens