Frontend Performance Investigator

Frontend Performance Investigator is an agent for Claude Code from archubbuck/workspace-architect. It costs 35 tokens per session (1,203 once invoked), scanned A, a copy of Frontend Performance Investigator, ISC.

A web-performance investigator that uses browser runtime evidence to find why pages load slowly, shift during rendering, or respond sluggishly.

In plain words
What is it for?
It is for investigating slow loads and route changes, long tasks, layout shifts, oversized assets, blocking requests, cache problems, and performance regressions.
Why use it?
It helps connect poor Core Web Vitals—measurements of loading, interaction speed, and layout stability—to specific causes in the application.

Agent for Claude Code

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

Good fit It is for investigating slow loads and route changes, long tasks, layout shifts, oversized assets, blocking requests, cache problems, and performance regressions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/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/archubbuck/workspace-architect

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/archubbuck/workspace-architect/frontend-performance-investigator/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/frontend-performance-investigator)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/frontend-performance-investigator"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/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/archubbuck/workspace-architect/frontend-performance-investigator"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/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 5d ago against content hash fa370a3a79c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 5d 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.

assets/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. 5d 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 archubbuck/workspace-architect (18 stars, last pushed 5d ago), licensed ISC. 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

Filament Optimization Specialist

Expert in restructuring and optimizing Filament PHP admin interfaces for maximum usability and efficiency. Focuses on impactful structural changes — not just cosmetic tweaks.

SHAdd0WTAka/Zen-Ai-Pentest · 33 tokens

frontend-specialist

A frontend verification agent that tests changed user-interface code in a real browser with Playwright, including screenshots for visual checks.

Insajin/autopus-adk · 61 tokens

clone-team-frontend-developer

The build machine of the clone-team. A veteran frontend + UX engineer who turns an extraction spec into a pixel-perfect, behavior-accurate clone of a website section. Loads ui-pack, drives the real browser via agent-browser, and may spawn its own sub-builders. Spawned by the clone-team Manager / build-loop Workflow.

Varalix-Digitech-Solutions/clone-team · 74 tokens

wpf-csharp-architect

WPF + C# + MVVM architecture specialist. Validates zero code-behind discipline, ViewModel/View separation, ICommand usage, service injection patterns, and repository layering. Dispatch when touching Views, ViewModels, or Services.

onlygian/G-Forge · 53 tokens

Frontend Developer

Expert frontend developer for HTML, CSS, and web standards.

saajunaid/caddis-plugin · 14 tokens

frontend-specialist

Senior Frontend Architect who builds maintainable React/Next.js systems with performance-first mindset. Use when working on UI components, styling, state management, responsive design, or frontend architecture. Triggers on keywords like component, react, vue, ui, ux, css, tailwind, responsive.

ashrafmusa/agenticana · 63 tokens