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.
npx skills add bestdeejay-design/agent-skills --skill frontend-performancegit clone --depth 1 https://github.com/bestdeejay-design/agent-skillsWrote 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.
[](https://agentmods.dev/skills/bestdeejay-design/agent-skills/frontend-performance)<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/frontend-performance"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/frontend-performance/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.
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/frontend-performance"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/frontend-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00262 | $0.03189 |
| Opus 5 | $0.00131 | $0.01595 |
| Sonnet 5 | $0.00052 | $0.00638 |
| Haiku 4.5 | $0.00026 | $0.00319 |
Grade A, and why
frontend-performance scanned grade A with 1 finding 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| `perf:http2-3` | Enable HTTP/2 or HTTP/3 | static | response protocol (info if urllib can't confirm — verify in Lighthouse) | How it starts
The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
frontend-performance
A performance specialist that goes beyond what frontend-perfection
already does. frontend-perfection runs Lighthouse + a couple of resource-hint
checks and owns contrast/tokens/SEO/a11y. This skill owns performance depth:
the network/header and built-asset layer that Lighthouse cannot see offline,
plus a focused Core Web Vitals Lighthouse run.
Two engines, clearly split by what they can measure:
perf_headers.py— PURE Python 3 stdlib, OFFLINE. Inspects response headers + protocol + transfer timing for a URL, and statically analyzes a built asset tree (page weight, largest bundles, duplicate libs, missing preloads, GIF→video, service worker, speculation rules, streaming, virtualization, third-party async). No network needed for the directory mode.audit.js— real Chrome via chrome-launcher + Lighthouse >= 13 (stable API,.defaultfallback). Measures the runtime metrics: LCP, FCP, INP, CLS, TTFB, critical request chains, render-blocking resources, compression, HTTP/2.
When to use
- User asks for a "performance audit", "page speed", "core web vitals", "bundle size", "optimize loading", "check HTTP/2 / compression / caching".
- User reports slow LCP/CLS/INP or a heavy bundle.
frontend-perfectionalready passed but the user wants perf depth, or the orchestrator (/frontend,mobile-frontend) delegates the perf slice.
Composition
- For contrast/tokens/SEO/a11y/OG — load
frontend-perfection(this skill does NOT reimplement those; it owns performance only). - For SEO-layer breadth — load
seo-toolkit. - For a visual direction before building — load
frontend-design-taste.
Workflow
- Locate the target — a live URL, or a built asset directory (static HTML/CSS/JS or a bundled SPA).
- Run the offline auditor (no Chrome needed) and capture evidence:
Exitpython3 scripts/perf_headers.py --url https://example.com --out perf-url.json echo "perf_headers.py(url) exit=$?" python3 scripts/perf_headers.py --dir ./dist --out perf-dist.json echo "perf_headers.py(dir) exit=$?"0= nofailchecks;1= at least onefail;2= runner error. Keep the--outJSON and the printedfaillines — they are the evidence that the audit ran and what it found. Paste the exit status and thefailsummary into the report; do not summarize from memory. - Run the Lighthouse CWV runner (real Chrome) for the runtime metrics,
capturing evidence the same way:
Defaultnode scripts/audit.js --url https://example.com --mobile --out lh-perf.json echo "audit.js(mobile) exit=$?" node scripts/audit.js --url https://example.com --desktop --out lh-perf-d.json echo "audit.js(desktop) exit=$?"--threshold 90on the performance category; exit0only when performance ≥ threshold. Add--only performance(default) or another category if iterating. Record the printed performance score and the failed weighted audits from each--outJSON as evidence. - Fix by audit id — every fix references the audit it closes
(
perf:http2-3,perf:page-weight,perf:lcp,perf:js-bundle-size, …). - Re-audit until green on both engines and both form factors.
- Write the before/after report — input paths, exact commands, the
captured exit statuses (
0/1/2) for every engine run, the realfaillines and scores from each--outJSON, interpretation, and what was deliberately NOT done. Evidence over assertion: the report must show the command, its exit status, and the output — not a paraphrase.
What ships with it
4 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.
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.
- 8d ago First seen · 188 lines · 262 tokens per session scan A c69b79e60c88
frontend-performance is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed yesterday), licensed MIT. It adds 262 tokens to every session and 3,189 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
react-stability
Prioritize hardening React UI components against runtime crashes across this scenario.
developing-with-streamlit
Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Discovers and loads version-matched reference docs from the user's installed Streamlit (>=1.57). Triggers: streamlit, st.…
material-ui-nextjs
Integrates Material UI with Next.js App and Pages routers using @mui/material-nextjs, Emotion cache providers, next/font, CSS layers with Tailwind/CSS Modules, Link component prop patterns, CSS theme variables SSR notes, and App Router useSearchParams + Suspense. Use when setting up or debugging MUI in a Next.js app.
benchmark-workflow
Run, diagnose, or change Xberg extraction benchmarks, quality scoring, benchmark fixtures, artifact contracts, and independently sourced ground truth. Load for the Benchmarks workflow or benchmark-harness work, not ordinary unit tests.
debugging-executions
Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error.
workflow
Use when a task is too large for turn-by-turn orchestration and should run through the big-task workflow lane: system-wide changes, large migrations, repo-wide audits, high-confidence verification, or tasks explicitly asking to run a workflow. Claude Code uses native dynamic workflows; Codex, OpenCode, and Grok use…