# seogeo: how to audit a website for SEO and GEO

Version: 0.2.0

This file is the methodology of the seogeo service and the single source of its rules. The
`seogeo` program reads the check ids, weights and thresholds below from this file; nothing
is duplicated in code. Any assistant (Claude, ChatGPT, Codex, …) can run the same audit by
following it, with or without the program.

GEO = generative engine optimisation: making a site easy for AI assistants and AI search
(ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews) to crawl, understand, quote and
recommend.

## Who does what: three layers

1. **Code (deterministic, fast, reproducible).** Everything that has an exact answer:
   HTTP status, redirects, robots.txt, sitemap, canonical, hreflang, titles, JSON-LD
   validity, links, word counts, whether a domain or brand name appears in an AI answer
   and which domains that answer links. All checks in this file are code.
2. **Classifier (non-generative, typed labels), optional.** Only for fuzzy judgements code
   cannot make: is our site *recommended*, *merely listed* or *advised against* in an AI
   answer; sentiment; query intent; does a page actually answer a question. Behind a
   `Classifier` interface; the default implementation is a local model, a hosted one is
   pluggable. Every label is stored with its input so it can be re-run.
3. **LLM (generative), only two jobs.** (a) Writing optimisation proposals from check
   results: a better title, description, FAQ answer, llms.txt text for a given page.
   (b) Asking AI engines the visibility questions. Run through the CLIs the owner already
   pays for (`claude -p`, `codex exec`). Nothing else goes through an LLM: no checking, no
   scoring, no classification.

Raw inputs and outputs (pages, AI answers, labels) are stored, so every result can be
reproduced.

## How to run an audit

1. Fetch `/robots.txt`, the sitemap(s) it lists (or `/sitemap.xml`), and `/llms.txt`.
2. Crawl breadth-first from `/` and every sitemap URL. Stay on the host, obey robots.txt
   for `*`, follow redirects by hand and record every hop, fetch canonical and hreflang
   targets too. Use at most 4 parallel requests.
3. For each HTML page record: status, redirect chain, headers, response time, `<html lang>`,
   `<title>`, meta description and robots, canonical, hreflang links, headings, links,
   images, JSON-LD, Open Graph tags, visible main text (`<main>`, else the body without
   nav/header/footer).
4. Fetch site-level extras: `http://`, `www.` variants of the home page; a random missing
   URL (soft-404 probe); the home page with each AI bot's User-Agent; every og:image;
   every link in llms.txt.
5. Optionally run PageSpeed Insights (mobile) for the home page and the first sitemap URLs.
6. Run every check below. "Indexable" = 200 HTML, not redirected, no `noindex`, canonical
   absent or pointing to itself. "Content page" = indexable, not a home page (`/`, `/en/`),
   not a section index (path ending in `/`, e.g. `/de/ratgeber/`), not matched by the
   check's `exclude` pattern (legal pages).
7. Group findings by check into tasks and rank them (next section).
8. Report (section "Report format").

With the program: `seogeo audit https://example.com` (full audit), `seogeo check-page -only
<id> <url>` (re-check one page after a fix), `seogeo checks` (list).

## Prioritising

Each check has `impact` 1–5 (5 = pages cannot be found or used at all) and `effort` 1–3
(1 = one template or config change, 2 = per-page content work, 3 = infrastructure or a new
feature).

    priority = impact × (1 + log2(affected URLs)) / effort

A template bug on 40 pages outranks a single-page content gap. Fix in priority order; a
task is done when its **Verify** condition holds.

## Report format

One task per check, ranked by priority. Each task is self-contained so it can be handed to a
developer or a coding agent: title, check id, priority, impact, effort, number of URLs, link
to the rule here, **Why**, **Fix**, the findings (URL — what is wrong), **Done when**
(the Verify line) and the command that re-checks it. Do not write comparison pages or copy
about competitors; the report is about our own site.

## Checks

