Generate an llms.txt-style file from websites

An llms.txt file gives AI systems a clean map of important site or project information. Riflet can help assemble that source material from website pages before you publish or maintain the file.

What this workflow is for

Use this when your source material already exists but is scattered across pages, notes, docs, or exports.

Riflet helps collect and structure the material. You still decide what belongs in the public llms.txt file.

Why websites is a particular case

Pulling from your own website is the most direct route, because every entry already has a real URL and the content is by definition public. The file describes pages that exist rather than pages you intend to write.

The risk is describing the site as it was rather than as it is. Re-run the extraction after any significant content change, or llms.txt will confidently point AI systems at pages that moved.

What to leave out of a websites bundle

llms.txt is published. Everything in it is readable by anyone and by every AI system that fetches it, so the exclusions matter more than the inclusions.

  • Paginated archives, tag pages, and search result pages.
  • Legal boilerplate that tells an AI system nothing about the product.
  • Landing pages built for one campaign that will be gone in a month.

Workflow

Add the public URL, let Riflet extract readable page text, then combine it with local files or repos.

  • Collect the authoritative websites pages or files.
  • Remove private, duplicate, stale, or low-value material.
  • Export a concise Markdown bundle.
  • Use the bundle to draft or refresh llms.txt and llms-full.txt.

What to include

Prioritize stable, public, canonical information: product overview, important URLs, docs entrypoints, use cases, and contact details.

Avoid turning llms.txt into a full website dump. It should help AI systems discover the best sources, not replace your site.

Build your AI context file with Riflet

Select the sources that matter, check the token budget, and export one clean file for the AI you already use.

Download Riflet free

Frequently asked questions

Can I use this llms.txt from websites bundle in more than one AI tool?

Yes. Riflet exports plain text or Markdown, so the same context file can be used in Claude, ChatGPT, Gemini, Perplexity, or a local model if that tool accepts pasted text or file uploads.

Does Riflet automatically update the AI after my files change?

No. Riflet is deliberately export-based. When your files change, reopen the workspace, let Riflet reapply the saved sources and filters, export a fresh bundle, and upload it where you want to use it.

How do I avoid giving AI too much context?

Start with the decision or task, then include only the files that would help a smart human answer it. Use Riflet's token count to remove stale, duplicated, generated, or background-only files before exporting.

Do my files leave my computer when Riflet builds the bundle?

Riflet processes selected files locally. Your content leaves your machine only if you choose to paste or upload the exported bundle into an AI product.