performance-audit

performance-audit is a skill for Claude Code from me2resh/apexyard. It costs 33 tokens per session (1,415 once invoked), scanned A, original, MIT.

A code-based performance review that examines bundle size, image handling, lazy loading, code splitting, caching, and Core Web Vitals, which measure important loading and interaction experiences.

In plain words
What is it for?
Use it to inspect build output, find oversized assets, review loading strategies, and check production performance settings.
Why use it?
It helps locate likely causes of slow pages and layout shifts before or alongside deeper browser testing.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to inspect build output, find oversized assets, review loading strategies, and check production performance settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/me2resh/apexyard/performance-audit
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.

Any agent
npx skills add me2resh/apexyard --skill performance-audit
Clone the repo
git clone --depth 1 https://github.com/me2resh/apexyard

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 performance-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/me2resh/apexyard/performance-audit/github.svg)](https://agentmods.dev/skills/me2resh/apexyard/performance-audit)
Your own site
<a href="https://agentmods.dev/skills/me2resh/apexyard/performance-audit"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/performance-audit/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 performance-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/me2resh/apexyard/performance-audit"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/performance-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,415 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.1 $0.00033 $0.01415
Opus 5.5 $0.00013 $0.00566
Sonnet 5.5 $0.00007 $0.00283
Haiku 4.5 $0.00003 $0.00142

Measured 8d ago against content hash 80ff41383232, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

performance-audit 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 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.

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.

.claude/skills/performance-audit/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Writing: read docs/skills/shared/writing-rule.md before you write a durable artifact.

/performance-audit — Bundle & Core Web Vitals Analysis

Deep-dive performance analysis focused on what's measurable from the codebase without running Lighthouse. Checks bundle size, image optimization, lazy loading, code splitting, and caching configuration. Invoke when /launch-check's performance row shows WARN or FAIL.

Process

Step 1: Bundle analysis

  • Check for build output (dist/, build/, .next/, out/)
  • If build exists: measure total JS + CSS size, identify the 5 largest files
  • Check for code splitting (dynamic imports, React.lazy, next/dynamic, route-based splitting)
  • Check for tree shaking configuration (ES modules, sideEffects: false in package.json)
  • Check if source maps are excluded from production build

Step 2: Image optimization

  • Find all images in the project (src, public, static, assets directories)
  • Check formats: are images served as WebP/AVIF, or only PNG/JPEG?
  • Check for oversized images (> 500KB, > 2000px width)
  • Check for next/image, @astrojs/image, or similar optimization components
  • Check for loading="lazy" on below-the-fold images
  • Check for explicit width and height attributes (prevents layout shift)

Step 3: Loading performance

  • Check for render-blocking resources (CSS in <head> without media, sync <script> without defer/async)
  • Check for font loading strategy (font-display: swap, preloading, self-hosted vs Google Fonts)
  • Check for preconnect/prefetch hints for critical third-party origins
  • Check for service worker or caching configuration

Step 4: API performance (if applicable)

  • Check for N+1 query patterns (multiple sequential fetches that could be batched)
  • Check for pagination on list endpoints
  • Check for caching headers (Cache-Control, ETag)
  • Check for compression middleware (gzip/brotli)

Step 5: Output

PERFORMANCE AUDIT — <project> @ <sha>

| # | Area | Status | Finding |
|----|------|--------|---------|
| P1 | Bundle | WARN | Total JS 420KB gzipped (target: < 300KB). Largest: vendor.js 180KB |
| P2 | Code splitting | PASS | 12 dynamic imports, route-based splitting configured |
| P3 | Images | FAIL | 8 images > 500KB, none in WebP format |
| P4 | Lazy loading | WARN | 4 below-fold images without loading="lazy" |
| P5 | Fonts | PASS | Self-hosted, font-display: swap |
| P6 | Caching | PASS | Cache-Control headers on static assets |

Performance readiness: NEEDS WORK (1 fail, 2 warnings)
Estimated LCP improvement: -1.2s if images are optimized and lazy-loaded

Read the full file on GitHub · 123 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. 8d ago Changed · -2 lines 80ff41383232
  2. 1mo ago Changed · +4 lines a8c556970f07
  3. 1mo ago First seen · 121 lines · 33 tokens per session scan A 0394ada1747b

Subscribe to this mod's changes

performance-audit is a skill published in the GitHub repository me2resh/apexyard (537 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,415 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

inspecting-hermes-desktop-dom

Read the live Hermes desktop DOM/CSS over CDP.

NousResearch/hermes-agent · 20 tokens

fixing-motion-performance

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

ibelick/ui-skills · 45 tokens

optimize-web-animations

Profile, audit, and optimize frontend page performance with emphasis on animation work, memory-leak risks, long-session slowdowns, CSS animations, canvas/WebGL requestAnimationFrame loops, marquees, skeletons, GSAP/Three/Matter effects, timers, listeners, and observers. Use when the user asks to make animations…

MengTo/Skills · 126 tokens

frontend-testing-debugging

Use when testing, debugging, or making targeted improvements to rendered frontend apps through the Frontend Design Skills or web dev plugin: local dev servers, UI regressions, interaction bugs, console errors, responsive layout, and visual QA. Check whether the Browser plugin is available and use it first when it is…

fcakyon/claude-codex-settings · 76 tokens

weapp-tailwindcss-troubleshoot

A troubleshooting guide for weapp-tailwindcss and its CLI when generated styles, class conversion, builds, or hot reload do not work as expected.

sonofmagic/weapp-tailwindcss · 130 tokens

Dark Mode Bug Finder

Detect dark mode rendering issues including contrast failures, missing theme tokens, image inversions, and transition glitches across components.

PramodDutta/qaskills · 28 tokens