core-vitals-fixer
Fix Core Web Vitals issues with AI guidance. Use when your Lighthouse scores are bad.
Why use this skill?
Improve LCP, CLS, and FID scores automatically. Scan your project code, get actionable fix recommendations, and boost SEO with the AI Core Vitals Fixer.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lxgicstudios/core-vitals-fixerWhat This Skill Does
The core-vitals-fixer skill is an automated performance audit agent designed to optimize web application metrics, specifically targeting Core Web Vitals (LCP, CLS, and FID). By leveraging the GPT-4o-mini engine, the tool performs a deep scan of your project's source directory, identifying specific antipatterns in your codebase that contribute to poor loading performance, visual instability, and sluggish input responsiveness. Instead of just highlighting issues, it provides actionable code-level refactoring suggestions, allowing you to resolve complex performance bottlenecks without manually debugging audit logs. It is purpose-built to streamline the transition from failing Lighthouse scores to high-performance, SEO-friendly web experiences.
Installation
To integrate this skill into your environment, use the OpenClaw CLI tool. Run the following command in your terminal to install it directly from the OpenClaw repository:
clawhub install openclaw/skills/skills/lxgicstudios/core-vitals-fixer
Ensure you have your OPENAI_API_KEY set in your environment variables, as the agent requires this to perform the intelligent analysis of your code.
Use Cases
This skill is ideal for several development scenarios:
- SEO Rescue: When your site is experiencing ranking drops due to poor performance scores in Google Search Console.
- Performance Auditing: When conducting routine maintenance on a production codebase to ensure continued adherence to modern web standards.
- New Site Optimization: When building a high-traffic landing page and you want to verify that your component architecture follows performance best practices before deployment.
- Refactoring: When legacy codebases have accumulated heavy dependencies or inefficient rendering patterns that cause "layout shift" or slow interactive states.
Example Prompts
- "Fix the CLS issues in my ./src/components folder, specifically looking for images without explicit aspect ratios."
- "Analyze the ./app/ directory for LCP bottlenecks and give me a priority list of code changes to reduce the time to render the main hero section."
- "Help me improve the FID score for my user dashboard; identify which JS bundles might be blocking the main thread during interaction."
Tips & Limitations
To get the most out of the core-vitals-fixer, prioritize fixing LCP issues first, as these usually provide the highest impact on user perception and search rankings. Always ensure your code is under version control before applying suggestions, as automated refactors should always be verified in a staging environment. Note that this tool requires external access to the OpenAI API and performs deep reads of your source files to generate its recommendations. It does not replace browser-based synthetic monitoring but acts as a powerful companion for static analysis.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lxgicstudios-core-vitals-fixer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api
Related Skills
script-gen
Generate package.json scripts with AI. Use when setting up npm scripts.
email-template-gen
Generate responsive email templates. Use when building transactional emails.
branch-namer
Generate descriptive git branch names from plain English. Use when you need a branch name that follows conventions.
cloudflare-gen
Generate Cloudflare Workers configuration and code. Use when building on the edge.
adr-writer
Generate Architecture Decision Records with AI. Use when documenting technical decisions.