Installing Web Quality Skills
Web Quality Skills are Agent Skills that work with AI coding agents like OpenCode, Claude Code, Cursor, and Codex. Follow the installation method for your agent below.What are Agent Skills? Agent Skills are specialized instruction sets that extend your AI coding agent’s capabilities. Web Quality Skills teach agents to audit and optimize web projects based on Lighthouse and Core Web Vitals.
Quick Installation
The fastest way to install Web Quality Skills is using theadd-skill CLI tool:
Run the add-skill command
Open your terminal and run:This command automatically installs all six Web Quality Skills to your agent’s skills directory.
Verify installation
Confirm the skills were installed successfully:You should see six skill directories:
web-quality-audit/performance/core-web-vitals/accessibility/seo/best-practices/
Installation by Agent
- OpenCode
- Claude Desktop
- claude.ai (Web)
- Cursor
- Codex
OpenCode Installation
OpenCode automatically loads skills from~/.opencode/skills/.Manual Installation
If you prefer to install manually or theadd-skill tool isn’t working:
Configuration
Customizing Skill Behavior
You can customize how skills behave by editing theSKILL.md files:
Adjust trigger phrases
Adjust trigger phrases
Edit the Add your own trigger phrases to match your team’s vocabulary.
description field in the YAML frontmatter to change when skills activate:Modify thresholds
Modify thresholds
Change performance budgets or scoring thresholds in the skill content:
Add framework-specific patterns
Add framework-specific patterns
Add custom optimization patterns for your framework in the relevant sections:
Advanced Configuration
Verifying Installation
After installation, verify that skills are working correctly:Check skills are loaded
Ask your agent:Expected response should list:
- web-quality-audit
- performance
- core-web-vitals
- accessibility
- seo
- best-practices
Troubleshooting
Skills not being invoked
Skills not being invoked
Problem: Agent doesn’t use skills even when prompted.Solutions:
- Verify skills are in the correct directory for your agent
- Check YAML frontmatter is valid (no syntax errors)
- Restart your agent to reload skills
- Use more specific trigger phrases (e.g., “Run a Lighthouse audit”)
- Explicitly name the skill: “Use the performance skill to analyze this page”
Permission errors during installation
Permission errors during installation
Problem:
Permission denied when copying to skills directory.Solutions:Skills directory not found
Skills directory not found
Problem: Agent’s skills directory doesn’t exist.Solution:
add-skill command not found
add-skill command not found
Problem:
add-skill CLI tool not working.Solutions:- Ensure Node.js is installed:
node --version(need 18+) - Use npx instead:
npx add-skill ... - Install globally:
npm install -g add-skill - Fall back to manual installation (see above)
Skills causing errors
Skills causing errors
Problem: Agent shows errors when trying to use skills.Solutions:
- Check SKILL.md files have proper YAML frontmatter
- Validate markdown syntax
- Remove and reinstall skills:
- Report issues at GitHub Issues
Updating Skills
To update to the latest version of Web Quality Skills:Next Steps
Quick Start Guide
Run your first web quality audit
Skills Overview
Learn about each skill in detail
Core Web Vitals
Deep dive into LCP, INP, and CLS optimization
Examples
See real-world optimization examples