What this skill does
Drafts an llms.txt file for a website following the proposed llms.txt format, a markdown file at the site root that points language models to a site's most useful pages. Use when the user asks for an llms.txt file, wants to give AI tools a clean map of their site, or is reviewing an existing llms.txt. Picks the pages worth listing from a sitemap or URL list, writes the H1, the blockquote summary, H2 sections of markdown links with short factual notes, and an Optional section. States clearly that llms.txt is a proposal and that support by AI systems is not guaranteed.
When to use it
- You want to publish an llms.txt file and need a first draft that follows the proposed format
- You have an llms.txt file and want to check its structure and the pages it lists
- You want a short, curated map of your most useful pages for AI tools and developers
What you give the agent
| Input | Details | Needed |
|---|---|---|
| Page list | An XML sitemap or a list of URLs with titles. Mark the pages you consider most important. | Required |
| About the site | What the organisation does, who it serves, where it operates, and anything a reader must know to understand the site. | Required |
| Pages to leave out | Sections you do not want listed, such as gated content, client areas, or pages blocked to AI crawlers in robots.txt. | Optional |
| Existing llms.txt | Your current file, if you have one, so the skill can review and improve it. | Optional |
What you get back
- A complete llms.txt draft in a copy-ready code block
- A table of the pages chosen, the section each sits in and why
- A list of pages left out and why
- Publishing notes covering location, format, upkeep and how to see whether anything requests the file
Example first message
A hypothetical prompt to start a chat once the skill is installed. Replace the details with your own.
Please draft an llms.txt file for our site. We are a nonprofit that publishes free guides on renters' rights in Canada, plus a tenant helpline. Our sitemap has about 90 URLs and is pasted below. Leave out our donor portal and staff pages.
The full skill text
This is exactly what the agent reads. The header at the top is the SKILL.md format: a name and a description that tell the agent when to load it.
--- name: llms-txt-builder description: "Drafts an llms.txt file for a website following the proposed llms.txt format, a markdown file at the site root that points language models to a site's most useful pages. Use when the user asks for an llms.txt file, wants to give AI tools a clean map of their site, or is reviewing an existing llms.txt. Picks the pages worth listing from a sitemap or URL list, writes the H1, the blockquote summary, H2 sections of markdown links with short factual notes, and an Optional section. States clearly that llms.txt is a proposal and that support by AI systems is not guaranteed." --- # llms.txt file builder You draft an llms.txt file for a website. llms.txt is a proposed format: a markdown file at the site root that gives language models and AI agents a short, curated map of the site's most useful pages. Your goal is a clean, accurate file that follows the proposal, lists only pages worth reading, and describes each one in a short factual note. Be honest with the user from the start. llms.txt is a proposal. AI systems are not required to read it, and support is not guaranteed. It does not control crawling; robots.txt does that. ## Before you start Ask the user for anything missing from this list. Do not guess. 1. A page list: an XML sitemap or URLs with titles. Ask which pages they consider most important. 2. A short description of the organisation: what it does, who it serves, where it operates, and anything a reader must know to understand the site (for example, "prices exclude VAT" or "services are UK only"). 3. Pages or sections to leave out: gated or client areas, staff pages, anything they do not want surfaced, and anything blocked to AI crawlers in robots.txt. 4. Their existing llms.txt, if they have one. If you can browse, you can open the site's key pages and its robots.txt to write better notes. If not, ask the user to paste the text of the most important pages, or work from titles and say so. ## The format Follow the structure in the llms.txt proposal, in this order: 1. An H1 with the name of the site or project. This is the only required part. 2. A blockquote with a short summary of the site, containing the key information needed to understand the rest of the file. 3. Optionally, a few short paragraphs or bullet points with more detail. No headings in this part. 4. Zero or more H2 sections, each containing a markdown list of links. Each item is `[Page name](URL)`, optionally followed by a colon and a short note. 5. Optionally, a section headed `## Optional`. Links in this section are secondary and can be skipped when a tool needs a shorter context. A minimal example of the shape: ``` # Example Studio > Example Studio designs and builds websites for small hotels in Portugal. Prices are in euros and exclude VAT. ## Services - [Hotel website design](https://example.com/services/design): What the design service includes, timelines and the process. - [Booking engine setup](https://example.com/services/booking): How we connect your site to common booking engines. ## Optional - [Studio history](https://example.com/about/history): Background on the team and past projects. ``` ## Steps 1. **Read the page list.** Count the URLs. Drop pages with no standalone value: tag and category archives, pagination, search results, login and account pages, cart and checkout, thank-you pages, near-duplicate variants. Drop anything the user asked to leave out. 2. **Choose the pages.** Keep the pages that best explain what the organisation offers and how it works: main product or service pages, pricing, documentation or help, key guides, policies a buyer needs (returns, terms, privacy), about and contact. For most sites this is 15 to 60 links. A curated short list is more useful than a copy of the sitemap. 3. **Check for conflicts.** If a page is blocked to AI crawlers in robots.txt, or carries `noindex`, do not list it without asking. Listing it sends a mixed signal. 4. **Group into sections.** Create H2 sections that match how a reader would look for things, such as Products, Pricing, Documentation, Guides, Policies, Company. Put lower-priority pages under `## Optional`. 5. **Write the H1 and summary.** Use the organisation's real name. The blockquote is one to three sentences: who it is, what it offers, for whom, and where. Add any essential context in a short paragraph after it. 6. **Write a note for each link.** One short sentence that says what the page contains, in plain factual words. No slogans or superlatives. Use the exact page name, and absolute canonical URLs (with `https://`). 7. **Review an existing file**, if given. Check it against the format above: one H1, a blockquote summary, H2 sections with link lists, notes that are factual, no broken or redirected URLs that you can detect, no pages that should be left out. ## Output format Use these sections in this order. **Draft llms.txt**: the complete file in one code block, ready to save as `llms.txt`. **Pages chosen**: a table with columns Page, URL, Section, Why it is listed. **Pages left out**: a table with columns Page or pattern, Reason. **Publishing notes**: short bullet points covering: - Save it as a plain text file named `llms.txt` at the site root, so it loads at `https://yourdomain/llms.txt`. - Check that every link loads with a 200 status and is the canonical version. - Update it when key pages are added, renamed or removed. - Some sites also offer markdown versions of key pages or a longer `llms-full.txt` file. Both are optional conventions. - To see whether anything requests the file, check your server logs for requests to `/llms.txt`. A request shows a fetch, which does not tell you how a tool uses the file. - llms.txt is a proposal, and support by AI systems is not guaranteed. ## Quality checks Before you answer, check that: - The file has exactly one H1 and it comes first, followed by the blockquote. - Every list item uses `[Name](URL)` with an absolute URL from the user's list. - Every note is factual and based on the page title or text you saw. You did not invent features, prices or claims. - No page the user excluded, and no page blocked or noindexed, appears without a comment. - You did not tell the user that llms.txt will improve rankings or AI visibility.
How to install and use it
Claude apps (web and desktop)
- Download the .zip file from this page. It holds one folder with the SKILL.md file inside.
- In Claude, open Settings, then Capabilities, and turn on code execution and file creation if it is off. Skills need it. On Team and Enterprise plans an owner turns it on for the organization.
- Open Customize, then Skills. Click the + button, choose Create skill, then Upload a skill, and select the .zip file. Menu names can change, so look for "Skills" if the path differs.
- Start a new chat and describe the job. Claude loads the skill when your request matches its description, or you can ask it to use the "llms-txt-builder" skill.
Claude Code
- Save the file as ~/.claude/skills/llms-txt-builder/SKILL.md to use it in every project, or as .claude/skills/llms-txt-builder/SKILL.md inside one project.
- Start a new session. Claude Code reads the skill descriptions and loads this one when the task matches.
ChatGPT
- On a Business, Enterprise or Edu workspace with skills turned on: open Plugins in the sidebar, go to the Skills tab, choose Add, then upload the skill from your computer. ChatGPT scans uploaded skills before they can be used.
- On a personal plan (Free, Plus or Pro): create a project, paste the skill text into the project instructions, and run the job inside that project. New custom GPTs can no longer be created on personal accounts.
- Start a chat with the example first message on this page and attach your data.
Gemini
- On a personal Google account: open Customize, then Skills. Import the skill by uploading the SKILL.md file (Gemini web app or Mac app), or choose Create and paste the name, description and skill text.
- On a work or school account that still uses Gems: create a Gem and paste the skill text into its instructions.
- Run the skill by typing / followed by its name, or describe the job and attach your data.
Other agents
- Use the skill text as the system prompt, or save it as an instructions file the agent reads.
- Send your inputs in the first message.
Steps checked against each app's help pages in November 2026. Menu names change from time to time. Our install guide has more detail.
Limits and checks
- llms.txt is a proposed standard. AI companies have not committed to reading it, so publishing one may have no visible effect.
- The file does not control crawling or access. Use robots.txt for that.
- It cannot check that listed URLs load unless it can browse. Check every link before you publish.
- Notes are written from titles and any text you share. A person should check each note is accurate.
Questions about this skill
Do AI search tools actually use llms.txt?
Support is not guaranteed. llms.txt is a community proposal, and at the time of writing major AI search providers have not confirmed that they rely on it. Treat it as a low-cost addition that may help some tools and agents, and keep your main effort on clear pages.
Where does the file go?
At the root of your site, so it loads at /llms.txt on your main domain. It is a plain text file written in markdown.
What is the difference between llms.txt and llms-full.txt?
llms.txt is a short index of links with notes. Some sites also publish a longer file, often called llms-full.txt, that contains the full text of key pages. That longer file is a community convention, and this skill drafts it only if you ask.