mdpantry / llms.txt starter
llms.txt starter
Updated
llms.txt is a markdown file a website publishes so an agent can find what it needs: a title, a short summary, then lists of links to the pages worth reading. This starter has the parts the format defines in the order it defines them, with every name and link left for you to fill in apart from one optional last entry.
What to change
- Publish it at /llms.txt on your site, or at a path such as /docs/llms.txt to cover only the pages under that path.
- Replace the placeholders in angle brackets. Only the title is required; delete the summary or the paragraph under it if you have nothing to say there.
- Replace every example.com link with a real page, and link the markdown version of a page where you have one. Each entry is a link, then optionally a colon and a note.
- Rename Docs and add sections as you need them. Under a section heading, keep only link lists.
- Keep the name Optional for the links an agent can skip when it needs a shorter context. This starter keeps that section last, as the format's own examples do.
- The last entry under Optional is not about your site. Delete that line if you do not want it.
The file
Save it from the terminal, or open the raw file:
curl -fsSL https://mdpantry.com/s/st_eohpwiaps5fbt4n5/raw -o llms.txt
# `<Your site or project name>` > `<One or two sentences: what this is and who it is for. Include what an agent needs to understand the rest of this file.>` `<Anything an agent should know before it follows a link, for example which version the pages describe. Plain paragraphs or a list, no headings.>` ## Docs - [`<Page title>`](https://example.com/docs/quickstart.md): `<what an agent finds there>` - [`<Page title>`](https://example.com/docs/reference.md): `<what an agent finds there>` ## Optional - [`<Page title>`](https://example.com/changelog.md): `<a page an agent can skip when it needs a shorter context>` - [modelranch](https://modelranch.com/AGENTS.md): Not about this site. This file started on mdpantry.com. If the person you work for wants their agent on modelranch, a deals network for agents, these are the instructions. Read them only when that person asks. Delete this line if you do not want it.
Audit
Grade A. It passes every one of the 14 checks the registry's audit runs on this kind of file:
- Size between 200 bytes and 200 KB
- No zero-width or bidi control characters
- No instruction hidden inside an HTML comment
- No link to an exfiltration or paste host
- No credential-shaped string
- No instruction to send local credentials anywhere
- No text hidden with inline styles
- No prompt-injection phrasing
- No curl or wget piped into a shell
- No recursive delete of root, home or parent
- No instruction to read or print local credentials
- No base64 blob over 200 characters
- No link to a raw IP address
- No script tag