About seo-ai-discovery
seo-ai-discovery is a website-audit skill for checking files and endpoints used in AI and agent discovery. It validates discovery signals but explicitly treats their search impact as uncertain and assigns them no scoring weight.
Key features
- 01Check llms.txt structure and links
- 02Inspect agents.md presence
- 03Validate UCP and AI catalog data
- 04Check agentic sitemap links
- 05Generate discovery-file fixes on request
Use cases
- 01Audit a site’s AI discovery files
- 02Review whether discovery URLs are accessible
- 03Draft llms.txt from site structure
- 04Verify discovery findings before reporting
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ hainrixz/ claude-seo-ai --skill seo-ai-discoveryAfter installing, type/seo-ai-discoveryin Claude Code to confirm it loaded.
Details
From the project READMEseo-ai-discovery (M21 — AI discovery & agent endpoints)
Discovery files tell agents and coding assistants where to look; none of them is a documented answer-engine ranking or citation signal, so every M21 finding is speculative or directional and the module's weight is 0. Robots/UA posture lives in seo-ai-crawlers (M14); agentic-commerce readiness (UCP + catalog feeds on stores) lives in seo-ecommerce (M18).
Inputs
Work from the PageSnapshot named in your dispatch envelope: <run_dir>/site/discovery.json holds the probe results (status, content-type, bytes, raw bodies ≤256 KB) for /llms.txt, /llms-full.txt, /agents.md, /.well-known/ucp, /.well-known/ai-catalog.json, /sitemap_agentic_discovery.xml, /api/ucp/mcp; <run_dir>/site/robots.json holds the per-bot verdicts for the robots cross-check; vertical in the envelope decides UCP ownership. Deterministic findings already emitted by audit.mjs are listed in <run_dir>/findings.deterministic.json — do not re-emit those ids; add model-judged findings only. If invoked directly with a URL/path and no snapshot exists, first run node "${CLAUDE_PLUGIN_ROOT}/scripts/snapshot.mjs" <target> --out "${CLAUDE_PLUGIN_DATA}/runs" and use the printed snapshot path.
Audits
- llms.txt — present (200, text); llmstxt.org structure: one H1 title, optional summary blockquote, H2 sections of
- [title](url): notelinks; linked URLs resolve (--deep, ≤25 checked); the file is not disallowed in robots to the AI bots that would read it./llms-full.txtis reported present/absent only. - agents.md — present/absent; note when it is a platform default (Shopify ships one) — informational.
- UCP profile (
/.well-known/ucp) — only whenecommerceis not active (M18 owns it otherwise): public (200, no auth), JSON,ucp.versionasYYYY-MM-DD,services/capabilitiesobjects keyed by reverse-DNS names → arrays of{version, spec, transport?, endpoint?, schema}. Note a declareddev.shopify.catalogentry — it says the platform exposes a catalog service, which is a platform default, not a merchant decision. - ARD catalog (
/.well-known/ai-catalog.json) — present and parseable JSON. Report-only: v0.9 draft (2026-05-28), near-zero adoption. - Agentic sitemap (
/sitemap_agentic_discovery.xml) — present, well-formed XML, sampled<loc>entries resolve.
Fixes
- AUTO (
fixable: auto), disclosure-gated and scored 0: generate or repairllms.txt/llms-full.txtfrom the site's own structure (sitemap URLs + parsed titles) only on explicit request (fix --category ai-discovery, aliasllms), shown as a diff before writing, always with the disclosure that impact is low/uncertain. - ADVISORY (
fixable: advisory): UCP/ARD/agentic-sitemap adoption, and unblocking a disallowed discovery file (the robots write belongs to M14). The tool never authors a merchant profile — platforms generate those. - Never fabricate link targets, descriptions, endpoints, or versions — ask the user or leave a clearly-marked
TODOplaceholder.
Verification
node "${CLAUDE_PLUGIN_ROOT}/scripts/ai-discovery.mjs" --snapshot <pages/<slug>.json> [--deep]— re-readssite/discovery.json, validates llms.txt structure (dom_assert), UCP/ARD JSON shape (schema_validator), agentic-sitemap XML (xml_parse), and the robots cross-check (robots_parse).- When the discovery probes did not run (no network, local path), status is
needs_api— never a falsepass.
Findings
Conform to schema/finding.schema.json; axis ai; severity ≤2; confidence speculative unless noted. Severity policy: 5 is reserved for catastrophic, eligibility-killing facts at site/template scope; 4 major · 3 moderate · 2 minor · 1 cosmetic · 0 informational — and only an established severity-5 fail in an active category can cap a score (references/scoring-model.md). M21's category weight is 0, so nothing here can move or cap either score whatever its severity. evidence.observed quotes the file/probe line verbatim; verification.reproduce is the command above; expected_impact is banded (no naked %). Ids:
M21.llmstxt.missing(warn 1,fixable: auto) ·M21.llmstxt.malformed(warn 1,fixable: auto) ·M21.llmstxt.broken_links(warn 2,fixable: proposed,directional) ·M21.llmstxt.blocked_for_ai_bots(warn 2,fixable: advisory,directional— file exists but robots disallows it to the bots meant to read it).M21.agents_md.present(pass 1) ·M21.agents_md.missing(warn 1,fixable: advisory).M21.ucp.present_valid(pass 2) ·M21.ucp.invalid(warn 2,fixable: advisory) ·M21.ucp.not_public(warn 2,fixable: advisory) — only when ecommerce is inactive; otherwisenot_applicablenaming M18 as owner.M21.ai_catalog.present(pass 1) ·M21.ai_catalog.invalid_json(warn 1,fixable: advisory).M21.agentic_sitemap.present(pass 1) ·M21.agentic_sitemap.broken_locs(warn 2,fixable: proposed,directional).
Honesty
- Google Search ignores llms.txt — Google's statement (2026-06-15 — TO-VERIFY the exact date; it appears in Optimizing your website for generative AI features, updated 2026-07-10, and AI features and your website says "no … AI text files"). Never present llms.txt as an AI Overviews / AI Mode lever.
- Vendor support is partial (Anthropic and Perplexity read it in retrieval; OpenAI uncommitted); adoption is ~10% and, per Ahrefs (May 2026), 97% of llms.txt files received zero bot requests. Quote that figure only in
rationalewith the citation — never inexpected_impact. - UCP, ARD, and the agentic sitemap concern agent commerce and resource discovery, not answer-engine citation. Report them; nothing here moves the AI Visibility score.
- Shopify stores ship all of these by default (May 2026) — their presence on a Shopify store is a platform default, not a merchant merit signal.