---
title: "robots.txt: 配置 AI 爬虫规则 | Agent-Ready Check"
description: "robots.txt 仍是网站声明抓取政策的唯一机器可读位置，也是 Agent 最先获取的文件。文件缺失或格式无效，意味着所有爬虫都只能靠猜。 返回 HTTP 200，内容为纯文本且至少包含一条 User-agent 指令。"
locale: zh-Hans
canonical: https://geo.vsyour.com/agent-ready/zh/checks/robots-txt/
---

# robots.txt

> 类别: 可发现性

robots.txt 仍是网站声明抓取政策的唯一机器可读位置，也是 Agent 最先获取的文件。文件缺失或格式无效，意味着所有爬虫都只能靠猜。

## 为什么重要

后续一切都建立在它之上：sitemap 引用、AI 爬虫规则和 Content Signal 都写在这个文件里。

## 通过标准

返回 HTTP 200，内容为纯文本且至少包含一条 User-agent 指令。

## 如何为 AI Agent 实施 robots.txt

Goal: 发布 /robots.txt，写明清晰的抓取规则。

返回 HTTP 200，内容为纯文本且至少包含一条 User-agent 指令。

分步实施提示词属于付费层。免费层提供诊断、证据和规范链接。

规范: https://www.rfc-editor.org/rfc/rfc9309
实施技能: https://geo.vsyour.com/agent-ready/.well-known/agent-skills/robots-txt/SKILL.md