Each check below has a machine-readable line the program reads. `params` are the thresholds.

### Site

<a id="check-site-robots-txt"></a>
### site.robots-txt — robots.txt is served and points to the sitemap
<!-- check {"id":"site.robots-txt","scope":"site","impact":4,"effort":1,"params":{}} -->

**Why:** Crawlers read robots.txt first; a missing file, a wrong type or a blocked home page cuts discovery.
**Fix:** Serve `/robots.txt` as `text/plain` with 200, add `Sitemap: https://<host>/sitemap.xml`, do not disallow `/`.
**Verify:** `/robots.txt` returns 200 text/plain, has a Sitemap line, and Googlebot may fetch `/`.

<a id="check-site-sitemap"></a>
### site.sitemap — Sitemap lists only live, canonical URLs
<!-- check {"id":"site.sitemap","scope":"site","impact":4,"effort":1,"params":{}} -->

**Why:** Every sitemap URL that redirects, errors, is blocked or canonicalises elsewhere wastes crawl budget and signals a sloppy site.
**Fix:** Generate the sitemap from the same route table as the pages; list only the final, self-canonical, 200 URLs on this host.
**Verify:** Every `<loc>` answers 200 without a redirect, is allowed in robots.txt and has a canonical equal to itself.

<a id="check-site-sitemap-lastmod"></a>
### site.sitemap-lastmod — Sitemap entries carry lastmod
<!-- check {"id":"site.sitemap-lastmod","scope":"site","impact":2,"effort":1,"params":{}} -->

**Why:** Search engines and AI crawlers use `<lastmod>` to decide what to re-fetch; it is also a freshness signal.
**Fix:** Emit `<lastmod>` (W3C date, e.g. 2026-11-30) for every URL, set to the date the page content really changed.
**Verify:** Every `<url>` has a valid `<lastmod>`.

<a id="check-site-sitemap-coverage"></a>
### site.sitemap-coverage — Every indexable page is in the sitemap
<!-- check {"id":"site.sitemap-coverage","scope":"site","impact":3,"effort":1,"params":{}} -->

**Why:** Pages only reachable by links get discovered late or not at all.
**Fix:** Add the listed pages to the sitemap, or make them noindex / canonicalise them if they should not rank.
**Verify:** Every indexable crawled page appears in the sitemap.

<a id="check-site-host-redirects"></a>
### site.host-redirects — One permanent hop to the canonical host
<!-- check {"id":"site.host-redirects","scope":"site","impact":2,"effort":1,"params":{"max_hops":1}} -->

**Why:** `http://`, `www.` and the bare host should all land on one https origin with a single 301/308, or link equity and crawl time leak.
**Fix:** Redirect every variant directly (one hop, 301 or 308) to `https://<host>/`; make sure `www.` resolves.
**Verify:** `http://host/`, `http://www.host/`, `https://www.host/` each reach `https://host/` in at most `max_hops` permanent redirects.

<a id="check-site-soft-404"></a>
### site.soft-404 — Missing pages answer 404
<!-- check {"id":"site.soft-404","scope":"site","impact":3,"effort":1,"params":{}} -->

**Why:** A missing URL that answers 200 (or redirects home) is a soft 404: engines index junk URLs and distrust status codes.
**Fix:** Return 404 (or 410) with a helpful page for unknown paths, including in the SPA fallback.
**Verify:** A random path such as `/seogeo-probe-123-missing` answers 404.

### Pages: technical SEO

<a id="check-page-status"></a>
### page.status — Linked and listed URLs load
<!-- check {"id":"page.status","scope":"page","impact":5,"effort":1,"params":{}} -->

**Why:** A 4xx/5xx page cannot rank or be quoted, and every link to it is wasted.
**Fix:** Restore the page, or redirect it (301) to the best replacement and update the links.
**Verify:** The URL answers 200 (or is no longer linked or listed).

