llms-txt-generator
Skill0 starsChanged 9 days agoMITView on GitHub
Create or improve an llms.txt file (the llmstxt.org format) for a website by reading its sitemap, page titles and meta descriptions, then editing the draft into a clean, curated map for large language models. Use this whenever someone asks for an llms.txt or llms-full.txt, wants to make their site easier for ChatGPT, Claude, Perplexity or other AI tools to understand, asks what llms.txt is or whether they need one, or is doing GEO/AEO work on a site, even if they only say "AI-friendly sitemap" or "file for AI crawlers".
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Varnan-Tech/opendirectorytheir own version, first seen Nov 29, 2026
- zColdWater/omniforge-skillstheir own version, first seen Nov 29, 2026
- imtiazrayhan/agentscamp-librarytheir own version, first seen Nov 16, 2026
- jqaisystems/jqai-ai-skillstheir own version, first seen Nov 1, 2026
- solana-foundation/solana-comtheir own version, first seen Oct 8, 2026
- UXMagicai/seosorted-skillstheir own version, first seen Oct 4, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- Varnan-Tech/opendirectory★ 720same name
- solana-foundation/solana-com★ 538same name
- akhilkannur/marketing-agent-blueprints★ 4same name
- jqaisystems/jqai-ai-skills★ 4same name
- famzila/agent-skills-set★ 2same name
- GianlucaNaarden/claude-skills-nederlands★ 1same name
- imtiazrayhan/agentscamp-library★ 1same name
- zColdWater/omniforge-skills★ 1same name
- UXMagicai/seosorted-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- ai-crawler-checkSkill
- geo-page-auditSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Run the bundled script (standard-library Python 3.9+) by its full path: in Claude Code, ${CLAUDE_SKILL_DIR} is this skill's folder.
- Distinctive: line 48
If the script can't run, build the draft by hand from the sitemap and the key pages.
- Distinctive: line 58
Fix titles and descriptions: remove brand suffixes and marketing fluff, and make each description say what the page answers ("Prices for …
- Very specific: line 65
If the user wants llms-full.txt too, it holds the full text of the key pages in Markdown.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
llms.txt generator
llms.txt is a Markdown file at the site root (https://example.com/llms.txt) that gives language
models a short, curated summary of a site and links to its most useful pages. Format
(llmstxt.org):
# Site or brand name
> One-paragraph summary: who you are, what you offer, for whom.
Optional extra context in plain paragraphs (no headings).
## Section name
- [Page title](https://example.com/page): one-line description of what the page answers
## Optional
- [Less important page](https://example.com/other)Be straight with the user about what it does: it's an emerging convention. Some AI tools and agents read it; Google has said it doesn't use it for Search. It's cheap to add and harmless, but it's not a ranking factor and doesn't replace crawlable pages, good titles or structured data.
Step 1: Draft from the sitemap
Run the bundled script (standard-library Python 3.9+) by its full path: in Claude Code,
${CLAUDE_SKILL_DIR} is this skill's folder; elsewhere, use the folder this SKILL.md was loaded from.
python "${CLAUDE_SKILL_DIR}/scripts/llms_txt.py" https://example.com --json # draft + stats
python "${CLAUDE_SKILL_DIR}/scripts/llms_txt.py" https://example.com --out llms.txt # write the draft
python "${CLAUDE_SKILL_DIR}/scripts/llms_txt.py" https://example.com --max-pages 60 --json # big sitesIt finds the sitemap (robots.txt Sitemap: lines, then /sitemap.xml, /sitemap_index.xml,
/wp-sitemap.xml, else homepage links), reads titles and meta descriptions of the shallowest
pages, and groups pages by their first path segment. Unread pages go under ## Optional.
If the script can't run, build the draft by hand from the sitemap and the key pages.
Step 2: Edit the draft (this is where the value is)
The script's output is raw material. A good llms.txt is curated, so before handing it over:
- Rewrite the summary line so it says plainly who the business is, what it offers, where and for whom. One or two sentences, no slogans. This line is what a model is most likely to repeat.
- Keep the pages that answer real questions: services or products, pricing, about, contact, key guides, case studies, docs. Drop thin, duplicate, legal-boilerplate, tag and paginated pages.
- Fix titles and descriptions: remove brand suffixes and marketing fluff, and make each description say what the page answers ("Prices for Shopify stores in Dubai, AED ranges").
- Order sections by importance, most useful first, and give them human names ("Services", "Guides"), not URL slugs.
- Keep it short: usually 10–40 links. Put long-tail pages under
## Optionalor leave them out. - Check every URL is a canonical, indexable, 200 page on the same domain.
If the user wants llms-full.txt too, it holds the full text of the key pages in Markdown. Only
suggest it for documentation-style sites, because it's long and needs upkeep.
Step 3: Deliver
Give the final file in a code block (or write it to llms.txt if you have file access), then the
install step: upload it to the web root so it loads at https://their-domain/llms.txt as
text/plain or text/markdown. On WordPress that means the site root via FTP/file manager or an
SEO plugin that supports it; on Shopify, upload it under Content → Files and add a URL redirect from /llms.txt to it. Suggest
adding a reminder to update it when key pages change.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

