Skip to content

Format Comparison

SKU.md vs llms.txt, AGENTS.md, and robots.txt for online stores

Online stores increasingly publish Markdown and plain-text entry files at their domain root. Each file has a distinct job: crawler access rules, curated documentation lists, agent instructions, or a validated catalog entry point with source-backed product facts.

Updated

What each root file does

SKU.md v1.0.0 is an experimental community proposal, not an official standard. Through /sku.md, merchants publish a catalog entry point and optional product knowledge documents whose direct readers are agents, search-engine crawlers, and other automated readers built for the format. Shoppers benefit only indirectly through tools that read these files.

Publishing /sku.md, /llms.txt, /agents.md, or robots.txt does not promise default adoption, search indexing, AI citation, higher rankings, or increased sales. Each file stays useful only when kept within the scope its syntax can verify.

  • robots.txt expresses crawler access preferences and announces XML sitemap locations per origin; it does not describe products or store catalogs.
  • llms.txt (/llms.txt) curates a Markdown list of selected site pages and documentation links under an H1 and blockquote summary; it has no ecommerce attribute schema or per-fact source contract.
  • AGENTS.md (/agents.md) provides plain Markdown operating instructions for coding or browsing agents, such as workflow steps or reminders to check live endpoints; it is not a catalog file.
  • SKU.md (/sku.md) defines a normative v1.0.0 Markdown catalog entry point (Website and Catalog links) plus optional Product knowledge links where every normative product fact ends with an absolute HTTPS [Source](...) link.

Scope and validation comparison

Treat these four files as complementary root surfaces rather than competing replacements. The table below summarizes what each format governs under current v1.0.0 rules.

Comparison of SKU.md 1.0.0, llms.txt, AGENTS.md, and robots.txt
DimensionSKU.md (/sku.md)llms.txt (/llms.txt)AGENTS.md (/agents.md)robots.txt (/robots.txt)
Primary purposeStore catalog entry point and optional source-backed product knowledgeCurated Markdown index of key site pages and guidesPlain-language instructions for automated agentsCrawler access preferences and XML sitemap discovery
Normative format rulesFixed v1.0.0 preamble, H2 order, inline HTTPS links, 65,536-byte file cap, 8,192-byte line cap, no raw HTMLLightweight H1, summary blockquote, and H2 link lists; no ecommerce schemaFree-form Markdown headings and guidance paragraphsLine-based directives (User-agent, Allow, Disallow, Sitemap)
Source citation ruleMandatory untitled inline [Source](https://...) links on normative product statementsOptional link notes; no per-fact citation enforcementNot definedNot applicable
Discovery fallbackExact HTTP 404 on /sku.md permits one unambiguous homepage link rel=alternate type=text/markdown title=SKU.mdFixed /llms.txt root conventionRepository root or origin /agents.md conventionFixed /robots.txt per origin
Live commerce stateExcluded by spec; price, inventory, shipping, tax, and checkout stay on live systemsExcluded; points to readable pages onlyCan instruct agents where to verify live store endpointsNot applicable
Validation scopedocument (syntax/limits), published (HTTP 200, text/markdown or text/plain, UTF-8), graph (same-origin links and sources)Readable Markdown check onlyHuman and agent reviewDirective parser syntax check

When a store should publish each file

Start with the smallest set of files your storefront can accurately maintain. You do not need to duplicate product catalogs across multiple Markdown files.

  • Publish robots.txt on every storefront origin to state crawl preferences and list your XML sitemaps.
  • Publish /llms.txt when your store maintains helpful long-form pages such as sizing guides, care instructions, shipping policies, or developer docs that deserve a curated index.
  • Publish /agents.md when you control the route and want to give automated agents concise rules about where stable documentation lives and where live prices or checkout must be checked.
  • Publish /sku.md when you want an explicit, validated Markdown entry point to your catalog collections and optional source-cited product documents.

Referencing /sku.md in AGENTS.md and HTML alternate links

In /agents.md, include a short instruction block naming the catalog URL and explicitly reminding automated readers not to treat static Markdown as live inventory or pricing authority.

For normative SKU.md v1.0.0 discovery, the root /sku.md URL remains primary. Under v1.0.0 rules, a consumer may check the same-origin homepage HTML for one unambiguous <link rel="alternate" type="text/markdown" title="SKU.md" href="/catalog.md"> only after an exact HTTP 404 on /sku.md. A network timeout, HTTP 5xx, or invalid Markdown at /sku.md does not trigger fallback discovery, and the alternate URL must resolve to credential-free same-origin HTTPS without query strings or fragments.

If your catalog links to a Product knowledge Sitemap XML file from ## Product knowledge, you can also list that sitemap URL in robots.txt next to your storefront's standard sitemap.xml.

Example /agents.md instruction block and homepage alternate fallback

<!-- Inside /agents.md -->## Product knowledge SKU.md catalog: [https://www.example-outdoor.com/sku.md](https://www.example-outdoor.com/sku.md) Use the catalog and its linked product knowledge documents for stable facts backed by Source URLs. Always confirm current price, stock, shipping, tax, and checkout on the live product page. <!-- Optional homepage fallback (used only if /sku.md returns exact HTTP 404) --><link rel="alternate" type="text/markdown" title="SKU.md" href="/catalog.md">

Keep instructions explicit about live verification, and use homepage alternate markup only when /sku.md cannot be served at root.

Discovery boundaries and live commerce separation

A link inside llms.txt or AGENTS.md is a discovery hint, not proof that /sku.md passes validation or contains accurate claims. Every SKU.md file still has to satisfy document rules, live HTTP rules (HTTP 200 with UTF-8 text/markdown or text/plain and no soft-404 HTML fallback), and same-origin graph rules.

Neither llms.txt, AGENTS.md, nor SKU.md replaces live commerce APIs, cart endpoints, or checkout flows. Static Markdown describes stable specifications, guidance, compatibility, and limitations; live systems remain the sole authority for prices, inventory counts, shipping quotes, taxes, and orders.

  1. Draft and check your /sku.md Markdown locally against SKU.md 1.0.0 document rules.
  2. Deploy /sku.md at your store origin with HTTP 200 and Content-Type: text/markdown; charset=utf-8 (or text/plain; charset=utf-8).
  3. Verify the live URL with the Quick Start published-resource checker before adding links in llms.txt or AGENTS.md.
  4. Re-run live checks after theme deployments, CDN cache updates, or storefront migrations.