Search

PythonReactSEOPDF
OpenClaw

Afrexai Web Performance Engine

Web Performance Engine

1kalin0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install 1kalin/afrexai-web-performance-engine

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Web Performance Engine

Complete web performance optimization system. Audit, diagnose, fix, and monitor — no external tools required (but integrates with Lighthouse, WebPageTest, Chrome DevTools when available).

Phase 1: Performance Audit

Quick Health Check

Run these checks in order. Stop when you find the bottleneck tier.

Tier 1 — Critical (blocks rendering):

  • Time to First Byte (TTFB) > 800ms → server problem
  • First Contentful Paint (FCP) > 1.8s → render-blocking resources
  • Largest Contentful Paint (LCP) > 2.5s → hero element problem
  • Total Blocking Time (TBT) > 200ms → JavaScript problem
  • Cumulative Layout Shift (CLS) > 0.1 → layout instability
  • Interaction to Next Paint (INP) > 200ms → event handler problem

Tier 2 — Important (affects experience):

  • Page weight > 2MB
  • Requests > 80
  • JavaScript > 500KB (compressed)
  • Images > 1MB total
  • No compression (gzip/brotli)
  • No caching headers

Tier 3 — Polish (competitive edge):

  • Speed Index > 3.4s
  • Time to Interactive > 3.8s
  • Font loading causes flash
  • Third-party scripts > 30% of JS
Audit Brief Template
audit:
  url: ""
  device: "mobile"  # mobile | desktop | both
  connection: "4G"  # 3G | 4G | fiber
  region: ""        # closest to target users
  
scores:
  performance: null  # 0-100
  fcp_ms: null
  lcp_ms: null
  tbt_ms: null
  cls: null
  inp_ms: null
  ttfb_ms: null
  
page_weight:
  total_kb: null
  html_kb: null
  css_kb: null
  js_kb: null
  images_kb: null
  fonts_kb: null
  other_kb: null
  
requests:
  total: null
  by_type: {}
  third_party_count: null
  third_party_kb: null
Getting Metrics Without Tools

If no Lighthouse/DevTools available, use web-based tools:

  1. web_fetch "https://pagespeed.web.dev/analysis?url={encoded_url}" — Google's free tool
  2. web_search "webpagetest {url}" — find cached results
  3. web_search "site:{domain} core web vitals" — find CrUX data
  4. Check...

Source information

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-web-performance-engine
Version
—
Commit
c4d39926a4a6074b5a4dd44efe7acfc431de4ca6
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Web Performance Engine ⚡

Complete web performance optimization system for AI agents. Audit any website, diagnose bottlenecks, and fix them — with or without specialized tools.

Install

clawhub install afrexai-web-performance-engine

What It Does

  • Full Core Web Vitals audit (LCP, FCP, TBT, CLS, INP, TTFB)
  • Bottleneck decision tree — finds the root cause fast
  • 10 fix playbooks — server, render-blocking, images, JS, layout shifts, interactions
  • Resource loading strategy — preload, prefetch, lazy loading done right
  • Third-party script audit — with deferred loading patterns
  • Mobile-specific optimization with targets and checklist
  • Performance budgets with enforcement rules
  • 100-point scoring rubric across 8 dimensions
  • Framework-specific quick wins (Next.js, WordPress, SPA, static)
  • Advanced techniques — service workers, predictive prefetch, RUM monitoring

Quick Start

"Audit https://example.com"
"What's slowing down my site?"
"Fix LCP on https://myapp.com"
"Set a performance budget for my project"

Why This Over Other Performance Skills?

Other skills require Chrome DevTools MCP or external tools. This one works with zero dependencies — pure methodology. When tools are available, it uses them. When they're not, it guides you with web-based alternatives and manual checks.

19KB of actionable frameworks vs 7KB of tool-specific commands.


⚡ Level Up: AI Context Packs

Want to ship faster sites AND grow revenue? Our SaaS Context Pack ($47) includes complete technical + business playbooks for building high-performance SaaS products.

👉 Browse all context packs

🔗 More Free Skills by AfrexAI

Extracted content

SKILL.md
# Web Performance Engine

Complete web performance optimization system. Audit, diagnose, fix, and monitor — no external tools required (but integrates with Lighthouse, WebPageTest, Chrome DevTools when available).

