# 自动生成的 llms.txt

**URL:** <https://meta.discourse.org/t/automatically-generated-llms-txt/411435>\
**Category:** Announcements\
**Tags:** ai, upcoming-changes\
**Created:** [2026 年9 月 2 日 03:10 UTC](https://meta.discourse.org/t/automatically-generated-llms-txt/411435 "2026-09-02T03:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2026 年9 月 2 日 06:15 UTC](https://meta.discourse.org/t/automatically-generated-llms-txt/411435/7 "2026-09-02T06:15:26Z")

</div>

我认为这个模板对 99% 的网站来说都足够好了，基本上涵盖了所有关键点。

但是……如果出于某种原因它不符合你的具体规则，那么在启用即将推出的更改后，我会复制文本，按需编辑，然后上传一个自定义版本。

不过，我强烈建议在使用 llms.txt 时要非常谨慎。你需要的是一张可选的地图，而不是一份详尽的清单。

每个 token 都有成本。如果你的上下文窗口是 120k，然后你说“去查看网站上的 X”，结果机器人因为读取了你创建的巨大 llms.txt 而消耗了 60k 个它根本不需要 token，这只会导致混淆和糟糕的结果。

所以，如果我要进行自定义……它可能只会非常精简。

> 机器人请勿访问我的网站

或者

> 每次会话最多搜索 3 次。

当然，llms.txt 并不是一个已批准的规范，而且很少有 LLM 会主动遵循它。如今，LLM 通常只是依赖“搜索”和“获取”工具，因此它们往往能找到深层链接。

---

_[View the full topic](https://meta.discourse.org/t/automatically-generated-llms-txt/411435)._
