在 site 根目录创建 llms.txt/llms-full.txt/skill.md 供 AI 引擎爬虫抓取。
llms.txt 来源: https://llmstxt.org/
skill.md (Anthropic 推动):https://agentskills.io/home
Both llms.txt and skill.md files help agents work with your documentation, but they serve different purposes.
llms.txt is a directory. It lists all your documentation pages with descriptions so agents know where to find information.skill.md is a capability summary. It tells agents what they can accomplish with your product, what inputs they need, and what constraints apply.llms.txt 和 skill.md 文件都可帮助 agents 处理您的文档,但它们的作用不同。
llms.txt 是一个目录。它列出了您所有的文档页面及其描述,以便代理知道在哪里查找信息。skill.md 是一个能力摘要。它告诉代理他们可以使用您的产品完成什么,需要什么输入,以及适用哪些限制。
llms-full.txt是llms.txt的延伸。llms.txt主要列出 path/reference,llms-full.txt则将所有内容聚合到一个文件中。
llms.txt 以及 skill.md 不仅仅用于 site 站点部署以供 AI 爬虫引擎抓取,还可以主动将
原文件或者其URL给到 AI Model,让 AI Model 通过 mcp/web-search 等能力获取该内容并提供对应的服务能力,提升 tokens 质量。
agents.md (OpenAI 推动):https://agents.md/
skills 发现(Vercel 推动): https://skills.sh/