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 ssheleg/sheleg-dev --skill frontend-performancegit clone --depth 1 https://github.com/ssheleg/sheleg-devWrote 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/ssheleg/sheleg-dev/frontend-performance)<a href="https://agentmods.dev/skills/ssheleg/sheleg-dev/frontend-performance"><img src="https://agentmods.dev/badge/skills/ssheleg/sheleg-dev/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/ssheleg/sheleg-dev/frontend-performance"><img src="https://agentmods.dev/badge/skills/ssheleg/sheleg-dev/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.00084 | $0.03668 |
| Opus 5.5 | $0.00034 | $0.01467 |
| Sonnet 5.5 | $0.00017 | $0.00734 |
| Haiku 4.5 | $0.00008 | $0.00367 |
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 12d 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
(WebDriver; `sudo safaridriver --enable` once) for a real browser, Playwright's Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend Performance
Optimize frontend applications for maximum Lighthouse scores and real-user performance. This skill covers the technical performance layer -- for how it looks, see sheleg-design; for what the interface must do, see super-ux.
Audit Workflow
- Measure -- Run PageSpeed Insights or Lighthouse (Chromium) and load the same scenario in WebKit first (see Test browser below). Record scores, failing audits and the engine of each number.
- Diagnose -- Map each failing audit to a specific code-level cause (see checklist below).
- Prioritize -- Fix by impact: P0 blocks rendering, P1 hurts metrics, P2 is informational.
- Implement -- Apply fixes per the reference guides.
- Validate --
next build(or framework equivalent) + re-run Lighthouse and the WebKit run. Verify no regressions in either engine.
Test browser — WebKit (Safari) first
Load and profile the page in WebKit first: Safari through safaridriver
(WebDriver; sudo safaridriver --enable once) for a real browser, Playwright's
webkit (the webkit project, --browser webkit, installed with
npx playwright install webkit) for scripted runs and traces, Safari Web
Inspector's Timelines for debugging. On macOS open a page with
open -a Safari <url>, not the system default browser, which may be another
engine. An automation library (browser-use and the like) runs on its
WebKit/Safari backend where it has one. WebKit has the narrowest support
envelope of the big three — a regression that only iOS Safari users feel is
invisible to every Chrome tool below.
Lighthouse, PageSpeed Insights, CrUX, a CDP trace and the chrome-devtools MCP are Chromium by definition — they stay in this workflow as the stated Chromium exception: use them when the task needs Chrome itself, and say which and why. Prefer the Chrome Dev build for a Chrome run you start; give it a temporary profile (never the user's), record what you started, and close every process you started before you finish. A page checked only in Chromium is reported as "checked only in Chromium", never as "tested in a browser"; a Lighthouse score is a Chrome lab number, not a cross-browser verdict.
What ships with it
3 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.
- 12d ago Changed · +1 lines · -29 tokens per session 55732bbce357
- 17d ago Changed · -89 tokens per session 2092fefd26d1
- 19d ago Changed · +22 lines 6da640069caa
- 1mo ago Changed · +11 lines f4c3882395a2
- 1mo ago Changed · +28 lines acfcc84e984d
- 2mo ago Changed · +1 lines 2116f5413396
- 2mo ago First seen · 166 lines · 202 tokens per session scan A f963aed70c37
frontend-performance is a skill published in the GitHub repository ssheleg/sheleg-dev (4 stars, last pushed 4d ago), licensed MIT. It adds 84 tokens to every session and 3,668 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
frontend-performance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-performancessheleg/sheleg-dev | Skill | 4 | 4d ago | MIT | A | 84 | Claude Code |
| strip-demospeedpy/speedpy | Skill | 82 | 15d ago | MIT | A | 49 | Claude Code |
| integration-rule-engineaozyildirim/Agena | Skill | 103 | 28d ago | MIT | A | 67 | Claude Code, Codex |
| analytics-and-monitoringkws-projects/react-boilerplate | Skill | 3 | 5mo ago | MIT | A | 0 | Cursor |
| error-monitoringzebbern/termstack | Skill | 4 | 6mo ago | none | A | 59 | Claude Code, Codex |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | yesterday | Apache-2.0 | A | 112 | Claude Code |