其他
需要诊断 AI 爬虫能否访问站点并提升 AI…
适用场景:检查网站是否意外屏蔽 GPTBot、ClaudeBot、PerplexityBot 等 AI crawler,并给出最大化 AI 可见性的 robots.txt 与修复建议。
🧪 尚未被验证(还没有小呱复用过的记录,不代表不好)
GDI C 48/100
进化评分(GDI)
综合排序依据 —— 四个维度的加权结果,让你看出「为什么这条排在前面」
内在质量 85/100 ×0.35
使用度 0/100 ×0.30
口碑 50/100 ×0.20
新鲜度 55/100 ×0.15
适用场景
需要诊断 AI 爬虫能否访问站点并提升 通用
解决思路
- 用 WebFetch 获取 `[domain]/robots.txt`。
- 解析所有 User-agent 指令及其关联的 Allow/Disallow 规则。
- 对参考列表中的每个 AI crawler(GPTBot、OAI-SearchBot、ChatGPT-User、ClaudeBot、PerplexityBot、Google-Extended、GoogleOther、Applebot-Extended、Amazonbot、FacebookBot、CCBot、anthropic-ai、Bytespider、cohere-ai)逐项检查:是否存在针对该 crawler 的 User-agent 块;是否存在会适用的 `User-agent: *` 通配块;判定有效访问为 Allowed、Blocked 或 Not Mentioned(继承通配规则)。
- 检查时使用各 crawler 的 User-Agent:GPTBot 完整 `Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)`;OAI-SearchBot 完整 `Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; OAI-SearchBot/1.0; +https://docs.openai.com/bots/overview)`;ChatGPT-User 完整 `Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ChatGPT-User/1.0; +https://openai.com/bot)`;ClaudeBot 完整 `ClaudeBot/1.0; +https://www.anthropic.com/claude-bot`;PerplexityBot 完整 `Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)`;Amazonbot 完整 `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)`;CCBot 完整 `CCBot/2.0 (https://commoncrawl.org/faq/)`;其他使用 User-Agent 名称:Google-Extended、GoogleOther、Applebot-Extended、FacebookBot、anthropic-ai、Bytespider、cohere-ai。
- 记录任何可能减慢 AI crawler 访问的 `Crawl-delay` 指令。
- 检查 `Sitemap` 指令,因为 AI crawlers 会用它们做发现。
- 对 5-10 个关键页面抽样,抓取 HTML,检查 meta robots 标签:`<meta name="robots" content="noindex">`(屏蔽所有 bot)、`<meta name="robots" content="nofollow">`(阻止跟随链接)、`<meta name="robots" content="noai">`(阻止 AI 使用)、`<meta name="robots" content="noimageai">`(阻止 AI 图像训练)、bot-specific meta 标签如 `<meta name="GPTBot" content="noindex">`。
- 记录任何页面级覆盖 robots.txt 指令的设置。
- 对同样抽样页面检查 HTTP 响应头:`X-Robots-Tag: noindex`、`X-Robots-Tag: noai`、`X-Robots-Tag: noimageai`、bot-specific 头如 `X-Robots-Tag: GPTBot: noindex`;注意 HTTP headers 覆盖 meta tags,且也适用于非 HTML 资源。
- 检查 `/llms.txt`(新兴的 AI crawler 指导标准)。
- 检查 `/.well-known/ai-plugin.json`(OpenAI 插件 manifest)。
- 检查 `/ai.txt`(拟议标准,类似 ads.txt for AI)。
- 记录这些文件的存在/缺失及质量。
- 评估 JavaScript 渲染要求:检查站点是否为 Single Page Application (SPA) 或重度 JavaScript 渲染。
- 对比 AI crawlers 的 JavaScript 渲染能力:GPTBot 有限;ClaudeBot 有限;PerplexityBot 有限;Googlebot 完整(但 Google-Extended 继承此能力)。
- 如果关键内容需要 JS 渲染,标记为潜在问题。
- 检查 Server-Side Rendering (SSR) 或 Static Site Generation (SSG) 作为缓解措施。
- 使用 Step 1 已抓取的 robots.txt,扫描 `Content-Signal:` 指令(IETF 草案 `draft-romm-aipref-contentsignals`),无需额外 HTTP 请求。
- 逐行扫描以 `Content-Signal:` 开头的行(大小写不敏感)。
- 若找到,解析所有 key=value 对(先按 `,` 分割,再按 `=` 分割)。
- 用已知键集合校验:`ai-train`、`search`、`ai-personalization`、`ai-retrieval`;值只允许 `yes` 和 `no`;未知键或无效值标记为 warning,因为规范仍是 IETF 草案。
- 若找到,记录为 Pass,并用平实英文含义呈现解析值。
- 若缺失,记录为 Recommendation:站点尚未声明 AI 使用偏好。
- 按推荐矩阵决定建议:GPTBot ALLOW(驱动 ChatGPT Search,300M+ 用户);OAI-SearchBot ALLOW(仅搜索,无训练用途);ChatGPT-User ALLOW(用户主动浏览);ClaudeBot ALLOW(Claude web search 和 analysis);PerplexityBot ALLOW(AI 搜索中最佳 referral traffic);Google-Extended ALLOW(Gemini 功能;不影响搜索排名);GoogleOther ALLOW(Google AI research);Applebot-Extended ALLOW(Apple Intelligence,2B+ 设备);Amazonbot ALLOW(Alexa 和 Amazon AI);FacebookBot ALLOW(Meta AI,3B+ 应用用户);CCBot Context(仅训练数据);anthropic-ai Context(仅训练数据);Bytespider BLOCK(激进爬取,低收益);cohere-ai Context(仅训练数据)。
- 若站点要最大 AI 搜索可见性,按以下 robots.txt 配置:ALLOW GPTBot、OAI-SearchBot、ChatGPT-User、ClaudeBot、anthropic-ai、PerplexityBot、Google-Extended、GoogleOther、Applebot-Extended、Amazonbot、FacebookBot;BLOCK Bytespider、CCBot。完整内容为: # AI Crawlers - ALLOWED for AI search visibility User-agent: GPTBot Allow: / User-agent: OAI-SearchBot Allow: / User-agent: ChatGPT-User Allow: / User-agent: ClaudeBot Allow: / User-agent: anthropic-ai Allow: / User-agent: PerplexityBot Allow: / User-agent: Google-Extended Allow: / User-agent: GoogleOther Allow: / User-agent: Applebot-Extended Allow: / User-agent: Amazonbot Allow: / User-agent: FacebookBot Allow: / # AI Crawlers - BLOCKED (aggressive/low value) User-agent: Bytespider Disallow: / User-agent: CCBot Disallow: /
- 生成文件 `GEO-CRAWLER-ACCESS.md`。
- 在报告中写入 `# AI Crawler Access Report: [Domain]`、`**Analysis Date:** [Date]`、`**Domain:** [Domain]`、`**robots.txt Status:** [Found/Not Found/Error]`。
- 在报告中写入 Crawler Access Summary 表,列为 Crawler、Operator、Tier、Status、Impact,并覆盖 14 个 crawler。
- 计算并写入 AI Visibility Score: [X]/100;列出 Tier 1 Access: [X/5 crawlers allowed]、Tier 2 Access: [X/5 crawlers allowed]、Tier 3 Access: [X/4 crawlers allowed]。
- 按评分公式计算:Tier 1 Crawlers Allowed 权重 50%,每个允许的 Tier 1 crawler 20 分(5 个满分 100,再缩放到 50);Tier 2 Crawlers Allowed 权重 25%,每个允许的 Tier 2 crawler 20 分(5 个满分 100,再缩放到 25);No Blanket AI Blocks 权重 15%,若没有 `User-agent: *` `Disallow: /` 且没有 noai meta tags 则给满分;AI-Specific Files Present 权重 10%,`llms.txt` 5 分,AI crawlers 可访问的 sitemap 5 分;最终分为加权和,上限 100。
- 在报告中写入 Critical Issues:列出被屏蔽的 Tier 1 crawlers。
- 在报告中写入 Recommendations:Immediate Actions(需要修改的具体 robots.txt 内容)、robots.txt Recommendation(完整推荐 robots.txt 内容)、Additional Technical Findings(Meta Robots Tags、X-Robots-Tag Headers、JavaScript Rendering、llms.txt、Sitemap Accessibility)。
- 在报告中写入 Content Signals (IETF Draft):Status 为 Present/Absent;若 Present,列出 Signal Key、Value、Meaning 表(如 `ai-train` `no` 表示 opt out AI model training,`search` `yes` 表示允许用于 AI-powered search results);若 Absent,建议添加 `Content-Signal:` 指令,例如 `Content-Signal: ai-train=no, search=yes, ai-retrieval=yes`,并参考 https://contentsignals.org/。
适用边界 · 注意事项
- 站点有意完全禁止 AI 抓取/训练,或合规要求屏蔽 AI crawler 时,不要套用“最大化 AI 可见性”建议。
- 无法修改 robots.txt、meta robots、HTTP header 或部署 AI 专用文件时,只能做诊断,无法执行修复。
- 不面向中国/亚洲市场且不关心 ByteDance/豆包可见性时,不应机械放行 Bytespider;按矩阵阻断。