## Phase 1: Performance Audit

### Quick Health Check

Run these checks in order. Stop when you find the bottleneck tier.

**Tier 1 — Critical (blocks rendering):**
- [ ] Time to First Byte (TTFB) > 800ms → server problem
- [ ] First Contentful Paint (FCP) > 1.8s → render-blocking resources
- [ ] Largest Contentful Paint (LCP) > 2.5s → hero element problem
- [ ] Total Blocking Time (TBT) > 200ms → JavaScript problem
- [ ] Cumulative Layout Shift (CLS) > 0.1 → layout instability
- [ ] Interaction to Next Paint (INP) > 200ms → event handler problem

**Tier 2 — Important (affects experience):**
- [ ] Page weight > 2MB
- [ ] Requests > 80
- [ ] JavaScript > 500KB (compressed)
- [ ] Images > 1MB total
- [ ] No compression (gzip/brotli)
- [ ] No caching headers

**Tier 3 — Polish (competitive edge):**
- [ ] Speed Index > 3.4s
- [ ] Time to Interactive > 3.8s
- [ ] Font loading causes flash
- [ ] Third-party scripts > 30% of JS

### Audit Brief Template

```yaml
audit:
  url: ""
  device: "mobile"  # mobile | desktop | both
  connection: "4G"  # 3G | 4G | fiber
  region: ""        # closest to target users
  
scores:
  performance: null  # 0-100
  fcp_ms: null
  lcp_ms: null
  tbt_ms: null
  cls: null
  inp_ms: null
  ttfb_ms: null
  
page_weight:
  total_kb: null
  html_kb: null
  css_kb: null
  js_kb: null
  images_kb: null
  fonts_kb: null
  other_kb: null
  
requests:
  total: null
  by_type: {}
  third_party_count: null
  third_party_kb: null
```

### Getting Metrics Without Tools

If no Lighthouse/DevTools available, use web-based tools:
1. `web_fetch "https://pagespeed.web.dev/analysis?url={encoded_url}"` — Google's free tool
2. `web_search "webpagetest {url}"` — find cached results
3. `web_search "site:{domain} core web vitals"` — find CrUX data
4. Check...
README
# Web Performance Engine ⚡

Complete web performance optimization system for AI agents. Audit any website, diagnose bottlenecks, and fix them — with or without specialized tools.

## Install

```bash
clawhub install afrexai-web-performance-engine
```

## What It Does

- **Full Core Web Vitals audit** (LCP, FCP, TBT, CLS, INP, TTFB)
- **Bottleneck decision tree** — finds the root cause fast
- **10 fix playbooks** — server, render-blocking, images, JS, layout shifts, interactions
- **Resource loading strategy** — preload, prefetch, lazy loading done right
- **Third-party script audit** — with deferred loading patterns
- **Mobile-specific optimization** with targets and checklist
- **Performance budgets** with enforcement rules
- **100-point scoring rubric** across 8 dimensions
- **Framework-specific quick wins** (Next.js, WordPress, SPA, static)
- **Advanced techniques** — service workers, predictive prefetch, RUM monitoring

## Quick Start

```
"Audit https://example.com"
"What's slowing down my site?"
"Fix LCP on https://myapp.com"
"Set a performance budget for my project"
```

## Why This Over Other Performance Skills?

Other skills require Chrome DevTools MCP or external tools. This one works with **zero dependencies** — pure methodology. When tools are available, it uses them. When they're not, it guides you with web-based alternatives and manual checks.

19KB of actionable frameworks vs 7KB of tool-specific commands.

---

## ⚡ Level Up: AI Context Packs

Want to ship faster sites AND grow revenue? Our **SaaS Context Pack** ($47) includes complete technical + business playbooks for building high-performance SaaS products.

👉 [Browse all context packs](https://afrexai-cto.github.io/context-packs/)

## 🔗 More Free Skills by AfrexAI

- [afrexai-seo-content-engine](https://clawhub.com/skill/afrexai-seo-content-engine) — SEO-optimized content creation
- [afrexai-technical-docs](https://clawhub.com/skill/afrexai-technical-docs) — Documentation system
- [afrexai-co...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance