LLM Docs
LLM Docs are plain-text exports of your approved knowledge for models: an index, the complete text in one file, and each page as raw Markdown. They are a build output under dist/: every documentation site build writes them into the website folder, and the site can link them for readers. If you need the text without a website — to paste into a model's context or import into a retrieval system — ask for a standalone LLM text package.
flowchart LR
approved["Approved pages<br/>and knowledge map"] --> site["Website build"]
approved --> llms["LLM text package<br/>(optional)"]
site --> sitellms["LLM Docs inside<br/>the website folder"]
llms --> pkg["dist/name/ text bundle"]What you get
| File | Content |
|---|---|
llms.txt | Index that keeps the knowledge map's grouping, order and repeated placements |
llms-full.txt | All selected approved text, each page once, in first-placement order |
llms/pages/<identity>.txt | One raw Markdown file per approved page |
llms/index.html | Landing page on the website: index and full-text links followed by the knowledge map |
With a website, these files sit inside the website folder and follow its address prefix; nothing extra needs to be asked for. They stay in the primary language even when the site has translations. Text files carry a UTF-8 byte-order mark so browsers detect the encoding when a host omits the charset; serve them as text/plain; charset=utf-8.
A standalone text package
Choose an LLM text package when you want one consolidated file that is easy to copy, index or upload, without the Agent Skill packaging. Ask for it in the work-start report or later:
Also build an LLM text package for this knowledge.
It produces llms.txt from its own template, plus llms-full.txt and the per-page files, organized by the same knowledge map, and it can sit alongside a knowledge package. The declaration the Agent adds is described in Project API.
Freshness
Only approved, selected content is exported. Any change to the map or a page rebuilds both the website and its LLM Docs, and a failed build keeps the previous output. For packages built for Agents with a query Skill, see Knowledge Packages.
LLM Docs
LLM Docs 是把已批准的知识导出为供模型使用的纯文本:一个索引、一个包含全部文本的文件,以及每个页面的原始 Markdown。它们是 dist/ 下的构建产物:每次构建文档站都会把它们写入网站文件夹,站点也可以为读者链接它们。如果你需要文本而不需要网站——例如粘贴到模型上下文中,或导入检索系统——请要求构建一个独立的 LLM 文本包。
flowchart LR
approved["已批准的页面<br/>和知识地图"] --> site["网站构建"]
approved --> llms["LLM 文本包<br/>(可选)"]
site --> sitellms["网站文件夹内的<br/>LLM Docs"]
llms --> pkg["dist/name/ 文本包"]你会得到什么
| 文件 | 内容 |
|---|---|
llms.txt | 索引,保留知识地图的分组、顺序和重复出现的位置 |
llms-full.txt | 所有选中的已批准文本,每个页面只出现一次,按首次出现的位置排序 |
llms/pages/<identity>.txt | 每个已批准页面对应一个原始 Markdown 文件 |
llms/index.html | 网站上的入口页:先是索引和全文链接,后面是知识地图 |
有网站时,这些文件位于网站文件夹内,并沿用网站的地址前缀;无需额外要求。即使站点有翻译,它们也保持主语言。文本文件带有 UTF-8 字节顺序标记(BOM),这样即使托管服务省略了字符集,浏览器也能识别编码;请以 text/plain; charset=utf-8 提供它们。
独立的文本包
如果你想要一个便于复制、索引或上传的合并文件,而不需要 Agent Skill 打包,请选择 LLM 文本包。可以在 开工报告 中或之后提出:
再为这份知识构建一个 LLM 文本包。
它会根据自己的模板生成 llms.txt,另外生成 llms-full.txt 和逐页面的文件,并按同一份知识地图组织;它可以与知识包并存。Agent 添加的声明见 Project API。
时效性
只有已批准且被选中的内容才会被导出。知识地图或任何页面发生变化,都会重新构建网站及其 LLM Docs,而构建失败时会保留之前的产出。关于为 Agent 构建、带查询 Skill 的知识包,请参阅 知识包。