/seo-skills:seo-auditfrom seo-skills
Audits pages/sites for organic search ranking issues: crawl/index signals, on-page elements, content quality, and fix prioritization. Helps diagnose why a page isn't ranking.
Ships in seo-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Audit in priority order, because the layers depend on each other. A page that can't be indexed doesn't benefit from a better title.
Work down the list and stop where the evidence stops. Most asks are answered at layers 3 and 4.
web_fetch returns the server's HTML as text. Everything you report as observed has to come from that, from a source you read, or from the caller.
Readable from a fetch: title tag, meta description, heading order and text, body copy, visible links and their anchor text, canonical tag, robots meta, hreflang in the HTML head, server-rendered JSON-LD, robots.txt and sitemap.xml when you fetch them directly.
Not readable, so not yours to assert: anything JavaScript injects after load, Core Web Vitals and any speed measurement, whether Google has actually indexed a URL, rank position, search volume, traffic, backlink counts, and whole-site facts like orphan pages or crawl budget that need evidence beyond a single fetch or bounded sample.
The trap worth naming: CMS SEO plugins commonly inject JSON-LD client side, so a fetch shows no schema on a page that has plenty. Never conclude "no schema" from a fetch. Report that the server HTML carried none, and send them to the Rich Results Test at https://search.google.com/test/rich-results, which renders JavaScript.
For a check you can't run, name the check and the tool rather than skipping it silently. Search Console covers index coverage and queries; PageSpeed Insights covers Core Web Vitals; a crawler like Screaming Frog covers site-wide structure.
Work outward from the page before reaching for site-wide theories.
Use the bundled scripts before judging the page. They work from HTTP responses and HTML, independent of the app’s framework. From this skill directory, use Node.js 22 or newer:
npm ci --prefix scripts --ignore-scripts
node scripts/audit.mjs https://example.com --json
The audit reuses check_head.mjs for the entry page’s metadata, crawler responses, HTTP compression on HTML and linked same-origin CSS/JS assets, missing Cache-Control headers on linked static assets, web app manifest resolution and icon checks, share images, favicons separate from apple-touch-icon, multi-hop redirect chains on www and http, unknown-path canonical, JSON-LD, and index robots leaks, and generated og:image/twitter:image (including static .png) X-Robots-Tag: noindex headers. It flags titles and descriptions likely to truncate or too short to summarize the page (head.warning on the entry page, page.snippet-length on other indexable pages) as clarity cues, not ranking failures. It also measures unauthenticated HTML ttfbMs (page.slow-ttfb above 1500 ms) and Set-Cookie cookie names only (page.set-cookie, distinguishing auth/session cookies from intentional locale cookies). Across discovered pages, it checks robots.txt (including dead literal Allow: paths), XML sitemap indexes, XML, gzip-compressed XML, or text sitemaps (X-Robots-Tag: noindex headers plus duplicate, malformed-slug, or double-slash URLs across all <loc> entries), unlinked /llms.txt noindex headers, temporary 302/307 entry redirects, internal links, canonical and hreflang conflicts on noindex pages, local-host URL leaks, subpage max-image-preview:large and meta attribute spelling, locale return links, duplicate titles/descriptions, missing alt attributes, and nested JSON-LD syntax and Dataset / BreadcrumbList / ProfilePage rules, with bounded single-origin concurrency and transient retry resilience. HTML and HTTP Link headers both supply canonical and locale annotations. XML sitemap locale annotations are checked too.
Watch for un-gated SSR session or profile lookups on public routes: always check for the session cookie (reading the cookie name from environment config) before calling a backend auth/profile service, and stop client background identity polling on public pages. Un-gated SSR profile lookups add zero value for cookie-only auth while inflating unauthenticated TTFB, flooding shared SSR IP 401/429 rate limits, and turning backend or DNS blips into public SSR 500 errors.
Both audit.mjs and check_head.mjs prefer IPv4 DNS first so dual-stack hosts do not stall on broken IPv6 routes.
The crawl stays on the final entry origin, respects Googlebot’s robots rules for discovered pages, and checks at most 20 page URLs and 10 sitemaps. Use --max-pages 100 to expand it, up to 500. Each crawl response has a 5 MiB budget and a 10-second timeout. The existing entry-page probes have their own request budgets. Cross-origin targets, unsupported feeds, request challenges, and crawl limits are reported as unchecked. A bounded crawl cannot prove that the whole site is free of errors or has no orphan pages.
The entry page is expected to be public and indexable. For an intentionally private entry page, add --expect-noindex. Discovered pages are not assumed to need indexing, but sitemap entries are expected to be indexable canonical URLs. Never remove deliberate privacy or training restrictions to satisfy an audit.
Read findings, coverage, and pages together. coverage.crawlComplete refers only to discovered URLs, not to rendered pages or every URL the site might have:
fail: observed technical failures, such as a broken referenced URL or a noindex sitemap entryreview: recommendations and context-dependent findings, such as duplicate titles or limited snippetsunchecked: missing evidence, blocked requests, or work beyond the crawl budgetpass: the stated check passed or a policy value was observed, not proof of indexing or rankingExit 1 means confirmed failures, exit 2 means invalid invocation or a run error, and exit 0 means no confirmed failures. Exit 0 does not mean all checks ran. rulesCheckedOn records when the cited guidance was reviewed, not a live certification against every Google update.
For a single URL without installing the crawl parsers, use node scripts/check_head.mjs <url> --json. For optional llms.txt work, use node scripts/check_llms_txt.mjs <site-url>. A missing llms.txt is not a Google SEO failure, though an existing /llms.txt should return X-Robots-Tag: noindex. For full schema validation, use the schema skill’s node scripts/validate_schema.mjs <jsonld-file|-|--url https://...>. Its field map is a checklist, not proof of rich-result eligibility.
A server-HTML warning is not a rendered-page finding. For client-rendered pages, inspect the browser DOM with available browser tooling before concluding that a title, heading, link, or structured data is missing. Compare raw and rendered evidence without pretending a browser render is Google’s indexing result. Measure performance with PageSpeed Insights or run Chrome Lighthouse locally (npx lighthouse <url> --only-categories=performance,accessibility,best-practices,seo --output=json for mobile, adding --preset=desktop for desktop) when the PSI API is rate-limited (429) or unkeyed, and distinguish lab simulations from field Core Web Vitals. Use Search Console for actual index coverage, selected canonicals, snippets, and search performance.
Google’s generative AI guidance uses the same SEO foundations. It does not require llms.txt, special AI markup, fixed content lengths, or a special writing style. Review Googlebot access and index/snippet controls. The script reports AI-search and training crawler policies separately. Blocking a training crawler is not a search failure, and a spoofed user-agent request cannot prove whether a verified crawler is allowed through a firewall. Content quality, intent, expertise, and factual accuracy still need editorial judgment. Do not produce an invented SEO or AI-readiness score.
Open the actual share images at feed and phone preview sizes. Flag redundant printed web addresses, subtitles that repeat the headline, and unreadable text. Suggest deleting redundant copy before enlarging the main message or product visual and rebalancing spacing. When creating or revising a card, omit redundant URLs and small subtitles by default. Keep useful context, standalone-sharing needs, explicit user choices, and recognizable branding. This is visual clarity advice, not a crawler requirement or ranking fix. Mark it unverified when you cannot inspect the image.
Read each key page’s title, meta description and share text as a stranger would, and flag a line that joins two ideas, describes mechanics instead of the reader’s outcome, fits any competitor, or no longer matches the product’s positioning and share card. Propose the rewrite itself, and check the opening paragraph too, since Google also builds snippets from page text.
After a change, rerun the affected checks. Submit sitemaps or start Search Console validation only when the task authorizes that action and evidence supports it. When working in Search Console:
google-search-console-cli first to compare registered sitemaps against live robots.txt and /sitemap.xml declarations and to inspect representative unindexed URLs.<loc> count to catch stale or partial fetches, and inspect server Googlebot 404 logs for deleted or renamed URLs that crawling cannot discover.Examples and FAILED URLs before clicking Validate Fix.noindex pages, intentional robots.txt blocks, bot-probe 404s, or non-critical enhancement warnings when any listed example intentionally omits an optional property (for example a dataset without an upstream license).Never claim freshness of a sitemap’s lastmod dates without evidence of actual content changes.
references/audit-checklist.md: the per-area checks, each marked with whether a fetch can verify it.references/international-seo.md: hreflang, canonical interaction, and locale URL structure for multi-language sites, with the errors that silently void a whole cluster.Give each finding the problem, why it matters for search, the evidence, the fix, and its rank against the others. Open with the few things worth doing first, and close with what you couldn't check and what it would take. Group by layer, not by page, so someone can fix a class of problem once.
references/audit-checklist.md (opens in a new tab)references/international-seo.md (opens in a new tab)scripts/audit.mjs (opens in a new tab)scripts/check_head.mjs (opens in a new tab)scripts/check_llms_txt.mjs (opens in a new tab)scripts/package-lock.json (opens in a new tab)scripts/package.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
seo, search-engine-optimization, ranking-audit, organic-search
4 skills in this plugin
/programmatic-seoUse when planning many similar pages from a template and a data set: choosing the pattern, deciding whether the data can carry it, and avoiding the thin-content failure that gets page sets deindexed./schemaUse when adding, fixing, or reviewing structured data: JSON-LD for articles, products, FAQs, breadcrumbs, organizations, and local businesses, and what to do when markup doesn't earn a rich result./site-architectureUse when planning or restructuring what pages a site has and how they connect: hierarchy, navigation, URL patterns, breadcrumbs, and internal linking. Not for XML sitemaps, which are in seo-audit.npx claudepluginhub fcakyon/claude-codex-settings --plugin seo-skillsOther plugins' skills for the same job