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 sitemaps is a particular case
A sitemap is the strongest possible starting point, because it already enumerates the canonical public URLs. The work is pruning rather than discovery, which is a much easier problem.
A sitemap lists everything indexable, and llms.txt should list what is worth reading. Expect to cut most of it. A hundred-URL sitemap usually yields ten to twenty entries that genuinely help.
What to leave out of a sitemaps 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.
- Every URL that exists only because a template generated it.
- Near-duplicate pages the sitemap treats as distinct.
- Deep pages that only make sense after reading a parent page you have not included.
Workflow
Add a sitemap when you need many related public pages, then filter down to the pages that are actually relevant.
- Collect the authoritative sitemaps 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 freeFrequently asked questions
Can I use this llms.txt from sitemaps 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.