---
title: "How to add llms.txt to a vibe coded site, and what it won't do"
description: "llms.txt is a Markdown list of your key pages for AI tools. What goes in it, what Google and Lovable say about it, and how to add one."
author: "Vimanyu Aggarwal"
date: "2026-12-01"
canonical: "https://vunora.ai/blog/llms-txt-vibe-coded-site"
---

# How to add llms.txt to a vibe coded site, and what it won't do

![A building directory board in a lobby, listing each floor and the businesses on it](https://vunora.ai/blog/llms-txt-vibe-coded-site.jpg)

An SEO scanner flagged your site for a missing llms.txt. Or a post on X said AI search tools skip any site without one. You built the site with Lovable, Bolt or Cursor, it already took more work than you planned, and now there is one more file you have never heard of.

Here is the short version. llms.txt is a small Markdown file that lists your key pages for AI tools, with a line about each. It takes little time to write and does no harm. Google says you do not need it to appear in its AI features, and Lovable's own SEO review does not count a missing file as a problem. Add one if you like. Spend the real effort on the pages it points to. Below is what goes in the file, what each party says about it, and how to add it with or without Vunora.

## What llms.txt is

The [llms.txt](https://vunora.ai/glossary/llms-txt) file is a proposal by Jeremy Howard, published on llmstxt.org on September 3, 2024. The page calls it "a proposal to standardise on using an `/llms.txt` file to provide information to help agents use a website."

The file is Markdown. It sits at the root of your site, at `/llms.txt`, and points AI tools at the pages that matter most. The format has one required part: "An H1 with the name of the project or site. This is the only required section." After that, the proposal allows a blockquote with a short summary, then sections under H2 headings, each with a list of links. The proposal also suggests a plain Markdown copy of each page, but the list file stands on its own.

Here is a short one, written for a few of this site's own pages:

```markdown
# Vunora

> The Super CMS for vibe coded websites.

## Pages

- [Check your site](https://vunora.ai/check): See the page text Google reads first, next to the page a person sees
- [SEO](https://vunora.ai/product/seo): The search checks Vunora runs on a site
- [Research](https://vunora.ai/research/crawler-first-read): What Google gets from a vibe coded home page

## Posts

- [How to add llms.txt to a vibe coded site](https://vunora.ai/blog/llms-txt-vibe-coded-site): What goes in the file and what it won't do
```

It is not [robots.txt](https://vunora.ai/glossary/robots-txt). robots.txt holds rules about which paths a crawler may fetch. llms.txt is a reading list. It allows nothing and blocks nothing. It is not a [sitemap](https://vunora.ai/glossary/sitemap) either. A sitemap lists every address you want indexed, and llms.txt picks the few you want an AI tool to start from.

## What Google says about llms.txt

Google has a page on its AI features, AI Overviews and AI Mode. It is direct: "You don't need to create new machine readable files, AI text files, or markup to appear in these features." The page does not mention llms.txt at all.

It asks for what any search result needs. In its words, "a page must be indexed and eligible to be shown in Google Search with a snippet." It also says "Indexing and serving isn't guaranteed."

So for Google, llms.txt changes nothing. Google has to index your pages and be able to read them. On a vibe coded site, that is where the real work sits. [Why search engines skip your vibe coded pages](https://vunora.ai/blog/why-search-engines-skip-your-vibe-coded-pages) walks through the usual causes.

## What Lovable says about llms.txt

Lovable has a page on SEO and AI search. It says: "Lovable does not require `llms.txt`, and the SEO & AI search review does not treat a missing file as a problem." It adds: "If your project already has an `llms.txt` file, Lovable continues to serve it."

The page draws no line here between Lovable's two generations of app: the ones made from May 13, 2026, which run on TanStack Start, and the older Vite and React ones. Either way, Lovable treats the file as yours to add or leave out.

## Who reads llms.txt

The proposal says who it had in mind. It reads: "Our expectation was that llms.txt would mainly be useful for _inference_ rather than _training_." In plain words, the file is for a tool that fetches your site at the moment someone asks it something, such as a coding assistant reading documentation. It is not aimed at the crawlers that gather pages to train a model.

Documentation sites use it most. The docs of OpenAI, Perplexity, Next.js and Lovable each point to an llms.txt index of their own pages.

The crawler pages tell a different story. OpenAI's page on its crawlers, Anthropic's page on its crawler and Perplexity's page on its crawlers explain their robots.txt rules. None of them says the crawler reads llms.txt.

So publishing the file is common among documentation sites. Proof that it brings a site more citations or more visits is another matter: none of the sources above offers any, and Vunora has none either. Treat it as a tidy extra, not a fix.

## When to add one anyway

The file is cheap, so the question is less "should I" and more "what comes first".

**Before you write llms.txt**

- Not done yet: Each page you plan to list sends its words in the page your server returns
- Not done yet: The pages are indexed in Google
- Not done yet: robots.txt lets in the AI crawlers you want
- Not done yet: You know which five to fifteen pages you want an AI tool to start from
- Not done yet: You have a one-line summary of what your site is

_Do the first three before the file. A list of links to pages that look empty to a tool helps no one._

The first line is the one that catches vibe coded sites. A site built with [client side rendering](https://vunora.ai/glossary/client-side-rendering), such as an older Vite and React app, can send a near-empty page until its JavaScript runs. A tool that follows your llms.txt links and runs no JavaScript then finds little on each page. [What AI crawlers get from a JavaScript page](https://vunora.ai/blog/ai-crawlers-do-not-run-javascript) shows how to test yours.

Good reasons to add the file:

- You have docs, an API or a help center. AI coding tools and assistants that look things up are the readers the proposal had in mind.
- You want one place that names your key pages. The file makes you decide which pages matter, and that helps even if no tool reads it.
- A scanner you use asks for it. Adding the file clears the warning and changes nothing else on the site.

## How to add llms.txt yourself

The file is plain text in your repository, so the steps are the same on most vibe coded sites.

### 1. Write the file

Start with your site's name as an H1, one line of summary, then a list of links with a short line each. Use full addresses on your own domain, not the tool's preview address.

A coding tool can draft it from your routes:

**Prompt for Claude Code or Cursor**

```text
Draft an llms.txt file for this site, following the format at llmstxt.org. Do not commit anything until I say yes.

1. Start with "# " and the site's name, taken from the home page title.
2. Add one line starting with "> " that says what the site is, from the home page's meta description.
3. Add a "## Pages" section. List the main public pages as Markdown links with full addresses on https://YOUR-DOMAIN. After each link, add ": " and one short line from that page's meta description.
4. If the site has a blog, add a "## Posts" section with the ten most useful posts, in the same form.
5. Leave out login, account, admin, thank-you and test pages.
6. Save it as public/llms.txt and show me the file.
```

Paste it in your tool, opened in your site's repository.

### 2. Put it in the public folder

On a Vite site, including older Lovable apps, the `public` folder is the place. Vite's docs say Vite serves files there "at root path `/` during dev". When you build, they are "copied to the root of the dist directory as-is." Their own example of such a file is `robots.txt`.

Next.js serves the files inside `public` from the base URL, so `public/llms.txt` answers at `/llms.txt`. On any other framework, check where it serves plain files from.

### 3. Deploy and check the live address

After your host deploys, test the file on your live domain:

```bash
curl -sI https://yoursite.com/llms.txt
curl -s https://yoursite.com/llms.txt | head -5
```

The first command should show a `200` status and a `content-type` of `text/plain` or `text/markdown`. The second should print your `#` line. If it prints `<!doctype html>` instead, your host answered with your app's page, not the file. That happens when a host is set to send the app's index.html for any address it does not know. The file is then not where the host expects it.

### 4. Keep it current

Add a line when you publish a page that belongs on the list. If your framework can build the file at build time from your routes, that keeps it current with no extra step.

## How Vunora checks llms.txt

Vunora's [SEO checklist](https://vunora.ai/product/seo) has a check named llms.txt, in its AI search group. When the checklist runs, it reads the file at your live site's root.

**The llms.txt check in Vunora**

|                                          | Result      | What it says                          |
| ---------------------------------------- | ----------- | ------------------------------------- |
| A text file at /llms.txt                 | Passes      | llms.txt is at the site root.         |
| No file, or an HTML page at that address | Warning     | No llms.txt at the site root.         |
| A file over 500 KB                       | Not checked | Not checked: llms.txt is over 500 KB. |

_Messages as Vunora shows them._

A missing file shows as a warning, because nothing breaks without it. An address that answers with your app's HTML page counts as no file, which catches the single page app trap from step 3.

On a Next.js or Vite site, the card offers Fix llms.txt. Vunora writes `llms.txt` into your site's `public` folder from what it already holds for the site:

- your site's name and its description, or the home page's meta description
- the title, address and meta description of each published page and post
- no drafts, and no page set to noindex

It uses no AI to write the file. The fix goes to your repository the way your site sends every other edit: a commit to your branch, or a pull request. You get the file without going to a developer. On a site that commits straight to its branch you see "Vunora saved the fix for llms.txt to main. Run the checklist again once your site has deployed." The file reaches your live site when your host deploys that change.

If your repository already has an llms.txt with content, or builds one in code, Vunora leaves it alone and writes nothing beside it.

## Where this stops

- No promise of citations or traffic. Vunora checks that the file is there. It cannot make an AI tool read it, quote it or send you visitors.
- Vunora writes the file once. It does not rewrite an llms.txt that exists, so pages you publish later need adding by hand.
- The fix covers Next.js and Vite sites. On any other site, the card says "Vunora adds llms.txt on Next.js and Vite sites only. Add an llms.txt file at your site root by hand."
- Vunora never hosts your site. The fix is a change in your repository. Your host serves it.
- llms.txt does not change what each page sends. If your pages look empty before JavaScript runs, llms.txt does not fix that. Vunora cannot change how your site renders. [How to do generative engine optimization on a vibe coded site](https://vunora.ai/blog/ai-search-for-vibe-coded-sites) puts the file in order with the rest.

## Questions

### Is llms.txt required for SEO?

No. Google says you do not need "AI text files" to appear in AI Overviews or AI Mode, and the same page does not mention llms.txt. Lovable's SEO review does not count a missing file as a problem.

### Does ChatGPT read llms.txt?

OpenAI's page on its crawlers explains GPTBot, OAI-SearchBot and ChatGPT-User and says nothing about llms.txt. OpenAI's docs publish one for their own pages. That is as far as OpenAI's public pages go.

### Where does llms.txt go on a Vite or Lovable app?

In the `public` folder, which Vite copies to the root of the built site, so the file answers at `/llms.txt`. After the deploy, open that address on your own domain and check you get the text, not your app's page.

### Is llms.txt the same as robots.txt?

No. robots.txt holds rules for what a crawler may fetch. llms.txt is a reading list and blocks nothing. To let AI crawlers in or keep them out, change robots.txt: [what to put in robots.txt on a vibe coded site](https://vunora.ai/blog/robots-txt-vibe-coded-site) covers the lines.

### Should llms.txt list every page?

No. Your sitemap is the full list. Put the pages an AI tool should read first in llms.txt: what you sell, your pricing, your docs and your best guides.

## Sources

- llmstxt.org, The /llms.txt file, read December 1, 2026: <https://llmstxt.org/>
- Google Search Central, AI features and your website, read December 1, 2026: <https://developers.google.com/search/docs/appearance/ai-features>
- Lovable, SEO and AI search, read December 1, 2026: <https://docs.lovable.dev/features/seo-aeo>
- Lovable, Upgrade a project to TanStack Start, read December 1, 2026: <https://docs.lovable.dev/features/upgrade-to-tanstack-start>
- OpenAI, Overview of OpenAI crawlers, read December 1, 2026: <https://developers.openai.com/api/docs/bots>
- Perplexity, Perplexity crawlers, read December 1, 2026: <https://docs.perplexity.ai/guides/bots>
- Anthropic, Does Anthropic crawl data from the web, and how can site owners block the crawler?, read December 1, 2026: <https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler>
- Vite, Static asset handling, the public directory, read December 1, 2026: <https://vite.dev/guide/assets>
- Next.js, public folder, read December 1, 2026: <https://nextjs.org/docs/app/api-reference/file-conventions/public-folder>

_Drafted with AI help and checked against the product._
