Loading...
Loading...
Use Lighthouse to perform performance audits on web pages and return JSON results, suitable for local development and CI regression testing
npx skill4agent add nyhxiaoning/skill_webaudit_henry website_auditperformance{ url }http/httpsnpx lighthouse <url> --output=json--chrome-flags="--headless=new"categories.performance.score{ "score": <number>, "raw": { /* Complete Lighthouse JSON */ } }node dist/cli.js --url https://example.com
# Or: npm link && website-audit --url https://example.comimport { websiteAuditSkill } from "websiteauditskill_henry";
const res = await websiteAuditSkill({ url: "https://example.com" });
console.log(res.score);
// { score: 0.92, raw: { ... } }