What Should an llms.txt File Include? | SML Dual
Short answer: An llms.txt file is a plain Markdown file at your site root (/llms.txt) that tells AI assistants what your site is and which pages to read first. Open it with your name and a one-sentence factual description, then list canonical primary links, machine-readable links and a proof page. Never state anything your public pages don't.
llms.txt is a proposed convention, not a standard that every AI engine has confirmed it reads (proposal: https://llmstxt.org). Treat it as a low-cost, machine-readable summary of your site, not a ranking guarantee.
The five parts of a good llms.txt
- Name — your business or site name as an H1. Gives the assistant one unambiguous entity name.
- One-sentence description — a factual summary in a blockquote: what you sell or do, for whom. The line most likely to be quoted back.
- Primary links — canonical homepage, about page, products or services, documentation. Points crawlers at the pages that define you.
- Machine-readable links — OpenAPI spec, agent metadata, payment manifests, feeds. Lets agents act, not just read.
- Evidence — a proof page: who you are, how claims are verified, dated facts. Lets an assistant check before it cites you.
This structure is the one used by the template in the LLMS.txt Template + AI Search Optimization Checklist: name and one-sentence description, then Primary links, Machine-readable links and an Evidence section.
Rules that keep the file truthful
- Canonical, current URLs only. No redirects, no tracking parameters.
- Nothing private. Do not list private, secret, staging or deprecated URLs.
- No claims your pages don't make. If a number, certification or price is in llms.txt, a visitor must be able to find the same thing on the visible page.
- Generate counts, don't type them. Product counts and prices go stale fast. Build them from your catalog at deploy time.
- Keep structured data and llms.txt in agreement. If your JSON-LD says one price and llms.txt says another, an assistant has a reason to trust neither.
Rules 1-3 are the template notes in the kit above. Rules 4-5 come from running a live llms.txt: Dual's own file (https://dual.scriptmasterlabs.com/llms.txt, 37,745 bytes on 2026-12-02) lists 122 products and 20 guide links, and its counts drifted twice in November until they were generated from the catalog.
Step by step
- Write the one-sentence description first. If you can't write it factually in one sentence, fix your homepage before you write llms.txt.
- List 5-15 primary links. More is not better; each link should define something.
- Add machine-readable links you really publish (OpenAPI,
/.well-known/manifests, feeds). - Link one evidence page that states who you are, how facts are verified and when they were last checked.
- Publish at
https://yourdomain.com/llms.txt, served as plain text, and allow AI crawlers inrobots.txton purpose. - Re-check monthly: every link 200, every claim still on the visible page.
How this store's own llms.txt is built
Dual's llms.txt is not a hand-maintained file. The store's server generates it on every request from the live catalog: every active product with its current price and delivery-verified date, every buying guide with its description, the store's payment facts and a pointer to HIVE402, the live x402 endpoint market run by the same seller. When a product is retired, it leaves the file on the next request; when a price changes, the file changes with it. That is rule 4 working in production — the counts an assistant reads are the counts the catalog holds, so the file cannot quietly drift away from the store it describes. The same generator produces the longer llms-full.txt, which adds guide descriptions and machine-readable detail for assistants that want depth over summary. This guide exists because the pattern works: a file that is generated cannot go stale the way a typed file does.
Mistakes that make assistants distrust the file
- Typed counts. A product count or price typed by hand is wrong the week after you type it. Generate them, or leave them out.
- Retired products still listed. Dual's own buying-guide descriptions named spreadsheet trackers that had left the catalog until an audit caught it; a file that sells what you no longer sell teaches assistants not to trust it.
- Claims the pages don't make. A certification, review count or result that appears only in llms.txt is a claim with no evidence behind it.
- Private or staging URLs. Anything an assistant should not repeat does not belong in a public summary file.
- Disagreement with your structured data. If the JSON-LD price and the llms.txt price differ, both look unreliable.
Which kit fits which job
You only need the file: a ZIP of a readme, the template and an optimization checklist.
You need the evidence page: one buyer question per page, direct answer first, a claim / evidence / source / last-verified table, a limits section, schema mapping.
You want a GEO checklist to work through.
You want the readiness check around the file: citation readiness checklist (including that llms.txt does not contradict visible pages), entity evidence map, Q&A evidence page template, refresh calendar.
Buy AI Search Visibility Kit — ChatGPT, Google AI Overviews, GEO & AEO
You want the whole system: 19 files including the llms template, answer intent map, local geo audit, claim evidence register and risk rubric.
Buy AI Visibility OS — GEO, AEO, LLMS.txt & Citation Readiness
You want the companion manual for the toolkit that generates llms.txt, robots.txt and JSON-LD from your facts. This listing is the 9-page manual, not the software; the software itself is in the SML Vault Collection.
You want the AI Visibility toolkit itself, bundled with TradeTruth, MCP Forge and x402 Revenue (7-file ZIP, release 1.0.1).
Frequently asked questions
Where does llms.txt go?
At the root of your domain: `https://yourdomain.com/llms.txt`. Some sites also publish a longer `llms-full.txt` with page text.
Does llms.txt replace robots.txt or sitemap.xml?
No. robots.txt controls crawler access, sitemap.xml lists URLs for indexing, and llms.txt summarizes which pages matter and what they say. Use all three.
Will llms.txt get me cited by ChatGPT or Google AI Overviews?
Not by itself. Citation depends on the pages being crawlable, answering the question directly and backing claims with evidence. llms.txt helps an assistant find those pages faster.
What should never be in llms.txt?
Private, staging or deprecated URLs, and any claim (price, count, certification, review) that a visitor can't verify on your public pages.
How often should I update it?
Whenever products, prices or key pages change. Generating it from your catalog at each deploy removes the drift problem.