Performance budget lab
Use for website performance planning, Lighthouse/web-vitals checks, bundle/media/font budgets, Core Web Vitals triage, image/video optimization, animation performance, deployment readiness, and premium-site speed audits.From its SKILL.md
npx -y skills add TheGoat395/Codex-Skills --skill performance-budget-labAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.2 KB, 219 tokens by cl100k_base, as published. Nobody here has run it
Performance Budget Lab
Use this skill to keep visually rich sites fast.
Budget Areas
- JavaScript bundle size
- route-level code splitting
- image dimensions, formats, and lazy loading
- video poster, preload, autoplay, and reduced-data behavior
- font loading and fallback metrics
- animation cost and scroll handlers
- layout shift sources
- server rendering/static rendering choices
- caching and CDN behavior
Workflow
- Identify stack and deployment target.
- Inspect package dependencies and route structure.
- Run available build/lint/test commands.
- Run Lighthouse or browser performance checks when feasible.
- Check Core Web Vitals risks: LCP, CLS, INP, TTFB.
- Optimize media before adding more JS.
- Prefer CSS and Motion for small interactions; reserve GSAP/R3F/video for clear value.
- Report tradeoffs honestly when visual richness costs performance.
Output
Give:
- current risks
- recommended budgets
- concrete fixes
- commands run
- remaining uncertainty
What ships with it: 1 file
210 B alongside SKILL.md
agents/
- openai.yaml210 B