<a id="check-page-links-broken"></a>
### page.links-broken — No internal links to errors
<!-- check {"id":"page.links-broken","scope":"page","impact":4,"effort":1,"params":{}} -->

**Why:** Broken internal links break user journeys and stop crawlers.
**Fix:** Point the link at a live URL or remove it.
**Verify:** No internal link on the page leads to a 4xx/5xx.

<a id="check-page-links-redirect"></a>
### page.links-redirect — Internal links point at final URLs
<!-- check {"id":"page.links-redirect","scope":"page","impact":2,"effort":1,"params":{}} -->

**Why:** Each redirect hop costs a request and dilutes signals; internal links are fully under our control.
**Fix:** Change the href to the final URL (same scheme, host, language prefix and trailing slash as the target).
**Verify:** No internal link on the page answers with a redirect.

<a id="check-page-title"></a>
### page.title — One title of useful length
<!-- check {"id":"page.title","scope":"page","impact":3,"effort":1,"params":{"min_chars":30,"max_chars":70,"exclude":"(?i)/(impressum|imprint|datenschutz|privacy|agb|terms|widerruf[a-z]*|withdraw[a-z]*|legal|kontakt|contact)(/|$)"}} -->

**Why:** The title is the main ranking and click signal and the label AI answers use for a link.
**Fix:** One `<title>` per page, `min_chars`–`max_chars` characters, main query first, brand last.
**Verify:** Exactly one non-empty `<title>`; on pages not matched by `exclude` (legal pages) within the length range.

<a id="check-page-title-duplicate"></a>
### page.title-duplicate — Titles are unique
<!-- check {"id":"page.title-duplicate","scope":"page","impact":3,"effort":1,"params":{}} -->

**Why:** Identical titles make pages compete and hide what each page is for.
**Fix:** Give each page a title that names its own topic.
**Verify:** No other indexable page has the same title.

<a id="check-page-description"></a>
### page.description — One meta description of useful length
<!-- check {"id":"page.description","scope":"page","impact":2,"effort":1,"params":{"min_chars":70,"max_chars":160,"exclude":"(?i)/(impressum|imprint|datenschutz|privacy|agb|terms|widerruf[a-z]*|withdraw[a-z]*|legal|kontakt|contact)(/|$)"}} -->

**Why:** The description is the snippet in search results and a summary AI crawlers read.
**Fix:** One `<meta name="description">`, `min_chars`–`max_chars` characters, stating what the page offers and for whom.
**Verify:** Exactly one non-empty description; on pages not matched by `exclude` within the length range.

<a id="check-page-description-duplicate"></a>
### page.description-duplicate — Descriptions are unique
<!-- check {"id":"page.description-duplicate","scope":"page","impact":2,"effort":1,"params":{}} -->

**Why:** Copied descriptions get replaced by search engines and blur page intent.
**Fix:** Write a description per page.
**Verify:** No other indexable page has the same description.

<a id="check-page-h1"></a>
### page.h1 — Exactly one H1
<!-- check {"id":"page.h1","scope":"page","impact":2,"effort":1,"params":{}} -->

**Why:** The H1 states the page topic for readers, crawlers and AI extractors.
**Fix:** One non-empty `<h1>` with the page topic; demote other H1s to H2.
**Verify:** The page has exactly one non-empty `<h1>`.

<a id="check-page-heading-order"></a>
### page.heading-order — Headings do not skip levels
<!-- check {"id":"page.heading-order","scope":"page","impact":1,"effort":1,"params":{}} -->

**Why:** A clean outline (H1 → H2 → H3) lets machines split a page into answerable sections.
**Fix:** Use the next level down (H2 under H1, H3 under H2); style with CSS, not heading levels.
**Verify:** No heading is more than one level deeper than the one before it.

<a id="check-page-canonical"></a>
### page.canonical — One valid canonical
<!-- check {"id":"page.canonical","scope":"page","impact":4,"effort":1,"params":{}} -->

**Why:** The canonical tells engines which URL to index; a missing, multiple or broken one splits or loses the page.
**Fix:** One absolute `<link rel="canonical">` to the page's own final URL (or to a live, indexable duplicate master).
**Verify:** Exactly one canonical; it is the page itself or a 200, non-redirecting, indexable URL on this host.

<a id="check-page-hreflang"></a>
### page.hreflang — Language versions link each other
<!-- check {"id":"page.hreflang","scope":"page","impact":4,"effort":1,"params":{}} -->

**Why:** Without reciprocal hreflang, engines show the wrong language or ignore the annotations.
**Fix:** Each language version lists every version including itself plus `x-default`; every target is indexable and lists this page back; valid codes (`de`, `en`, `en-GB`).
**Verify:** The page's hreflang set contains itself and x-default, all targets are indexable and link back.

<a id="check-page-html-lang"></a>
### page.html-lang — html lang matches the content language
<!-- check {"id":"page.html-lang","scope":"page","impact":2,"effort":1,"params":{}} -->

**Why:** Screen readers, translators and language detection in engines rely on `<html lang>`.
**Fix:** Set `<html lang>` to the page's language, the same as its own hreflang entry.
**Verify:** `<html lang>` exists and its primary language equals the page's self hreflang.

<a id="check-page-noindex-in-sitemap"></a>
### page.noindex-in-sitemap — No noindex pages in the sitemap
<!-- check {"id":"page.noindex-in-sitemap","scope":"page","impact":5,"effort":1,"params":{}} -->

**Why:** Listing a page and forbidding its indexing at once is a contradiction; usually the noindex is a bug.
**Fix:** Remove the noindex (meta robots or X-Robots-Tag) if the page should rank, otherwise drop it from the sitemap.
**Verify:** No sitemap URL is noindex.

<a id="check-page-structured-data"></a>
### page.structured-data — JSON-LD is valid and complete
<!-- check {"id":"page.structured-data","scope":"page","impact":3,"effort":1,"params":{}} -->

**Why:** Structured data is how engines and AI systems read facts (organisation, FAQ, breadcrumbs, articles) without guessing; broken or incomplete markup is ignored.
**Fix:** Valid JSON with `@context: https://schema.org`; required properties per type (Organization: name, url; FAQPage: questions with acceptedAnswer.text; BreadcrumbList: position, name; Article: headline, author.name (dates: see geo.article-schema); SoftwareApplication: name, offers); FAQ questions must also be visible on the page.
**Verify:** Every JSON-LD block parses, has a schema.org context and its types carry the required properties; every FAQ question appears in the page text.

<a id="check-page-open-graph"></a>
### page.open-graph — Share cards are complete
<!-- check {"id":"page.open-graph","scope":"page","impact":2,"effort":1,"params":{"required":["og:title","og:description","og:image","og:url","og:type","twitter:card"]}} -->

**Why:** Links shared in chats and social apps are a main traffic source for consumer sites; AI tools also read OG tags.
**Fix:** Set all `required` tags; `og:url` equals the page URL; `og:image` is an absolute URL that loads as an image (1200×630).
**Verify:** All required tags present, og:url matches, og:image answers 200 with an image type.

<a id="check-page-img-alt"></a>
### page.img-alt — Images have alt attributes
<!-- check {"id":"page.img-alt","scope":"page","impact":2,"effort":1,"params":{}} -->

**Why:** Alt text is the only content of an image that crawlers, AI and screen readers get.
**Fix:** Add `alt` to every `<img>`: a description for content images, `alt=""` for decorative ones.
**Verify:** No `<img>` without an alt attribute.

<a id="check-page-html-weight"></a>
### page.html-weight — HTML is light
<!-- check {"id":"page.html-weight","scope":"page","impact":2,"effort":2,"params":{"max_kb":150}} -->

**Why:** Heavy HTML slows the first render and gets truncated by some AI fetchers.
**Fix:** Move inline data and SVG sprites out of the HTML, drop unused markup; keep uncompressed HTML under `max_kb`.
**Verify:** Uncompressed HTML is at most `max_kb` KB.

<a id="check-page-response-time"></a>
### page.response-time — HTML answers fast
<!-- check {"id":"page.response-time","scope":"page","impact":2,"effort":2,"params":{"max_ms":800}} -->

**Why:** Slow server responses delay everything else and AI fetchers time out quickly.
**Fix:** Cache rendered pages at the edge, speed up the slow route.
**Verify:** The HTML (final hop, from Europe) arrives within `max_ms` ms.

<a id="check-page-thin-content"></a>
### page.thin-content — Content pages have substance
<!-- check {"id":"page.thin-content","scope":"page","impact":2,"effort":2,"params":{"min_words":250,"exclude":"(?i)/(impressum|imprint|datenschutz|privacy|agb|terms|widerruf[a-z]*|withdraw[a-z]*|legal|kontakt|contact)(/|$)"}} -->

**Why:** Pages with little text rarely rank or get quoted; they give an AI nothing to cite.
**Fix:** Add useful content: steps, examples, limits, a short FAQ. Or merge the page into a stronger one.
**Verify:** Main text has at least `min_words` words.

<a id="check-page-duplicate-content"></a>
### page.duplicate-content — No identical pages
<!-- check {"id":"page.duplicate-content","scope":"page","impact":3,"effort":1,"params":{"min_words":50}} -->

**Why:** Identical main text on several URLs splits signals; engines pick one at random.
**Fix:** Merge the pages, or canonicalise duplicates to the master, or make each page distinct.
**Verify:** No other indexable page has the same main text.

<a id="check-perf-core-web-vitals"></a>
### perf.core-web-vitals — Mobile Core Web Vitals pass
<!-- check {"id":"perf.core-web-vitals","scope":"site","impact":3,"effort":2,"params":{"lcp_ms":2500,"inp_ms":200,"cls":0.1,"tbt_ms":200,"min_score":0.9}} -->

**Why:** Core Web Vitals are a Google ranking signal and a proxy for how usable the site is on phones.
**Fix:** Start from the PageSpeed Insights diagnostics: preload the LCP image or font, cut render-blocking CSS/JS, reserve space for late content.
**Verify:** PageSpeed Insights, mobile and desktop: CrUX field p75 (URL-level, or origin-level on mobile) LCP ≤ `lcp_ms`, INP ≤ `inp_ms`, CLS ≤ `cls`; lab LCP, CLS and TBT ≤ `tbt_ms` within the same limits; score ≥ `min_score`.

<a id="check-perf-opportunities"></a>
### perf.opportunities — No large Lighthouse savings left
<!-- check {"id":"perf.opportunities","scope":"site","impact":2,"effort":2,"params":{"min_savings_ms":150,"min_savings_kb":50}} -->

**Why:** Lighthouse names the concrete causes behind slow metrics (render-blocking CSS, unused JS, unoptimised images, LCP request discovery); these are the fix list for perf.core-web-vitals.
**Fix:** Work through the listed audits per page, largest saving first; fix shared causes (CSS/JS bundles, fonts) once in the template.
**Verify:** No failed Lighthouse audit on the measured pages saves at least `min_savings_ms` ms or `min_savings_kb` KB.

### GEO: AI search and assistants

<a id="check-geo-llms-txt"></a>
### geo.llms-txt — llms.txt guides AI assistants
<!-- check {"id":"geo.llms-txt","scope":"site","impact":3,"effort":1,"params":{"max_kb":50,"min_links":5}} -->

**Why:** `/llms.txt` gives assistants a short, curated map of the site and when to recommend it.
**Fix:** Serve `/llms.txt` (text/plain or text/markdown): `# Name`, a `> ` one-paragraph summary, sections of `[title](url): note` links to the key pages; all links live.
**Verify:** 200, starts with an H1, has a `> ` summary, at least `min_links` links, at most `max_kb` KB, every internal link answers 200 without a redirect.

