Generation method

Generate llms.txt with your AI tool

This site does not generate the file for you. What you get here is a method to run in your own AI tool: prompts, rules and steps for each tool. When the file is written, use this site’s checks to accept it.

Pick your toolSee the prompts

Pick your tool

The official documentation of all seven tools below describes skills as a folder with a SKILL.md file. You can use this site’s open-source llmstxtdb skills through the entry point supported by each tool. Installing is optional: with any of these tools you can skip the skill and paste the prompts below.

Coding tool

Claude Code

Good for
Generating inside a project repository, with the file written straight into it.
Getting started
Start Claude Code in the project root. With the skill installed, type its invocation name and say what you want; or paste a prompt. Suggested prompt to start with: Generate inside a project
Giving it the content
It can read the files of the current repository. If the documentation lives in another repository or online, give it the address.
Optional: install the skill
  1. Install with the skills CLI

    skills is a third-party command-line tool; it decides which directory to install into.

    npx skills add https://github.com/web-casa/llmstxtdb-skills --skill llmstxtdb

    Invoke: /llmstxtdb

  2. Install as a plugin

    Run the two commands in Claude Code, in order. A skill installed as a plugin is invoked with the plugin name as a prefix.

    /plugin marketplace add web-casa/llmstxtdb-skills
    /plugin install llmstxtdb@llmstxtdb-skills

    Invoke: /llmstxtdb:llmstxtdb

  3. Copy into the personal skills directory

    Copy the entire directory: the reference documents and the validation script are part of the skill.

    git clone https://github.com/web-casa/llmstxtdb-skills
    mkdir -p ~/.claude/skills
    cp -r llmstxtdb-skills/skills/llmstxtdb ~/.claude/skills/

    Invoke: /llmstxtdb

Official documentation on skills (checked 2026-10) (opens in a new window)

Prompts

Four prompts for four situations. Copy a whole prompt into your tool. Each one carries the complete rules, so it works without the skill installed; when the skill is installed, the opening line of the prompt tells the tool to follow the skill’s workflow.

