generate-llms-txt
Skill2 starsChanged 3 months agoMITView on GitHub
Generate llms.txt and llms-full.txt files for a website following the llms.txt specification. TRIGGER when: user asks to generate llms.txt, create an LLM-friendly site index, or make a website LLM-readable. DO NOT TRIGGER when: user is editing an existing llms.txt or asking about the llms.txt spec in general.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- sbezpalov/ai-llms-generatortheir own version, first seen Jul 27, 2026
- OndrejKnedla/seo-geo-playbook-oktheir own version, first seen Jun 16, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- OndrejKnedla/seo-geo-playbook-ok★ 0same name
- sbezpalov/ai-llms-generator★ 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 repository3 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- golang-proSkill
- investigate-incidentSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
If no URL is provided, ask the user for the target website URL before proceeding.
- Distinctive: line 26
Follow these steps in order.
- Very specific: line 54
Write llms.txt to the current working directory.
- Very specific: line 77
Every entry is - Title: Description — the description should be a single informative line, not marketing fluff
- Distinctive: line 79
Do NOT include: duplicate pages, pagination pages, tag pages, author pages, or pages blocked by robots.txt
- Very specific: line 83
Write llms-full.txt to the current working directory.
- Very specific: line 112
Every ## Section corresponds to a single page with its Source: URL
- Distinctive: line 121
After writing both files, report to the user:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate llms.txt and llms-full.txt
Generate llms.txt and llms-full.txt files for the website at $ARGUMENTS.
If no URL is provided, ask the user for the target website URL before proceeding.
What is llms.txt?
The /llms.txt file (see https://llmstxt.org/) is a markdown file that provides LLM-friendly content about a website. It helps AI models quickly understand what a site is about. There are two files:
- llms.txt — A concise index: title, summary blockquote, then
## Sectionswith- [Link Title](URL): One-line descriptionentries. - llms-full.txt — The full expanded version: same structure but with the actual page content inlined under each section, separated by
---dividers.
Procedure
Follow these steps in order. Use parallel tool calls wherever possible.
Phase 1: Reconnaissance
Fetch these in parallel:
<site>/robots.txt— Note any disallowed paths to respect.<site>/sitemap.xml— Extract all URLs; group by path pattern.- The site's homepage — Understand what the company/project does.
- Reference examples for format:
https://platform.claude.com/llms.txthttps://modelcontextprotocol.io/llms.txt
From the sitemap and homepage navigation, build a complete URL inventory grouped into logical sections (e.g., product pages, use cases, docs, blog, company).
Phase 2: Content Crawling
Using the URL inventory from Phase 1, fetch all important pages in parallel batches (use parallel_read_url with up to 5 URLs per batch). Prioritize:
- Main product/service pages
- Use case pages
- Documentation overview and key sections
- Customer stories / case studies
- About, pricing, and company pages
- A sample of recent blog posts (not all — summarize the blog section instead)
Skip: privacy policy content, terms of service content, cookie banners, navigation chrome, footers. Extract only the meaningful content from each page.
Phase 3: Generate llms.txt
Write llms.txt to the current working directory. Follow this exact format:
# Site Name
> One paragraph summary of what this site/company/project is. Should be 2-3 sentences max, packed with the key facts an LLM needs.
Optional: One short paragraph of additional context (founded when, key stats, certifications).
## Section Name
- [Page Title](https://full-url): One-line description of what this page covers
- [Page Title](https://full-url): One-line description of what this page covers
## Another Section
- [Page Title](https://full-url): One-line descriptionRules for llms.txt:
- The
# Titlemust be the site/project name - The
> blockquotemust be a dense, informative summary - Group pages into logical
## Sections(not one flat list) - Every entry is
- [Title](URL): Description— the description should be a single informative line, not marketing fluff - Include 30-80 entries total (be selective — skip low-value pages)
- Do NOT include: duplicate pages, pagination pages, tag pages, author pages, or pages blocked by robots.txt
Phase 4: Generate llms-full.txt
Write llms-full.txt to the current working directory. Follow this format:
# Site Name
> Same blockquote summary as llms.txt.
Same context paragraph as llms.txt.
For a concise index of all pages, see [llms.txt](https://<site>/llms.txt).
---
## Page Title
Source: https://full-url-of-this-page
[Clean, structured markdown content of the page. Strip navigation chrome, cookie banners, footers, and duplicate content. Preserve headings, lists, tables, and quotes. Rewrite into clean prose where the raw crawl is messy.]
---
## Next Page Title
Source: https://full-url-of-next-page
[Content...]Rules for llms-full.txt:
- Every
## Sectioncorresponds to a single page with itsSource:URL - Strip all navigation, footers, cookie notices, and boilerplate
- Preserve the meaningful structure: headings, lists, tables, blockquotes
- Clean up duplicated content (many CMSes repeat sections)
- For blog listing pages, include recent post titles/dates/summaries rather than full post content
- End with a
## Company Informationsection consolidating: name, founded, HQ, contact, social links, certifications, key technologies
Phase 5: Summary
After writing both files, report to the user:
- File paths and sizes
- Number of pages indexed in llms.txt
- Number of pages with full content in llms-full.txt
- Any notable gaps (pages that couldn't be fetched, sections with thin content)
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.

