# /geo-llmstxt: Check or build the llms.txt file AI tools read first

Source: https://trendhub.net/skills/zubair-trabzada-geo-seo-claude/geo-llmstxt
Skill folder: https://github.com/zubair-trabzada/geo-seo-claude/tree/main/skills/geo-llmstxt
Pack: GEO-SEO Claude (https://trendhub.net/skills/zubair-trabzada-geo-seo-claude)
Works with: Claude Code (macOS/Linux, one line), Claude Code (manual), Claude Code (Windows, Git Bash)

llms.txt is a proposed Markdown file at the site root that tells AI systems what a site is and which pages matter. This skill works in two modes: it audits an existing file for format, broken links and missing pages, or it builds a new one by reading the homepage and sitemap, choosing ten to thirty key pages and writing factual descriptions.

## When to use it

- Your site has no llms.txt and you want a sensible first version.
- An llms.txt exists but nobody has checked it since the site changed.
- You want AI tools to see accurate facts about pricing, products or locations.

## How it works

1. **Fetch**: Requests /llms.txt and /llms-full.txt and records whether each returns, redirects, is blocked or is missing.
2. **Validate**: Checks for the H1 title, a short blockquote summary, H2 sections, absolute URLs that resolve, entry descriptions and a key facts block.
3. **Compare with the site**: Crawls navigation and sitemap to find important pages left out and stale or redirected entries.
4. **Generate**: In build mode, picks must-have pages such as pricing and about, skips thin or login pages, and writes 10 to 30 word factual descriptions.
5. **Check the draft**: Confirms URLs return 200, entry count and line count fall in range, and the Markdown is clean before output.

## What it steers the agent away from

- Marketing language in page descriptions.
- Relative URLs that AI tools cannot follow.
- Listing admin, login or other sensitive pages.

## What it can touch

Fetches the site's llms.txt, sitemap and selected pages, and writes either an analysis report or a ready-to-upload llms.txt.

## Pairs well with

- `/geo-audit`
- `/geo-crawlers`
- `/geo-schema`

## Questions

### Does it upload the file for me?

No. It outputs the file content and a short report; you place it at the domain root yourself.

### What about llms-full.txt?

The skill explains the longer companion file and checks for it, but its main output is the concise llms.txt.
