Machine Discovery & llms.txt
Technical SEO & AI InfrastructureWhat llms.txt Does for a Blog and How to Set It Up
For blogs, llms.txt is a proposed Markdown guide to the site, with a summary and links to useful pages. PublishAnswers.com generates one for hosted blogs. It can help tools that choose to read it, but it is not a crawler permission file, a Google indexing requirement or a guarantee of AI citations.
What to put in an optional Markdown directory, and how it differs from a sitemap and crawler rules.
On this page▸
What is llms.txt, and why isn't sitemap.xml enough?
A sitemap lists public URLs for search engines. An llms.txt file can give a tool that reads it more context about what each page covers.
Place the optional Markdown file at /llms.txt. Describe the site in a few sentences and link to useful canonical pages with a short note about each one.
Keep the pages themselves accessible and useful. The directory is a proposal, and different tools decide whether to read it.
robots.txt vs sitemap.xml vs llms.txt side by side
Each machine discovery file at the root of your blog serves a distinct consumer and purpose:
| Discovery File | Format | Primary Consumers | Core Job |
|---|---|---|---|
| /robots.txt | Plain text directives | All search & AI crawlers | Grants or denies crawl access per user-agent and points to sitemap.xml |
| /sitemap.xml | XML Sitemap protocol | Search engines | Lists canonical public URLs and their update dates |
| /feed.xml | RSS 2.0 XML | Feed readers, aggregators, syndication | Streams chronological post headlines, summaries, and publication dates |
| /llms.txt | Markdown (UTF-8) | LLMs, AI agents, RAG retrievers | Provides a concise semantic map of site overview, guides, and post excerpts |
How to format an llms.txt file (with a production example)
Test the directory the way a reader would. Follow the link to the most important guide, check that it opens the public article and compare its address with the canonical in the HTML. Replace an old alias or a link to a draft with the current public URL. If the Markdown file disappeared tomorrow, your main navigation and sitemap should still lead to the guide.
A clean llms.txt guide follows a predictable Markdown hierarchy: an H1 with your site or publication name, a blockquote summarizing the site in one or two sentences, and H2 sections grouping your core pages and published articles with short descriptions.
# Acme Cloud Engineering Blog
> Practical guides on PostgreSQL scaling, zero-downtime migrations, and Kubernetes cost control by the Acme Cloud team.
## Core Pages
- [Blog Home](https://blog.acme.com/): All engineering articles and tutorials
- [About Acme](https://acme.com/about): Platform architecture and team
## Published Articles
- [Zero-Downtime Postgres Migrations](https://blog.acme.com/zero-downtime-postgres-migrations): How to add columns, backfill data, and swap constraints without locking production tables.
- [Kubernetes Request vs Limit Tuning](https://blog.acme.com/kubernetes-cpu-memory-tuning): Benchmarks for right-sizing pod memory requests and eliminating OOMKilled restarts.How to set separate policies for AI search and training crawlers
Decide which public articles you want search services to fetch. OAI-SearchBot, Claude-SearchBot and PerplexityBot support search. OpenAI’s GPTBot and Anthropic’s ClaudeBot collect material for model development. Each provider documents how to set its permissions.
In this example, the publisher welcomes search crawlers on the blog and opts out of collection by two training crawlers. The first group excludes application routes, which also need authentication. Replace the example domain with your own.
User-agent: *
Disallow: /app/
Disallow: /api/
User-agent: GPTBot
User-agent: ClaudeBot
Disallow: /
Sitemap: https://example.com/sitemap.xmlHow PublishAnswers.com automates machine discovery files on every blog
Maintaining discovery files by hand breaks down as soon as you publish weekly or translate articles into multiple languages. In PublishAnswers.com, the moment you create a blog—whether on yourname.pixelclaw.app or a custom domain—the platform automatically serves /sitemap.xml, /robots.txt, /feed.xml, and /llms.txt.
When a new article clears the publish bar and goes live, it is added to sitemap.xml and llms.txt immediately, and eligible blogs can notify IndexNow and Google Search Console without manual scripts.
- While sitemap.xml lists raw URLs for traditional crawlers, llms.txt gives language models a curated Markdown directory with titles and descriptions.
- Check your crawler settings and firewall rules. Training crawlers, search crawlers and user-requested fetchers have different purposes; allow or block them according to your publishing preferences.
- Protect private routes with authentication. robots.txt guides compliant crawlers but does not prevent unauthorized access or guarantee removal from search.
- Every hosted PublishAnswers.com blog automatically generates and updates /llms.txt, /sitemap.xml, /robots.txt, and /feed.xml whenever a post is published or unpublished.
- Use supported sitemap submission and IndexNow notifications to report updates. Search engines control crawl timing, indexing and rankings.
Frequently Asked Questions
Does llms.txt replace sitemap.xml or robots.txt?
No. A sitemap lists the canonical pages you want crawled. Robots.txt describes which paths a compliant crawler may visit. You can also publish an llms.txt guide for tools that choose to use it.
What is the difference between /llms.txt and /llms-full.txt?
The root /llms.txt file is a compact index listing your site summary and annotated links to key pages and posts so an AI agent can quickly choose which URL to fetch. An optional /llms-full.txt file expands the full documentation or product specifications inline in a single Markdown document.
What happens if my robots.txt blocks AI crawlers?
A robots.txt rule applies to the crawler named in that rule. Blocking a training crawler is different from blocking a search crawler. Review each provider's documented user agents and your firewall settings; crawler access alone does not guarantee that an assistant will retrieve or cite a page.
How does IndexNow work with my blog's sitemap?
IndexNow can notify participating search engines when a URL changes. Keep the sitemap current as a separate record of public URLs. The search engine decides when to crawl and index the page.
Do translated blog posts appear in sitemap.xml and llms.txt?
Yes. Published translations appear as distinct public URLs with their own localized titles and excerpts, paired with hreflang alternate tags so search and AI engines serve the right language version.
Sources
- llmstxt.org: The /llms.txt Proposed Standard Specification — llmstxt.org (Defines the markdown format for /llms.txt and /llms-full.txt files at the root of a domain.)
- OpenAI Platform Documentation: GPTBot and OAI-SearchBot User-Agent Tokens — OpenAI (Lists official robots.txt user-agent tokens and IP ranges for OpenAI crawlers.)
- How Anthropic uses its web crawlers — Anthropic (Explains the purposes of Claude-SearchBot, Claude-User and ClaudeBot.)
- Perplexity crawlers — Perplexity (Describes which crawler surfaces links in search and how user-requested fetches work.)
- IndexNow.org: Instant Search Engine URL Notification Protocol — IndexNow (Documents real-time URL ping mechanics supported by Microsoft Bing, Yandex, Naver, and Seznam.)
Built & scored using PublishAnswers.com
More from this blog
Continue exploring autoblogging architecture, AI blog writing, and SEO / AEO / GEO playbooks.
AEO vs GEO vs SEO: What Each One Means for Your Blog
Search visibility now spans traditional blue links, direct answer snippets, and generative AI citations. Here is how SEO, AEO, AIO, GEO, and SXO work together on every post.
PublishAnswers.com Editorial Team
Product and search team
Headless Blog API for AI Blogging with Next.js, Signed Webhooks and MCP
How engineering teams integrate autonomous content pipelines into Next.js and Astro apps using REST APIs, HMAC-SHA256 webhooks, and Claude MCP tools.
PublishAnswers.com Editorial Team
Product and search team

Autoblogging in 2026: How to Run a Blog That Publishes Itself and Still Ranks
What autoblogging looks like when it works: a topic queue, research before writing, a score that holds weak drafts back, and editorial review before a draft reaches readers.
PublishAnswers.com Editorial Team
Product and search team
Playbooks · Programmatic SEO vs Autoblogging: Which Architecture Builds Stronger Organic Traffic?, Source-Grounded AI Writing: How to Reduce Hallucinated Stats and Dead Links in Automated Blogs, B2B SaaS Autoblogging: Build Useful Guides and Measure Qualified Demos