agentleFS
visibianvisibian/seo-geo-skills/skills/llms-txt/SKILL.md

llms-txt

Skill0 starsChanged 16 days agoMITView on GitHub

Write, review or fix an llms.txt file, the markdown file at a site's root that points AI agents and coding assistants to its key pages, following the llmstxt.org format. Use when someone asks for an llms.txt, llms-full.txt, an AI guide file for their site or docs, or whether llms.txt helps them appear in ChatGPT, Gemini or Google's AI answers.

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use schema-markup.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • silvainfmSkill

    schema-markup

    When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data," "JSON-LD," "rich snippets," "schema.org," "FAQ schema," "product schema," "review schema," or "breadcrumb schema." For broader SEO issues, see seo-audit.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write or check an llms.txt file, and tell the user plainly what it does and does not do.

    line 12
  2. Distinctive:

    No major AI assistant has documented that it reads llms.txt to answer questions about a brand.

    line 19
  3. Very specific:

    Check for an existing file.

    line 25
  4. Distinctive:

    Write the file in the order the format requires:

    line 27
  5. Very specific:

    Use full URLs. Write each note as a plain fact from the page, not marketing copy.

    line 33
  6. Very specific:

    Place it at the site root (/llms.txt), or under a path it should cover (/docs/llms.txt).

    line 34
  7. Distinctive:

    Check the result with the script again.

    line 36
  8. Distinctive:

    Every link must open and every note must match its page.

    line 46
  9. Distinctive:

    Do not claim llms.txt improves rankings or AI visibility.

    line 47

“Common” is measured: kept by at least 6 in 10 of the 16 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

llms.txt

Write or check an llms.txt file, and tell the user plainly what it does and does not do.

What to tell the user first

  • llms.txt is a proposal (llmstxt.org, Jeremy Howard, first published 3 September 2024, now in its second version). It is a short markdown file that guides agents to a site's key pages.
  • It is used most by coding agents reading software documentation. The AI labs publish llms.txt files for their own developer docs, and Chrome's Lighthouse checks for one in its agentic browsing audit (llmstxt.org, v2).
  • Google Search does not use it. Google's guide to generative AI features (updated 10 July 2026) lists llms.txt among the things to ignore for Google Search, and says it "will neither harm nor help" a site there.
  • No major AI assistant has documented that it reads llms.txt to answer questions about a brand. Say so, and present the file as a low-cost aid for agents and documentation, not a visibility lever.

Sources and dates: references/sources.md.

Steps

  1. Check for an existing file. From this skill's folder: python3 scripts/check_llms_txt.py example.com (or --file path/to/llms.txt in a codebase). Add --links to find links that no longer open.
  2. Gather the key pages. Read the sitemap, the main navigation and the footer, or the codebase's routes. Pick the pages an agent would need to answer questions about the business: what it is, products and prices, docs, policies, contact. Keep the list short.
  3. Write the file in the order the format requires:
    • # Site name (the only required part);
    • > one-sentence summary of what the business does and for whom;
    • optional plain paragraphs for key facts or how to read the site (no headings);
    • ## Section headings, each with a list of - [Page name](https://full-url): what the page covers;
    • an optional ## Optional section for secondary links. Use full URLs. Write each note as a plain fact from the page, not marketing copy. A template is in assets/llms-template.txt.
  4. Place it at the site root (/llms.txt), or under a path it should cover (/docs/llms.txt). In a codebase, put it in the public or static folder, or add a route that serves it as plain text.
  5. Optional: markdown copies. The format suggests serving a clean markdown copy of key pages at the same URL with .md added, and pointing to it with <link rel="alternate" type="text/markdown">. Suggest this for documentation sites only, where agents use it most.
  6. Check the result with the script again.

Output

  • The llms.txt, ready to save, or the fixes to the existing one.
  • The checker's result.
  • One line on what the file will and will not do.

Ground rules

  • Every link must open and every note must match its page. Never list a page that does not exist.
  • Do not claim llms.txt improves rankings or AI visibility. Report what the sources say, with their dates.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.