Replace the parts in angle brackets (such as <product name>) with your details. If you leave them, the tool will ask you first.

  1. Generate inside a project

    Use this when the tool can read your repository or your docs folder.

    Please write an llms.txt for this project.
    
    If you have installed llmstxtdb skills, follow its workflow. The requirements below also apply without it.
    
    Ask me these first and start only when they are clear (skip what I have already stated): the product name <product name>; the live root address of the documentation <docs root address>; the version it covers <version>; the address the file will be served at. The default is the site root, /llms.txt; if I say it goes under a subpath, do as I say. Which directory of the repository the file belongs in depends on the stack: if you are not sure, ask me rather than guess.
    
    What is asked of an llms.txt falls into three groups. Keep them apart when you report or explain:
    1. The proposal requires exactly one thing: the file starts with one top-level heading (# Project name), and that is the only top-level heading in the file.
    2. The proposal defines a shape for these, but all of them are optional: a blockquote summary after the heading (> one or two sentences; it may be left out, but if it is there it must not be empty); free text between the summary and the first second-level heading (paragraphs or lists, no further headings); sections under second-level headings (## ); entries inside a section written as "- [name](url): description" (the link is needed; the colon and description may be omitted); a section named Optional for links a reader may skip.
    3. Everything else is writing advice, not the proposal: a description on every entry; absolute https addresses; one product and one version per file; choosing the pages worth reading instead of listing every address.
    Do not describe groups 2 and 3 as "required by the spec".
    
    Work in this order:
    1. Find the sources: the docs directory, the navigation or sidebar configuration, the sitemap, the README. Prefer pages confirmed to have a Markdown version.
    2. Read the pages: before you describe a page you intend to list, actually read its content. A sitemap or a list of addresses is for taking stock only and is no basis for a description. A page whose content you could not read goes under "unconfirmed".
    3. Give me a candidate list first and wait for my confirmation before writing the file. Each row has: the page's real title, its live address, the source (where you found it), whether you read its content, why it is in or out, and the section you would put it in. List unconfirmed pages separately.
    4. Select and order: the pages a newcomer needs first go at the top, reference material next, and what a reader may skip goes under ## Optional. If there is nothing of that kind, do not create that section. Leave out marketing, legal and login pages.
    5. Each description has to tell its page apart from the neighbouring ones: "Auth" says nothing, "API keys, OAuth flow and token lifetimes" does. Write descriptions in the language of the documentation itself.
    6. Write the summary after the pages are chosen: what this is, who it is for, and the one fact a model would most likely get wrong. If nothing specific can be said, leave the summary out.
    
    Write only what you have confirmed: do not invent page addresses; a link you cannot confirm exists stays out of the file and goes on a separate list for me. Do not tell me this file will earn citations, recommendations or search rankings from any AI product.
    
    When you are done, check the result: if you can run the validation script bundled with llmstxtdb skills (scripts/validate_llms_txt.py), run it and tell me what it reports; if you cannot, go through the three groups above one by one and say which points you could not confirm (for example whether links are reachable). Once the file is live I will check the live address again with an online checker.
  2. Only a live site

    There is no repository at hand, so the tool reads the content from the live site. If the tool cannot read web pages, it will tell you which materials to provide.

    Please write an llms.txt for this live site. I have not given you the repository, so the content has to be read from the live site.
    
    If you have installed llmstxtdb skills, follow its workflow. The requirements below also apply without it.
    
    Ask me these first and start only when they are clear (skip what I have already stated): the product name <product name>; the live root address of the documentation <docs root address>; the version it covers <version>; the address the file will be served at. The default is the site root, /llms.txt; if I say it goes under a subpath, do as I say.
    
    If you cannot read web pages, tell me first and say what you need from me: a list of pages (the sitemap or an exported list of addresses) and the content of the pages to be listed (exported Markdown, HTML or plain text). Do not guess what a page contains from its address.
    
    What is asked of an llms.txt falls into three groups. Keep them apart when you report or explain:
    1. The proposal requires exactly one thing: the file starts with one top-level heading (# Project name), and that is the only top-level heading in the file.
    2. The proposal defines a shape for these, but all of them are optional: a blockquote summary after the heading (> one or two sentences; it may be left out, but if it is there it must not be empty); free text between the summary and the first second-level heading (paragraphs or lists, no further headings); sections under second-level headings (## ); entries inside a section written as "- [name](url): description" (the link is needed; the colon and description may be omitted); a section named Optional for links a reader may skip.
    3. Everything else is writing advice, not the proposal: a description on every entry; absolute https addresses; one product and one version per file; choosing the pages worth reading instead of listing every address.
    Do not describe groups 2 and 3 as "required by the spec".
    
    Work in this order:
    1. Find the sources: the site's sitemap, the navigation and sidebar of the documentation home page, links inside pages. Prefer pages confirmed to have a Markdown version.
    2. Read the pages: before you describe a page you intend to list, actually read its content. A sitemap or a list of addresses is for taking stock only and is no basis for a description. A page whose content you could not read goes under "unconfirmed".
    3. Give me a candidate list first and wait for my confirmation before writing the file. Each row has: the page's real title, its live address, the source (where you found it), whether you read its content, why it is in or out, and the section you would put it in. List unconfirmed pages separately.
    4. Select and order: the pages a newcomer needs first go at the top, reference material next, and what a reader may skip goes under ## Optional. If there is nothing of that kind, do not create that section. Leave out marketing, legal and login pages.
    5. Each description has to tell its page apart from the neighbouring ones: "Auth" says nothing, "API keys, OAuth flow and token lifetimes" does. Write descriptions in the language of the documentation itself.
    6. Write the summary after the pages are chosen: what this is, who it is for, and the one fact a model would most likely get wrong. If nothing specific can be said, leave the summary out.
    
    Write only what you have confirmed: do not invent page addresses; a link you cannot confirm exists stays out of the file and goes on a separate list for me. Do not tell me this file will earn citations, recommendations or search rankings from any AI product.
    
    When you are done, check the result: if you can run the validation script bundled with llmstxtdb skills (scripts/validate_llms_txt.py), run it and tell me what it reports; if you cannot, go through the three groups above one by one and say which points you could not confirm (for example whether links are reachable). Once the file is live I will check the live address again with an online checker.
  3. Review and tighten a draft

    You already have a draft and want the tool to go through it against the rules.

    Please review and tighten an llms.txt draft.
    
    If you have installed llmstxtdb skills, follow its workflow. The requirements below also apply without it.
    
    Read the whole draft first: <path of the draft, or paste the full text below>. If you do not have the full text, ask me for it; do not rewrite from a description.
    
    What is asked of an llms.txt falls into three groups. Keep them apart when you report or explain:
    1. The proposal requires exactly one thing: the file starts with one top-level heading (# Project name), and that is the only top-level heading in the file.
    2. The proposal defines a shape for these, but all of them are optional: a blockquote summary after the heading (> one or two sentences; it may be left out, but if it is there it must not be empty); free text between the summary and the first second-level heading (paragraphs or lists, no further headings); sections under second-level headings (## ); entries inside a section written as "- [name](url): description" (the link is needed; the colon and description may be omitted); a section named Optional for links a reader may skip.
    3. Everything else is writing advice, not the proposal: a description on every entry; absolute https addresses; one product and one version per file; choosing the pages worth reading instead of listing every address.
    Do not describe groups 2 and 3 as "required by the spec".
    
    Report in three separate parts and do not merge them: proposal issues (measured against groups 1 and 2 only); usability issues (whether links are reachable, whether the file can be fetched as text; say so where you did not verify); writing advice (group 3).
    
    Before changing anything, list what you intend to change and why, and wait for my agreement. Do not change the order or wording of entries that have no issue.
    
    Write only what you have confirmed: do not invent page addresses; a link you cannot confirm exists stays out of the file and goes on a separate list for me. Do not tell me this file will earn citations, recommendations or search rankings from any AI product.
    
    When you are done, check the result: if you can run the validation script bundled with llmstxtdb skills (scripts/validate_llms_txt.py), run it and tell me what it reports; if you cannot, go through the three groups above one by one and say which points you could not confirm (for example whether links are reachable). Once the file is live I will check the live address again with an online checker.
  4. Fix from a check report

    After a check on this site, hand the report and the file to the tool together. Each issue on the report page also has its own fix prompt.

    Please fix an llms.txt according to a check report.
    
    If you have installed llmstxtdb skills, follow its workflow. The requirements below also apply without it.
    
    You need two things: the file itself <path of the file, or paste the full text>; the check report <paste the report, or the fix prompt copied from the report page>. If you have the report but not the file, ask me for the file; do not reconstruct the file from the report.
    
    What is asked of an llms.txt falls into three groups. Keep them apart when you report or explain:
    1. The proposal requires exactly one thing: the file starts with one top-level heading (# Project name), and that is the only top-level heading in the file.
    2. The proposal defines a shape for these, but all of them are optional: a blockquote summary after the heading (> one or two sentences; it may be left out, but if it is there it must not be empty); free text between the summary and the first second-level heading (paragraphs or lists, no further headings); sections under second-level headings (## ); entries inside a section written as "- [name](url): description" (the link is needed; the colon and description may be omitted); a section named Optional for links a reader may skip.
    3. Everything else is writing advice, not the proposal: a description on every entry; absolute https addresses; one product and one version per file; choosing the pages worth reading instead of listing every address.
    Do not describe groups 2 and 3 as "required by the spec".
    
    Rules for fixing:
    - Smallest change: change only what is needed to clear the finding. Do not reorder or rewrite entries that were not flagged, and do not add sections.
    - Many findings with the same code usually have one cause (for example a whole section written as a list without links): work out the cause first, then handle it once.
    - A link that timed out or was refused is "not confirmed", not "dead": check again before deleting it.
    - Check again after the changes and tell me what changed, with the number of findings before and after.
    
    Write only what you have confirmed: do not invent page addresses; a link you cannot confirm exists stays out of the file and goes on a separate list for me. Do not tell me this file will earn citations, recommendations or search rankings from any AI product.
    
    When you are done, check the result: if you can run the validation script bundled with llmstxtdb skills (scripts/validate_llms_txt.py), run it and tell me what it reports; if you cannot, go through the three groups above one by one and say which points you could not confirm (for example whether links are reachable). Once the file is live I will check the live address again with an online checker.

Four steps

  1. Take stock

    Find out which pages the documentation has: the docs directory, the navigation configuration, the sitemap, the README. The output is a list of pages.

  2. Select and group

    Read the pages, then decide what to list and how to group it. The tool hands you a candidate list first and continues after you confirm it.

  3. Draft

    Write the heading, the entries and their descriptions, and the summary last. List only pages confirmed to exist.

  4. Validate and fix

    Find issues with the validation script or this site’s online check, then have the tool fix them with the smallest change.

Once the file is live, check the live address again: a correctly written file is not the same as a correctly served one.

Why your own AI tool

  • It can read your content. Writing an llms.txt starts with reading the documentation. Your tool can open the repository, the docs directory or the files you give it. An online form that only receives an address cannot.
  • Selecting and describing take understanding. Which pages are worth listing, and how to describe each link in one clause, can only be judged after reading the pages. That is what these tools are good at.
  • The result stays with you. The file is written in your repository or on your computer. You can revise it and keep it under version control, and it never passes through this site.

Once you have a draft

  • Check the file: Submit the live address and get a report in three parts: proposal compliance, practical usability and editorial advice. Online check
  • Check the links: Probe every link in the file for reachability. Every address the tool listed should go through this. Link health
  • Adjust by hand: For a few edits of your own: a local editor with form and Markdown modes and live validation. llms.txt editor
  • Deploy: Where the file goes, how the server should return it, and how to confirm it after going live. Deployment guide
  • Submit for listing: Once the file is live and passes the check, you can submit it to this site’s directory. Submit a site

Boundaries

We do not promise that creating or submitting llms.txt will improve AI recommendations or search rankings. Our commitments are limited to accessibility, conformity with the proposal, link validity, and detectable changes.

  • An AI tool may write page addresses that do not exist. The prompts tell it to list only pages confirmed to exist; you should still run the link check over the result.
  • llms.txt is a proposal, not a ratified standard.
  • The tools named here are products of their respective companies, and this site is not affiliated with any of them. Installation steps and interface names were checked in October 2026 and may change; the official documentation of each tool takes precedence.
  • The skill is an open-source project under the MIT license. You can read the source before installing it: https://github.com/web-casa/llmstxtdb-skills (opens in a new window).