<a id="check-geo-ai-search-bots"></a>
### geo.ai-search-bots — AI search and user agents may crawl
<!-- check {"id":"geo.ai-search-bots","scope":"site","impact":5,"effort":1,"params":{"search_bots":["OAI-SearchBot","ChatGPT-User","Claude-SearchBot","Claude-User","PerplexityBot","Perplexity-User","Googlebot","Bingbot","Applebot"]}} -->

**Why:** These bots fetch pages to answer users live; if robots.txt blocks them, the site cannot be cited in ChatGPT, Claude, Perplexity, Google or Apple answers.
**Fix:** Allow every bot in `search_bots` on all indexable pages (a `User-agent: *` allow-list covers them unless a specific group overrides it).
**Verify:** robots.txt allows each bot in `search_bots` on every indexable page.

<a id="check-geo-ai-training-bots"></a>
### geo.ai-training-bots — Decide on AI training crawlers
<!-- check {"id":"geo.ai-training-bots","scope":"site","impact":2,"effort":1,"params":{"training_bots":["GPTBot","ClaudeBot","Google-Extended","Applebot-Extended","CCBot","meta-externalagent"]}} -->

**Why:** Training crawlers decide whether future models know the brand; blocking them is a valid owner decision, but it should be deliberate.
**Fix:** Owner decision. For visibility, allow the bots in `training_bots` on public marketing pages; keep private areas disallowed.
**Verify:** Each bot in `training_bots` is allowed on indexable pages, or the block is documented as intended.

<a id="check-geo-bot-blocking"></a>
### geo.bot-blocking — CDN/WAF does not block AI bots
<!-- check {"id":"geo.bot-blocking","scope":"site","impact":4,"effort":1,"params":{}} -->

**Why:** A CDN "block AI bots" setting or a WAF rule overrides robots.txt and silently removes the site from AI answers.
**Fix:** In the CDN (e.g. Cloudflare → Security → Bots / AI Crawl Control) allow the search and user bots. Note: a test from a non-bot IP with a bot User-Agent can be blocked as a fake bot, so confirm in the CDN's logs before changing rules.
**Verify:** The home page answers 200 to each bot User-Agent (and the CDN shows verified bots as allowed).

<a id="check-geo-entity"></a>
### geo.entity — The organisation is described once, consistently
<!-- check {"id":"geo.entity","scope":"site","impact":3,"effort":1,"params":{"org_props":["name","url","logo","sameAs"]}} -->

**Why:** AI systems tie mentions to an entity; a complete Organization with `sameAs` links (social, registry, app stores) and one consistent brand name makes the site recognisable.
**Fix:** On every home page add Organization JSON-LD with `org_props` and WebSite JSON-LD; use the same organisation name and og:site_name everywhere.
**Verify:** Home pages carry Organization (with all `org_props`) and WebSite; one organisation name and one og:site_name across the site.

<a id="check-geo-answer-first"></a>
### geo.answer-first — The page answers first
<!-- check {"id":"geo.answer-first","scope":"page","impact":2,"effort":2,"params":{"min_words":12,"max_words":90,"exclude":"(?i)/(impressum|imprint|datenschutz|privacy|agb|terms|widerruf[a-z]*|withdraw[a-z]*|legal|kontakt|contact)(/|$)"}} -->

**Why:** AI answers quote the first clear statement under the heading; a direct 1–3 sentence answer gets cited, a long intro does not.
**Fix:** Right after the H1, one paragraph of `min_words`–`max_words` words that answers the page's main question (what it is, for whom, the key fact).
**Verify:** The first paragraph after the H1 has `min_words`–`max_words` words.

<a id="check-geo-question-headings"></a>
### geo.question-headings — Pages answer the questions people ask
<!-- check {"id":"geo.question-headings","scope":"page","impact":3,"effort":2,"params":{"min_questions":2,"exclude":"(?i)/(impressum|imprint|datenschutz|privacy|agb|terms|widerruf[a-z]*|withdraw[a-z]*|legal|kontakt|contact)(/|$)"}} -->

