What the file has to contain
llms.txt is a Markdown file at the root of the domain. It opens with an H1 site name, then a blockquote summary under 200 characters, then H2 sections such as Docs, Products, Resources or Optional. Each entry is a link with a full https:// URL followed by a 10 to 30 word description. Key Facts and Contact sections are recommended rather than required.
How an audit runs
Claude fetches /llms.txt and /llms-full.txt and records the status code: 200 goes on to validation, 404 means build one, 403 is flagged as a misconfiguration and redirects are followed and noted. The format table checks the title, summary line, sections, entry count, absolute URLs, whether every URL returns 200, descriptions, Key Facts, Contact, length of 30 to 200 lines and broken Markdown. Claude then compares the file with the site navigation and sitemap to list important pages that are missing, broken or redirected, and entries that went stale.
How the score is built
Completeness asks whether the file covers the main navigation sections, the highest-traffic pages and recent content. Accuracy asks whether descriptions match the pages, URLs work and Key Facts are current. Usefulness asks whether an AI system could understand the site from this file alone and tell pages apart. The overall score is Completeness x 0.40 + Accuracy x 0.35 + Usefulness x 0.25.
How a new file is written
Claude reads the site name, meta description, navigation and footer links from the homepage, then the sitemap, and decides the business type (SaaS, e-commerce, local, publisher or agency). With traffic data, pages inside each section are ordered by Search Console organic clicks first, then GA4 sessions from AI assistants, then key events.
For each picked page it reads the H1, meta description and first 2 to 3 paragraphs and writes a factual description, avoiding words like "best", "leading" and "revolutionary". It then adds Key Facts such as founding year, headquarters and top 3 to 5 products.
llms.txt and llms-full.txt
The skill checks for both files. llms.txt stays short: 10 to 30 entries, 50 to 150 lines, 3 to 6 sections. llms-full.txt is the long version with 30 to 100 or more pages and 30 to 100 word descriptions. The build mode writes llms.txt.
Rules it keeps
Thresholds and limits written into the skill, each with the reason behind it
The file lists 10 to 30 pages, starting with the most useful and trusted ones
The file is meant to point AI systems to the main pages rather than to mirror the whole sitemap
Every link is a full URL with the domain
Relative links are flagged with high severity in the audit, and the build mode writes only full https:// links
Each page gets a description of 10 to 30 words saying what it covers
A specific description lets an AI system tell pages apart and cite the right one for a topic
The overall score weights completeness at 40%, accuracy at 35% and usefulness at 25%
Coverage of the important pages carries the most weight, so a tidy file that misses key pages still scores low
Every URL is checked to load without an error
A file that points AI systems to a 404 or a redirect sends them to a dead or wrong page
What it needs and what comes back
You give it
- Your domain
- An existing /llms.txt, fetched by Claude (audit mode)
- Search Console Pages export, last 90 days (optional)
- GA4 landing page or AI referral export (optional)
It hands back
An audit report with scores, missing pages and a rewritten file when needed, or in build mode a ready llms.txt with a note on how the pages were picked
When it helps
- Your site has no llms.txt and you want one live this week
- The file was written a year ago and half the URLs have changed
- ChatGPT or Perplexity describes your pricing or products wrongly
Prompts to start with
Check the llms.txt on example.com and tell me what to fix
Write an llms.txt for our SaaS site, docs.example.com included, and keep it under 25 entries
Compare our llms.txt with the sitemap and list the pages we forgot
Adding it to Claude
claude.ai
Download llms-txt-builder.zip, upload it still zipped in Settings, Capabilities, Skills and ask for the job in a new chat, as Anthropic's help article on using skills in Claude shows
Claude Code
unzip llms-txt-builder.zip -d ~/.claude/skills/To use it in one project only, move the folder inside the zip (it is called geo-llmstxt) into that project's .claude/skills/, as the Claude Code skills docs describe
Inside the zip
- geo-llmstxt/
- CHANGES.md2 KB
- SKILL.md21 KB
Questions
What is the difference between llms.txt and llms-full.txt?
llms.txt is the short file with 10 to 30 pages of one line each and llms-full.txt the long version with 30 to 100 or more pages, and the skill checks for both and writes llms.txt
Does it upload the file to my site?
No, it gives you the finished file to save at the root of your domain, and after you upload it you run the audit once to confirm it loads without a redirect