> ~/claude-skills/seo-geo-audit

Can search engines and language models both read your site?

Audits a frontend's source for classical SEO and for GEO: how easily a language model can extract, cite and reason about the page. Reads HTML, JSX, TSX, MDX, Astro, Vue and Svelte and returns a graded report card with file:line citations and concrete fixes. 30 SEO checks, 37 GEO checks, and optional JSON, CSV and SARIF output.

Why it exists

Classical SEO scanners have existed for years. A scanner can tell you that a meta description exists. It cannot tell you whether it is a good one, or whether a paragraph could be quoted by an answer engine without the page around it.

That second question now matters as much as the first. ChatGPT, Perplexity and Google AI Overviews surface web content by reading it, so a site has to be legible to a language model as well as to a crawler. That is GEO, Generative Engine Optimization, and it is the interesting half of this skill: most of its checks are judgement, not pattern matching.

What it checks

  • 30 classical SEO checks: titles, descriptions, canonicals, viewport, semantic landmarks, alt text, robots, sitemaps, Open Graph and Twitter tags, and the usual anti-patterns.
  • 37 GEO checks: llms.txt, JSON-LD coverage, FAQ, HowTo and Article schema, how scannable the content is, citation density, code shown as screenshots, server-side rendering.
  • Citability: three to five representative content blocks per route, each scored on a five-dimension rubric. The report gives the median and the score of each block.
  • AI crawlers: robots.txt rated against the known crawlers by tier, so you can see who is allowed in and who is not.

The framework is detected from package.json, because the same folder name means different things in different frameworks: Next.js (App Router and Pages Router), Astro, Nuxt, SvelteKit, Remix, Gatsby, Vue and plain HTML.

The report

A grade and a score per category, then the findings sorted by severity, each with its id, its deduction, every file:line where it occurs and a concrete fix.

Audit report: greenfield-startup.io

  SEO   F   23/100   4 high · 3 medium · 2 low
  GEO   F    1/100   6 high · 4 medium · 1 low

SEO  100 - 16 - 16 - 16 - 8 - 6 - 6 - 5 - 2 - 2 = 23

1. SEO-024  noindex left in production    high   -8
   app/dashboard/page.tsx:3
   A robots noindex tag survived from staging. That page is
   absent from Google, not ranked poorly.

The score has to be reproducible from the listed findings, and the arithmetic is printed. The repository has two full samples: a well-optimised site and a typical new one.

Modes

The argument is a mode, not a target. The skill reads source from disk and audits the current directory unless you give it a path.

Argument What happens
(none) SEO and GEO over root-level files and key routes, about 30 files
deep Every route and page it can find in the repo
seo · geo That half only
fix After the audit, proposes an edit for each high-severity finding and asks before each one
<path> Audits that directory instead
<name>.md Writes the report to that file
json · csv · sarif Also writes the machine-readable result in that format
live <domain> Adds the live answer-engine check described below

Arguments combine: /seo-geo-audit deep geo report.md.

Machine-readable output

JSON is the only format written directly. CSV and SARIF are derived from it by a script, so the three files cannot disagree. SARIF is the format GitHub code scanning reads, which puts the findings in the Security tab and on pull requests.

The script validates the scoring before it writes anything, and refuses when the numbers do not add up:

render-formats: audit.json failed validation (2 problems):
  - SEO-007: deduction -3 does not match the ladder
  - seo score is 71 but its findings sum to -40, giving 60

Nothing was written.

The live check

The source audit predicts how answer engines will treat the site. live <domain> checks what they do today, where the host provides tools that return ChatGPT or Perplexity answers or Google AI Overviews. You agree on three to five customer questions; the skill records whether your domain is cited, who else is, and ties each gap to the audit finding that would close it. The results are reported as evidence and are not scored.

What it will not do

  • Edit anything without fix, and then only one confirmed edit at a time.
  • Audit the live site. Rendering, performance and Core Web Vitals belong to Lighthouse. Only live reaches the network, and only through tools the host provides.
  • Change policy files. robots.txt, noai directives and llms.txt record decisions that belong to the site’s owners. It reports on them.
  • Run away on a large repo. Deep audits stop at about 500 files and ask before continuing.