Generate an llms.txt-style file from Notion

An llms.txt file gives AI systems a clean map of important site or project information. Riflet can help assemble that source material from Notion workspace exports 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 Notion is a particular case

A Notion workspace is usually mostly internal. The publishable slice is narrow: product overviews, published help pages, changelogs, and public roadmaps. Everything else in the workspace exists to run the company, not to describe it.

The decision is not which pages are good, it is which pages are already public or safe to make public. If a page would surprise you on the marketing site, it does not belong in llms.txt.

What to leave out of a Notion 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.

  • Meeting notes, hiring pipelines, and finance databases.
  • Draft pages that contradict what is currently shipped.
  • Anything with client names or commercial terms in it.

Workflow

Connect your Notion workspace to Riflet with a connection token, or export the pages as Markdown and CSV and add the exported folder.

  • Collect the authoritative Notion 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 Notion 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.