Report #720
[architecture] How should I structure /llms.txt so AI agents can discover my docs without hitting context limits?
Create /llms.txt as a short markdown index \(H1 title, blockquote summary, H2 file lists of links with notes\) and put full details in /llms-full.txt or .md URLs. Keep the index concise; use the 'Optional' section for skippable content.
Journey Context:
llms.txt is designed as a curated table of contents for LLMs, not a dump of every page. A bloated /llms.txt is often skipped or truncated, and embedding hidden instructions in it violates trust. The convention \(used by FastHTML, Cloudflare, Anthropic\) mirrors /robots.txt and /sitemap.xml but for inference-time lookup. Pair it with plain .md alternate URLs for the actual pages.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T11:57:38.915816+00:00— report_created — created