llms-txt
Skill159 starsChanged 9 months agoMITView on GitHub
Generate and maintain llms.txt files for AI discoverability. Scans repos to create curated content maps that help AI answer engines surface your project accurately. Implements the llms.txt specification from Answer.AI.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- peakanswer/peak-answer-skillstheir own version, first seen Sep 28, 2026
- howseen-ai/howseen-geo-skillstheir own version, first seen Sep 20, 2026
- kraayenjon/claude-pagekittheir own version, first seen Sep 3, 2026
- lroolle/skillstheir own version, first seen Jul 8, 2026
- johnericforte/claude-skill-llms-txttheir own version, first seen Jul 1, 2026
- jstanx/aeo-toolkittheir own version, first seen Jun 8, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- akii-technologies-ltd/akii-seo-ai-search-optimizer★ 76same name
- littlebearapps/pitchdocs★ 8same name
- AgentCTO/claude-skills★ 2same name
- jstanx/aeo-toolkit★ 2same name
- marcelo-earth/llms-txt-generator★ 2same name
- howseen-ai/howseen-geo-skills★ 1same name
- kraayenjon/claude-pagekit★ 1same name
- johnericforte/claude-skill-llms-txt★ 0same name
- lroolle/skills★ 0same name
- peakanswer/peak-answer-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 repository55 other files it gives its agents.
- ab-testing-frameworkSkill
- account-structure-reviewSkill
- aeo-geo-optimizerSkill
- brand-dnaSkill
- brand-voice-guidelinesSkill
- brazeSkill
- cold-email-outreachSkill
- competitor-ads-analystSkill
- content-creatorSkill
- content-pipelineSkill
- content-workflowSkill
- copywriting-frameworksSkill
- cro-auditorSkill
- cross-platform-auditSkill
- customer-journey-mappingSkill
- data-viz-deckSkill
- dep-auditSkill
- email-composerSkill
- facebook-adsSkill
- frontend-designSkill
- github-readmeSkill
- google-adsSkill
- google-analyticsSkill
- google-tag-managerSkill
- html-report-builderSkill
- icp-researchSkill
- klaviyo-analystSkill
- klaviyo-developerSkill
- landing-page-optimizerSkill
- linkedin-adsSkill
- looker-studioSkill
- market-researchSkill
- microsoft-adsSkill
- pricing-strategySkill
- pro-deck-builderSkill
- programmatic-seoSkill
- pro-report-builderSkill
- release-notesSkill
- remotion-videoSkill
- repo-healthSkill
- repo-scaffoldSkill
- research-digestSkill
- retention-churn-preventionSkill
- safe-pushSkill
- schema-markup-generatorSkill
- seo-content-writerSkill
- shopifySkill
- social-media-strategySkill
- social-previewSkill
- sync-reposSkill
- tech-diagramSkill
- technical-seo-auditSkill
- tiktok-adsSkill
- utm-attribution-strategySkill
- wasted-spend-finderSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Check an existing llms.txt for completeness, broken links, stale descriptions, and missing high-priority content.
- Distinctive: line 119
If the project has a documentation site (GitHub Pages, ReadTheDocs, Docusaurus, etc.):
- Very specific: line 122
Place the file where it will be served at https://yourdomain.com/llms.txt
- Distinctive: line 124
Consider adding llms.txt to your sitemap or linking it from robots.txt
“Common” is measured: kept by at least 6 in 10 of the 10 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
Generate and maintain llms.txt files that help AI answer engines surface your project accurately.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/llms-txt ~/.claude/skills/When to Use
- Launching a new open-source project or documentation site
- Major documentation restructure or content overhaul
- Improving your project's visibility in AI search (ChatGPT, Perplexity, Google AI Overviews)
- Onboarding a project to AI-friendly discoverability standards
- Periodic refresh after significant repo changes
What Is llms.txt
llms.txt is a plain-text markdown file placed in a project's root that gives LLMs a curated map of the project's most important content. Think of it as robots.txt for AI comprehension — instead of telling crawlers where they can go, it tells them what matters and how the project is organized.
The specification was proposed by Answer.AI and is documented at llmstxt.org. Adoption is growing across developer tools, documentation sites, and open-source projects. Projects with an llms.txt are easier for AI to understand, cite, and recommend accurately.
Usage
/llms-txt generate [repo-path]
Scan a repository and generate a new llms.txt file. If no path is provided, uses the current working directory.
/llms-txt audit [repo-path]
Check an existing llms.txt for completeness, broken links, stale descriptions, and missing high-priority content. Produces a report with specific recommendations.
/llms-txt update [repo-path]
Refresh an existing llms.txt based on current repo state. Preserves manually curated descriptions while adding new content and removing references to deleted files.
Procedure
Step 1: Scan Repo Structure
Identify all documentation-relevant files in the repository:
- README.md (root and significant subdirectories)
docs/directory and its contents- API documentation (OpenAPI specs, API reference pages)
- Tutorials, guides, and getting-started content
- CHANGELOG.md, CONTRIBUTING.md, FAQ.md
- Architecture and design decision docs
- Configuration and deployment guides
- Example directories with their own READMEs
Step 2: Prioritize Content
Rank discovered content by importance to an LLM trying to understand the project:
| Priority | Content Type | Why It Matters |
| P0 | README, Getting Started, API Reference | Entry points — what the project is and how to use it |
| P1 | Tutorials, Guides, Architecture docs | Deeper understanding — how it works and common workflows |
| P2 | CHANGELOG, CONTRIBUTING, FAQ, Config docs | Supporting context — history, community, troubleshooting |
Step 3: Extract Metadata
For each content page, extract or write:
- Title: Clear, descriptive page title
- URL or path: Where to find the content (full URL for hosted docs, relative path for repo files)
- Description: One-line action-oriented summary of what the page covers
Step 4: Generate llms.txt
Assemble the file following the specification format:
- Title line:
# Project Name - Description block: 2-3 sentence summary of what the project does, who it is for, and its primary use case
- Sections: Group content logically (e.g., "Getting Started", "API", "Guides", "Community")
- Content items: Each item is a markdown link with a colon-separated description
See REFERENCE.md for the exact format specification.
Step 5: Optionally Generate llms-full.txt
For projects that benefit from it, generate an expanded version that inlines the actual content of key pages. This is useful for smaller projects where the full documentation fits in a single context window.
Step 6: User Review
Present the generated llms.txt for review. Flag any decisions made during curation:
- Content that was excluded and why
- Descriptions that were inferred vs extracted from existing metadata
- Sections where additional documentation would improve AI discoverability
Step 7: Write to Repo Root
Save llms.txt (and optionally llms-full.txt) to the repository root.
For projects with hosted documentation sites, also note the recommended placement for the hosted version (site root, e.g., https://docs.example.com/llms.txt).
Hosted Docs and GitHub Pages
If the project has a documentation site (GitHub Pages, ReadTheDocs, Docusaurus, etc.):
- Generate llms.txt with full URLs pointing to the hosted docs, not repo file paths
- Place the file where it will be served at
https://yourdomain.com/llms.txt - For GitHub Pages: add llms.txt to the docs source directory so it deploys automatically
- Consider adding llms.txt to your sitemap or linking it from robots.txt
Key Principles
- Curate, don't dump. An llms.txt that lists every file in the repo is worse than useless. Select the 10-30 most important pages that give an LLM the clearest picture of the project.
- Prioritize entry points. The first few items should answer: what is this, who is it for, and how do I start?
- Keep descriptions action-oriented. "How to configure authentication for SSO providers" beats "Authentication configuration page."
- Match the reader's mental model. Organize sections the way a newcomer would learn the project, not the way the repo is structured.
- Maintain freshness. Stale llms.txt with broken links or outdated descriptions erodes trust. Run
/llms-txt auditafter major documentation changes.
Integration with Other Skills
- aeo-geo-optimizer — llms.txt complements broader AI search optimization; use both for maximum AI discoverability
- technical-seo-audit — Ensure AI crawlers can access your docs before generating llms.txt
- github-readme — A strong README is the foundation of a good llms.txt; optimize it first
For the full specification format, priority ranking criteria, and placement guidance, see REFERENCE.md.
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.

