# llms.txt

> Canonical: https://skillalmanac.com/glossary/llms-txt | Last verified: 2026-11-24 | Index status: not offered to search engines

llms.txt is a proposed convention for a Markdown file at /llms.txt that gives AI agents a curated overview of a website, with links to pages worth reading. The llmstxt.org page presents it as a proposal.

Also called: llms txt, llms.txt file, llms.txt standard, llms.txt format, llms-full.txt.

## In plain language

llms.txt is a plain text note a website owner can place at a fixed address on their site to tell AI programs what the site is and which pages matter most. Think of the short welcome sheet a library hands to a new visitor: it names the key shelves, so the visitor skips the aisles that do not matter. The file is written in Markdown, a simple text format with headings and links. The idea comes from a proposal, so a site may follow it or not, and an AI product may or may not read it. Google says you do not need AI text files to appear in its AI features. A wrong or stale file points readers at the wrong pages, so it needs the same upkeep as the site.

## Technical definition

The llmstxt.org proposal describes a Markdown file at /llms.txt, placed at the site root or at any path within it. Its structure in order is an optional byte-order mark, a required H1 with the project or site name (the only required section), a blockquote summary, detail sections without headings, and H2 sections of file lists whose links take the form [name](url) with optional notes after a colon. An H2 section named Optional holds secondary links an agent can skip. The proposal chooses Markdown over a format such as XML because language models read it, and it suggests clean Markdown versions of pages at the same URL with .md appended.

## How it shows up when you use agents

For someone running a coding agent, llms.txt appears in two places. The first is as a reader: a vendor may publish one so an agent can find the right documentation pages. Anthropic publishes an llms.txt index of its Claude Platform docs as a list of Markdown pages, many of which add a short description. The second is as an author: you ask an agent to write one for your own site, with the [ai-crawler-readiness skill](/skills/skill-almanac/ai-crawler-readiness) as one route.

This site, Skill Almanac, serves its own /llms.txt, generated from its catalogue. That is a fact about this site only, not evidence that any AI product reads such files.

What breaks when it is misunderstood: people treat the file as a ranking switch or as access control. The proposal describes an overview file for agents. It does not describe a permission system, and Google's page says you do not need AI text files to appear in its AI features. Treat it as optional documentation for [AI agents](/glossary/ai-agent) and for [context engineering](/glossary/context-engineering), and check it by reading it as a stranger would.

Next action: if you publish one, keep the H1, the summary and the link list accurate, and update it when pages move.

## Common confusions

- **llms.txt versus a sitemap.** A sitemap.xml is an XML list of URLs for crawlers, governed by the sitemap protocol. llms.txt is a Markdown overview proposed for agents. The [sitemap XML builder skill](/skills/skill-almanac/sitemap-xml-builder) covers the first.
- **llms.txt versus a crawler policy.** The ai-crawler-readiness skill treats a crawler policy and an llms.txt file as separate items. One does not replace the other.
- **Proposal versus standard.** The llmstxt.org page presents it as a proposal, so check what a given AI product actually reads.
- **Myth: it guarantees AI citations.** The proposal makes no such promise, and Google's documentation says no special files are needed for its AI features. See [generative engine optimization](/glossary/generative-engine-optimization).

## Worked examples in this catalogue

### [ai-crawler-readiness](https://skillalmanac.com/skills/skill-almanac/ai-crawler-readiness)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An explicit AI-crawler policy, a conformant llms.txt file, and pages made quotable, with facts read from the operators' own documentation.

Why it exercises the concept: It is the direct case: the skill lists writing a conformant llms.txt as one of its jobs, next to a crawler policy, which is a separate decision.

### [sitemap-xml-builder](https://skillalmanac.com/skills/skill-almanac/sitemap-xml-builder)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A valid sitemap.xml built from a plain list of page URLs, with a report of every entry that breaks the sitemap protocol.

Why it exercises the concept: A sitemap and an llms.txt file are both site-level lists of pages. Building one shows the contrast: a sitemap protocol is strict XML, while llms.txt is a Markdown proposal.

### [html-to-markdown](https://skillalmanac.com/skills/skill-almanac/html-to-markdown)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An HTML fragment or page converted to Markdown offline, keeping headings, links, lists, code, blockquotes and simple tables while dropping script, style and navigation.

Why it exercises the concept: The llms.txt proposal suggests clean Markdown versions of pages. This skill is one way to produce a Markdown copy of a page.

## Related terms

- [Generative engine optimization (GEO)](https://skillalmanac.com/glossary/generative-engine-optimization.md)
- [Retrieval-augmented generation (RAG)](https://skillalmanac.com/glossary/retrieval-augmented-generation.md)
- [Context engineering](https://skillalmanac.com/glossary/context-engineering.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)

## Sources

- [The /llms.txt file](https://llmstxt.org/), llmstxt.org (accessed 2026-11-24)
- [Claude Platform documentation llms.txt](https://platform.claude.com/docs/llms.txt), Anthropic (accessed 2026-11-24)
- [AI features and your website](https://developers.google.com/search/docs/appearance/ai-features), Google Search Central (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
