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.03289 |
| Opus 5.5 | $0.00105 | $0.01316 |
| Sonnet 5.5 | $0.00052 | $0.00658 |
| Haiku 4.5 | $0.00026 | $0.00329 |
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 1mo 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 — 196 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.
- 1mo ago Changed · +8 lines eaab58514fb8
- 1mo 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 1mo ago), licensed MIT. It adds 262 tokens to every session and 3,289 once invoked, about $0.0010 per session on Opus 5.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
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-table-access-denied
Debugs a TableAccessDeniedError from an error tracking issue, Slack alert, or user report. Use when investigating why HogQL denied a system or warehouse table and whether the occurrence is a real bug or expected behavior. Trigger terms include TableAccessDeniedError, tableaccessdenied, and "You don't have access to…
debug-operator
TRIGGER when operator errors appear or user reports broken behavior. Systematic diagnosis workflow.
multisim-circuit-workflow
Diagnose, configure, generate, simulate, and report on NI Multisim circuits through the Multisim MCP server. Use when the user asks to install or configure Multisim MCP, generate a Multisim schematic, run circuit simulation, analyze waveforms, or produce an electronic design report.
typescript-testing
Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests. Use when adding tests, diagnosing TypeScript CI, choosing a focused test command, validating TypeScript package changes, or writing/porting CLI tests against…
cli-e2e
Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.