**Why:** Question-shaped headings with short answers match how people prompt assistants and how assistants pick passages.
**Fix:** Add at least `min_questions` H2/H3 headings phrased as real user questions, each followed by a direct answer, or an FAQ section with FAQPage JSON-LD.
**Verify:** At least `min_questions` question headings, or FAQPage JSON-LD.

<a id="check-geo-article-schema"></a>
### geo.article-schema — Long guides carry Article markup with author and dates
<!-- check {"id":"geo.article-schema","scope":"page","impact":3,"effort":1,"params":{"min_words":500,"props":["headline","author.name","datePublished","dateModified"],"exclude":"(?i)/(impressum|imprint|datenschutz|privacy|agb|terms|widerruf[a-z]*|withdraw[a-z]*|legal|kontakt|contact)(/|$)"}} -->

**Why:** Author and dates are trust and freshness signals for engines and AI; guides without them look anonymous and undated.
**Fix:** Add Article (or BlogPosting) JSON-LD with `props` to every page with at least `min_words` words (FAQ pages with FAQPage markup are exempt); show author and date visibly too.
**Verify:** Every such page has Article-type JSON-LD with all `props`.

<a id="check-geo-freshness"></a>
### geo.freshness — Content shows when it changed
<!-- check {"id":"geo.freshness","scope":"page","impact":2,"effort":2,"params":{"max_age_days":365,"exclude":"(?i)/(impressum|imprint|datenschutz|privacy|agb|terms|widerruf[a-z]*|withdraw[a-z]*|legal|kontakt|contact)(/|$)"}} -->

**Why:** AI search prefers recent sources; a page without any date, or untouched for a year, loses to fresher ones.
**Fix:** Keep `dateModified` (JSON-LD) or `<lastmod>` (sitemap) accurate; review pages older than `max_age_days` days.
**Verify:** The page has a date, no older than `max_age_days` days.

## AI visibility

Do AI assistants mention and link the site when people ask the questions the site answers?

**Questions.** A fixed file per site (`questions/<host>.json`): 20–40 questions as people
would type them, German and English, grouped by topic, without the brand name. A few
*branded* questions ("What is <brand> and what does it cost?") are kept apart: they always
mention the site, so they are read for facts, not counted in the rates.

**Asking.** Each question goes k = 3 times to each engine through the owner's CLIs with web
search: `codex --search exec` (read-only sandbox, empty working directory) and `claude -p`
(only the WebSearch and WebFetch tools, no user settings, MCP servers or CLAUDE.md). Results
are labelled **CLI-grounded**: the CLIs are not the consumer apps, so treat the numbers as a
signal and compare runs, not engines. Weekly is enough; keep the volume small to stay inside
subscription limits. Every raw answer is stored.

**Detection (code).** An answer *mentions* the site when it contains an own domain
(subdomains included, with or without a URL) or a brand name as a whole word; it *links*
the site when a URL points at an own domain. Every linked domain is recorded and grouped by
plain rules (own, reference, community/social, video, app store, media/guide, other).

**Reporting.** Rates, not positions: per question and engine "mentioned in m of n answers",
the same summed per engine over the unbranded questions, and arrows against the previous
run. Then the most cited domains, an excerpt around every mention, the branded answers in
full for a fact check against `llms.txt`, and failed asks.

**Not judged yet (classifier layer).** Whether a mention recommends, merely lists or
advises against the site, and whether its facts are right.

**How to improve the rate.** Work from the questions with 0 of n: is there a page that
answers exactly that question (`geo.answer-first`, `geo.question-headings`)? Is it in
`llms.txt` and the sitemap? Do the domains the engines cite for it (guides, lists, forums)
know the site? Re-run after the change is indexed, not the same day.
