# llms.txt Builder skill for Claude

llms.txt Builder checks the llms.txt file on your domain, scores it out of 100, or writes a new file from your homepage, sitemap and key pages

A 3-minute read, updated Nov 30, 2026

The recorded run

Read the run as text

Write our first llms.txt for bramblecrestcoffee.com in under 25 entries from the attached crawl of all 50 URLs and 90 days of the Search Console Pages report

- site-crawl.csv 50 rows
- gsc-pages-90d.csv 40 rows

Using the skill **llms.txt Builder**

Reading 50 URLs from site-crawl.csv and 40 pages from gsc-pages-90d.csv

Found **50 URLs** and **13,168 organic clicks** in 90 days. Two pages are excluded: `/shop/kenya-nyeri-aa` redirects (301) and `/brew-guides/chemex` is a 404 that still gets 24 clicks.

Top pages by organic clicks, last 90 days

- Cold brew guide 1,842
- Dark roast caffeine article 1,515
- Home 1,288
- Pour-over guide 1,046
- Grind size chart 967
- Subscriptions 744 pricing page

Pages picked for llms.txt

| Section | Entries | Leads with |
|---|---|---|
| Docs | 8 | Home, Subscriptions |
| Products | 5 | Ethiopia Guji Natural |
| Brew Guides | 5 | Cold Brew Ratio and Recipe |
| Resources | 6 | Dark roast caffeine lab test |

Skipped 19 more: legal, login, cart, tag, pagination and hub pages, stale posts and low-click pages. Five are borderline for later, such as Colombia Huila (141 clicks) and Sustainability.

Validating the file 5 passed 1 to check

- passed: H1 title and a 149-character summary line
- passed: 24 entries, under the 25 limit
- passed: All 24 URLs absolute and returning 200
- passed: Descriptions 12 to 25 words, no marketing words
- passed: 56 lines, inside the 50 to 150 range
- needs a look: Chemex guide is a 404 with 24 clicks

llms.txt ready to upload

- 24 entries covering 12,384 of 13,168 organic clicks (94.0%)
- Key Facts and Contact sections from the About, Cafe and Contact pages
- Restore the Chemex guide or redirect it to /brew-guides
- Update monthly as seasonal coffees rotate

The run is one sample task, kept exactly as it came out

- [Download the skill: llms-txt-builder.zip (10 KB)](https://marketingengineeringacademy.com/downloads/llms-txt-builder.zip)

- Files: 3

- SKILL.md: 488 lines

- Works in: claude.ai, Claude Code

- Area: [AI search visibility](https://marketingengineeringacademy.com/areas/ai-visibility.html)

AI search visibility

- [SEO and AI Visibility](https://marketingengineeringacademy.com/skills/seo-and-ai-visibility.html)
- [AI Search Readiness](https://marketingengineeringacademy.com/skills/ai-search-readiness.html)
- [Agent Readiness Audit](https://marketingengineeringacademy.com/skills/agent-readiness-audit.html)
- [AI Platform Scorecard](https://marketingengineeringacademy.com/skills/ai-platform-scorecard.html)
- [AI Crawler Access Check](https://marketingengineeringacademy.com/skills/ai-crawler-access-check.html)

How it works

## How llms.txt Builder works step by step

### Audit a file or write one

The skill checks your existing /llms.txt, or recommends one and can write it from scratch if the file returns 404

Step **1** of 7

## 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](https://support.claude.com/en/articles/12512180-use-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](https://code.claude.com/docs/en/skills) describe

## Inside the zip

- [llms-txt-builder.zip: 3 files in 10 KB](https://marketingengineeringacademy.com/downloads/llms-txt-builder.zip)

- geo-llmstxt/
- CHANGES.md 2 KB
- SKILL.md 21 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

More in AI search visibility

- [SEO and AI Visibility: Audits a business site for Google and AI assistants, then writes the fix files](https://marketingengineeringacademy.com/skills/seo-and-ai-visibility.html)
- [AI Search Readiness: A GEO score out of 100 for a page, with AI crawler checks and the top 5 fixes](https://marketingengineeringacademy.com/skills/ai-search-readiness.html)
- [Agent Readiness Audit: Checks how well AI agents can use your site and drafts robots.txt rules and llms.txt](https://marketingengineeringacademy.com/skills/agent-readiness-audit.html)
- [AI Platform Scorecard: A score out of 100 for each AI answer engine and a plan ranked by effort](https://marketingengineeringacademy.com/skills/ai-platform-scorecard.html)

---

HTML version: https://marketingengineeringacademy.com/skills/llms-txt-builder.html
