> ## Content Index
> Fetch the complete content index at: https://yinguobing.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# llms.txt来了：Ghost博客的AI友好升级
- URL: https://yinguobing.com/blog/when-blog-opens-to-ai/
- Published: 2026-07-17T09:38:52.000Z
- Updated: 2026-07-17T09:38:52.000Z
- Description: Ghost 6.52.1为每篇公开文章生成了Markdown版本。AI正在倒逼所有平台降低信息交换的阻力。
- Author: 尹国冰
- Tags: AI, AI协作, Agent

Ghost博客6.52.1版本增加了AI搜索优化功能，具体表现为两点。

第一点，在域名根路径下新增了两个文件`llms.txt`与`llms-full.txt`。`llms.txt`是在AI兴起之后，为了方便AI抓取网站内容而提出的一种解决方案。这个文件内容以纯文本的方式记录了网站的主要信息。例如我的博客网站对应的`llms.txt`内容截取如下，受限于篇幅，内容做了部分省略。

```txt
# 尹国冰的博客
> AI路上，与你同行！
Public Ghost content for AI and LLM tooling. Use `/llms-full.txt` for consolidated page and post context.
Append `.md` to any post or page URL to get the content in Markdown (for example, `/example-post.md`).

## Pages
- [关于我](https://yinguobing.com/blog/about.md) - 你好！ 我是国...
- [Books](https://yinguobing.com/blog/books.md) - 以下是我推…
- [数据集](https://yinguobing.com/blog/dataset.md) - 深度学习新手项目常用公开数据集
- [精选内容](https://yinguobing.com/blog/featured.md)
...省略...

## Posts
- [他带了一段代码来找我](https://yinguobing.com/blog/a-stranger-with-code.md) - 一段对话，一张考核表，一个曾经熟悉如今已陌生的职场记忆。
- [3.33元](https://yinguobing.com/blog/3-33-yuan.md) - 陌生人从公众号找到我，给了一个红包。钱不多，意义不小。
- [《百问百答》第4期：一句话搞定免费SSL证书](https://yinguobing.com/blog/qa100-e4-setup-free-ssl-with-ai.md) - 3分钟帮你搞定免费SSL证书
- [《百问百答》第3期：AI帮写软著材料？真行！](https://yinguobing.com/blog/qa100-3-ai-software-copyright.md) - 如果你有自己开发的软件，不妨尝试在AI的帮助下申请一次，保护自己的知识产权。
...省略...

## Optional
- [RSS Feed](https://yinguobing.com/blog/rss/)
- [Sitemap](https://yinguobing.com/blog/sitemap.xml)
- [Full content of pages and posts](https://yinguobing.com/blog/llms-full.txt)
```

这个文件是由Ghost Blog自己生成的，包含网站简介与使用方式、页面、文章与可选项四大章节。每一篇具体的内容则给出了具体的以md结尾的文章链接。`llms-full.txt`则包含了文章的具体内容。

第二点，为每一篇公开文章提供了Markdown版本，并且可以直接访问。例如我有一篇文章链接为

```
https://yinguobing.com/blog/a-stranger-with-code/
```

你打开以后它就是一个图文并茂的正常网页。

![](https://yinguobing.com/blog/content/images/2026/07/image-2.jpg)

将尾部的`/`替换为`.md`之后

```
https://yinguobing.com/blog/a-stranger-with-code.md
```

就可以获得这篇文章的Markdown版本

![](https://yinguobing.com/blog/content/images/2026/07/md.jpg)

这种纯文本的方式尤其适合AI来消化。

很明显，AI的扩张正在重塑整个数字世界。以前的人机二元交互逐渐向“人”、“AI”、“机器”三元交互转变。各种应用、平台不得不主动向AI靠拢，降低自己与AI交换信息的阻力。