react-performance-debugging

react-performance-debugging is a skill for Claude Code, Codex from EtaYang10th/spark-skills. It costs 0 tokens per session (8,463 once invoked), scanned C, original, no licence file.

A workflow for finding and fixing slow pages and API routes in Next.js applications, including catalog, cart and comparison pages. It examines data fetching, background work, JavaScript bundle size and unnecessary component updates.

In plain words
What is it for?
Use it to investigate and improve performance in shopping pages and API routes without removing required test hooks or instrumentation.
Why use it?
It targets common causes of slow web applications while keeping required tests and performance tracking in place.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/etayang10th/spark-skills/react-performance-debugging
Any agent
npx skills add EtaYang10th/spark-skills --skill react-performance-debugging
Clone the repo
git clone --depth 1 https://github.com/EtaYang10th/spark-skills

Made for: Claude Code, Codex.

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 react-performance-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/etayang10th/spark-skills/react-performance-debugging.svg)](https://agentmods.dev/skills/etayang10th/spark-skills/react-performance-debugging)
Your own site
<a href="https://agentmods.dev/skills/etayang10th/spark-skills/react-performance-debugging"><img src="https://agentmods.dev/badge/skills/etayang10th/spark-skills/react-performance-debugging.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. Scan, not verified.
Origin unknown 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 $0.00000 $0.08463
Opus 5 $0.00000 $0.04231
Sonnet 5 $0.00000 $0.01693
Haiku 4.5 $0.00000 $0.00846

Measured 4d ago against content hash 69bc08710954, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

react-performance-debugging scanned grade C with 3 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 4d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL "$BASE_URL/api/products" | python3 -m json.tool | head -n 60

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const res = await fetch(url, {

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { execSync, spawn } = require("node:child_process");
spark_skills_gen/skills_gen_result/all_model_pdi/react-performance-debugging/SKILL.md · 1,260 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 1,260 lines · 0 tokens per session scan C 69bc08710954

Subscribe to this mod's changes

react-performance-debugging is a skill published in the GitHub repository EtaYang10th/spark-skills (111 stars, last pushed 2mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 8,463 tokens. A static security scan graded it C with 3 findings (downloads and executes remote code, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

performance

Use when a page or interaction is slow for one user and the fix starts from a measurement — a failing Core Web Vital (LCP, INP, CLS), a heavy JS bundle, wasted re-renders, an over-broad client boundary: profile, attribute the cost to one phase, fix it, re-measure. NOT surviving concurrent load (that is scaling), NOT…

ericrisco/rsc-harness · 91 tokens

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. Use when writing, reviewing, or refactoring React/Next.js code in StarMapper — especially MapLibre components, data fetching, and bundle optimization.

FlorianBruniaux/starmapper · 51 tokens

nextjs-development

Comprehensive Next.js development skill covering App Router, Server Components, data fetching, routing patterns, API routes, middleware, and full-stack Next.js applications.

manutej/luxor-claude-marketplace · 34 tokens

vercel-react

React/Next.js performance — 70 rules (waterfalls, bundle, re-renders). Use when reviewing or writing React/Next.js code.

martineserios/thebrana · 34 tokens

react-best-practices

Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. Use when optimizing React apps, reviewing performance, or refactoring components.

alirezaebrahimi5/ai-senior-engineer-template · 45 tokens

react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. 57 rules across 8 categories for writing, reviewing, and refactoring React code.

wpank/ai · 37 tokens