Nuxt SEO
Nuxt SEO meta-module with robots, sitemap, og-image, schema-org.
Diagnoses failing LCP, INP and CLS from field data and Lighthouse, names the elements, files and scripts at fault, and ranks the fixes by savings.
Listed ·Updated
$ npx skills add https://seoskills.sh --skill core-web-vitals-fixerCore Web Vitals Fixer is a Technical SEO skill for AI agents, published in the seoskills.sh catalog. Reach for it when your work involves crawlability, indexing, site architecture, Core Web Vitals, and log-file analysis. Install it with one command and it runs inside your own agent, so the work happens in your workflow, not a separate SEO tool.
AGENT ROLE: Autonomous page-speed agent. Get field and lab data, run the script, emit the JSON in references/output.schema.json, and turn it into a short, ordered fix list with the code-level change for each item.
Answer "does this page pass Core Web Vitals for real users, and which changes will move each metric most?" Field data says whether there is a problem. The lab run and the HTML say where it comes from.
url (via --url, repeatable or comma-separated, up to 5): pages to diagnose. Needs env PSI_API_KEY for field and lab data.strategy (OPTIONAL, default mobile): mobile, desktop or both. Google's mobile results are the ones that usually matter.lighthouse (OPTIONAL via --lighthouse, repeatable): a saved Lighthouse JSON report (Chrome DevTools, Lighthouse panel, then save as JSON; or lighthouse <url> --output=json) or a saved PageSpeed Insights API response. No key needed.PSI_API_KEY, a free Google Cloud API key with the PageSpeed Insights API enabled; Google refuses keyless requests). It returns CrUX field data for the URL, or the whole origin when the URL lacks traffic, plus a Lighthouse lab run.seoskills-cwv-fixer/1.0.scripts/cwv_fixer.py --url https://example.com/ [--strategy both] with PSI_API_KEY set, or scripts/cwv_fixer.py --lighthouse report.json.STEP 1: FIELD. From CrUX, take the 75th percentile of LCP, INP, CLS, FCP and TTFB and rate each with Google's thresholds:
scope says whether the data is for the URL or the whole origin.
STEP 2: LAB. Take Lighthouse's LCP, CLS, TBT, FCP, Speed Index and TTI, and its performance score. TBT is the lab stand-in for INP; a lab run cannot measure INP itself.
STEP 3: LCP DETAIL: the LCP element (selector and HTML snippet), its four phases (time to first byte, resource load delay, resource load duration, element render delay) and the biggest one with what fixes it, and the discovery checks (in the initial HTML, fetchpriority=high, not lazy-loaded).
STEP 4: FIXES. Every failing Lighthouse audit that maps to a metric becomes a fix, with the files or elements involved (the top 5), Lighthouse's estimated savings, and the change to make. An older audit and its newer insight that report the same problem appear once. Rank by estimated savings.
STEP 5: HTML CHECKS: the first image lazy-loaded, no image priority hint, blocking scripts in the head, images without dimensions, fonts without font-display, many third-party script hosts, no viewport tag.
STEP 6: REPORT, metric by metric:fetchpriority="high" to the named hero image, deferring a named script, or setting width and height on named images.psi_error with Google's message (an invalid key, quota, or a Lighthouse error such as the page not loading), and the HTML checks still run.--url and no --lighthouse STOPs INPUT_INVALID. An unreadable report STOPs FILE_UNREADABLE; a JSON that is not Lighthouse STOPs NOT_LIGHTHOUSE. IF nothing at all can be measured THEN STOP NOTHING_MEASURED.One JSON object per references/output.schema.json. Then the fix list: field verdict, then the fixes in order with the exact elements, files and code changes, and how to confirm them (a new run, then CrUX after 28 days).
scripts/cwv_fixer.py: PageSpeed Insights client, CrUX field parsing, Lighthouse audit diagnosis and ranking, and the HTML checks.references/output.schema.json: output contract.Not using the CLI? Copy the SKILL.md and paste it straight into ChatGPT, Claude, or any agent.
$ npx skills add https://seoskills.sh --skill core-web-vitals-fixer -a claude-codeNuxt SEO meta-module with robots, sitemap, og-image, schema-org.
Runs on-page and technical SEO for a documentation site - indexability, canonicals and hreflang across versioned and translated pages, redirects, the generator's title and description templates, internal linking, and an owner-assigned fix list against an agreed pass threshold.
Next.js App Router SEO implementation and audits.
Follows every redirect hop for a list of URLs to find chains, loops, mixed 301 and 302 use, and redirects that end in errors or contradict the canonical.
Audits XML sitemaps against the protocol and samples your URLs for errors, noindex and redirects, or builds clean sitemap files from a crawl.
Structured diagnostic for technical SEO problems.