Dev.to AI 🤖 Ai 👁 0 📖 3 min read

What AI Crawlers Actually Fetch From a Store, and Why llms.txt Drifts

We wrote an llms.txt because everyone said to. Six weeks later, the file said customers could return items within 7 days, while the returns page, the shipping page, and the product structured data all said 30. Nothing fl

We wrote an llms.txt because everyone said to. Six weeks later, the file said customers could return items within 7 days, while the returns page, the shipping page, and the product structured data all said 30. Nothing flagged it. That is the story worth telling.

The two-part robots.txt decision

The first real decision is not llms.txt, it is robots.txt, and it is not one decision but two:

  • Retrieval bots — the ones that fetch a page because a user asked a question right now (OpenAI's search crawler, Perplexity's, Claude's search bot, and their user-triggered variants). These should be allowed. Being quoted in an answer is the entire point.
  • Training crawlers — the ones building datasets. Blocking these does not stop you appearing in answers; it stops your content becoming training data.

Ours is organised that way: an explicit allow block per retrieval agent, an explicit disallow per training agent, then the sitemap line. The value is not the blocking itself — most training crawlers ignore directives anyway — it is that the intent is documented in a file anyone can read in ten seconds.

What llms.txt is good for

llms.txt is a plain-text summary of the site for a model that is trying to understand it quickly: what the business is, how shipping works, how returns work, what the main sections are, and where the canonical pages live.

Ours has a short description, shipping terms (5–13 working days after dispatch, express courier), a returns paragraph, and a list of category links. That is the whole format. There is no schema, no validator, and no guarantee any model reads it.

That last point matters more than the marketing around the format suggests. llms.txt is a hint, not a contract. Models mostly fetch HTML. The file is useful because it is short, stable, and machine-readable — not because it is authoritative.

Why the file drifts

Here is the mechanism, and it is boring. The returns window lived in four places: a PHP function that generated product meta, the FAQ page, the About page, and llms.txt. The first three were touched when the policy changed to 30 days. The fourth was a hand-written text file that nobody owned, so it kept the old number.

The pattern repeats in every store I have looked at: llms.txt is written once, by hand, during an SEO sprint, and then becomes the least-maintained document on the site — while being the one most likely to be quoted verbatim by an assistant.

The fix is not "write it carefully"

Care is not a control. What worked was treating llms.txt as generated output:

  1. Keep the policy numbers in one place (for us, a single array used by the structured data and the policy pages).
  2. Generate the llms.txt paragraphs from those values, or at minimum add them to the same pre-deploy diff check.
  3. Add a check that fails if any surface — page, postmeta, llms.txt — renders a different number.

Until that exists, the honest description of llms.txt is "a text file that will eventually lie". Ours lied for six weeks and the only reason we found it was a manual audit, not automation.

What actually gets quoted

When an assistant summarises a store, the text it reproduces tends to come from the same places Google uses: the product title, the first paragraph, the FAQ block, the structured data. Our schema carries shipping and return details; that is more likely to be read than a text file, because it is attached to every product page rather than sitting at the root.

So the order of work I would recommend is: structured data first, policy consistency second, llms.txt third. The first two change what a model can quote accurately. The third changes what it can skim.

The uncomfortable part

An llms.txt is a public statement about your business, in a format designed to be read by machines and quoted without context. If it is wrong, the wrong version is the one that travels. Ours promised a 7-day return window we do not offer — a promise a customer could reasonably hold us to, in a file almost no human will ever open.

Check yours against your policy pages today. Then check it again next month, because nothing in your deploy pipeline is watching it. If you want the version we publish, the file is at superwander.shop/llms.txt, and the pages it should agree with are returns and shipping — ours currently disagree on one line, which is exactly the point of this post.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.