Free tool

llms.txt and AGENTS.md generator

An llms.txt file is a short map of your site for language models, and an AGENTS.md file is the same idea for a repository: what this project is, how to run it, and what not to touch. Paste a site or a sitemap to draft llms.txt (and an excerpted llms-full.txt). Paste a public GitHub repo, or fill in the form, to draft AGENTS.md and CLAUDE.md.

The files are drafts. Read them, delete anything that is wrong, and commit the version you would want a stranger to follow. Ready-made skills for those agents are listed in agent skills.

Free · no sign-up · a URL is fetched on our server and not stored. The form stays in your browser.

Ready-made instructions for coding agents live in the agent skills directory. For crawlers, the robots.txt generator is the other file at the root of a site.

What a good llms.txt contains

The file is Markdown. An H1 is the name of the site. A blockquote under it is the one sentence a model should remember. Then come sections of links. The section named Optional is the one a model may skip when the context is short, so put the blog and the changelog there and keep the docs above it.

# Acme Preview

> Deploy previews for every pull request, for teams who review on a phone.

## Docs

- [Quick start](https://acme.dev/docs): Install the GitHub app and open a pull request.
- [Previews](https://acme.dev/docs/previews): How a preview URL is built and when it expires.

## Product

- [Pricing](https://acme.dev/pricing): Free for public repos. Paid seats for private ones.

## Optional

- [Changelog](https://acme.dev/changelog): What shipped this month.

Link titles should be the page, not the site name repeated eighty times. Descriptions are one clause. A file that lists every tag archive is worse than a short one, because the model spends its context on pages that do not answer the question.

llms-full.txt is the long version

Some sites also publish llms-full.txt with the text of the important pages in one file. Models that will not fetch twenty URLs can read that instead. This generator can only include an excerpt of each page it fetched. Treat it as a starting point, or paste the real docs in yourself. Do not publish a file that pretends to be complete.

What to put in AGENTS.md

Agents do better with a short file they can follow than with a manifesto. The useful sections are:

  • What this is. Two sentences. Who it is for, and what it does. Not a tagline.
  • Commands. The exact install, dev, test and lint commands. Agents guess npm test in a pnpm repo and waste the turn.
  • Conventions. The rules a new teammate would break once: which directory new code goes in, which pattern to copy.
  • Do not. Secrets, generated files, and the dependency you do not want added for a one-line helper.

Put CLAUDE.md next to it. If the only line in that file is @AGENTS.md, Claude Code reads the shared instructions and you only maintain one copy. Cursor, Codex and the others read AGENTS.md on their own.

A file in the repo root covers the whole project. A file in a subdirectory covers that part of the tree and overrides the root for files under it. Start with one file at the root. Add another only when a package has different commands.

For instructions that are really a skill (a repeatable job, with steps), publish a SKILL.md and list it. DevHunt keeps a directory of those at /agent-skills, with install commands for Claude Code, Codex, Cursor, Copilot and Gemini CLI.

Publishing the files

On a static host, save llms.txt in the public root. In Next.js, a file at public/llms.txt is served as-is, or you can generate it from a route the way this site does for /llms-full.txt. AGENTS.md and CLAUDE.md are committed at the root of the repo. They are not served to visitors unless you choose to.

Neither file is a substitute for the page itself. A model that quotes you will quote the page it fetched, and a coding agent that ignores the file will still read the code. Write the files so they match the code, then keep them in the same change as the behavior they describe.

Related tools: the robots.txt generator for crawlers, the meta tag generator for the title and the share image, and the social card checker to see what a live URL actually sends.

FAQ

What is an llms.txt file?+

A Markdown file at the root of a site (example.com/llms.txt) that gives a language model a map of the pages worth reading. It starts with an H1 and a short blockquote, then sections of links. The convention is published at llmstxt.org. It is a hint, not a ranking signal, and it does not replace a good page.

Where do I put llms.txt?+

At the root of the host, so it loads at https://yourdomain.com/llms.txt. A subdirectory is a different site and needs its own file. llms-full.txt, if you publish one, sits next to it.

What is the difference between llms.txt and llms-full.txt?+

llms.txt is the map: a title, a one-line summary and links. llms-full.txt is the long version, with the text of those pages in one file so a model can read it without fetching each URL. This tool writes excerpts of the pages it fetched, not a mirror of the whole site. Read them before you publish the file.

What is AGENTS.md?+

A Markdown file at the root of a repository that coding agents read before they edit: what the project is, how to run it, and what not to change. Cursor, Codex, Copilot, Gemini CLI and others look for it. Nested directories can have their own file for that part of the tree.

How is CLAUDE.md different from AGENTS.md?+

Claude Code reads CLAUDE.md. Other agents read AGENTS.md. Keeping two copies means they drift. The usual fix is a short CLAUDE.md that says @AGENTS.md, so Claude pulls in the shared file. This generator writes that pointer, or the same text in both files if you prefer.

Does the generator crawl my whole site?+

No. It fetches the URL you give it, looks for a sitemap (or the links on that page), and reads a handful of the most useful URLs: docs, pricing, about, and at most two blog posts. Private addresses are refused. The result is cached for a short time and then dropped.

Will it copy secrets out of a repository?+

It only reads public GitHub files: the README, the manifest and the names of a few root files. It does not look at env files, issues or private repos. The form on this page never leaves your browser.

Sources: llms.txt specification · AGENTS.md · Claude Code memory (CLAUDE.md). Checked 2026-11-29.