Skip to content

[geo-optimizer] Add robots.txt with AI bot Allow rules to docs site (github.github.com/gh-aw/) #46054

Description

@github-actions

GEO Improvement: Add robots.txt to docs site

Source audit: GEO Audit Report — 2026-07-16
Audit date: 2026-07-16
Run: §29517087856

Finding

"Create robots.txt with Allow rules for AI bots (GPTBot, ClaudeBot, PerplexityBot)"

The docs site at github.github.com/gh-aw/ currently scores 0/15 on the Robots.txt check. No robots.txt file is present at the docs domain, meaning major AI crawlers (GPTBot, ClaudeBot, PerplexityBot) have no explicit permission signal to index the site. This affects all 10+ sitemap pages.

Why this matters

Without explicit Allow rules, AI search engines may deprioritize or skip crawling the docs site entirely, reducing citation coverage in ChatGPT, Claude, Perplexity, and similar tools. Adding robots.txt is the single highest-impact fix (+15 pts on the robots check alone) and immediately benefits every page on the docs domain.

Suggested fix

  1. Create robots.txt at the root of the docs site (github.github.com/gh-aw/robots.txt) with the following content:
User-agent: *
Allow: /

User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

Sitemap: https://github.github.com/gh-aw/sitemap.xml
  1. If the docs site is generated by a static site generator (e.g., Docusaurus, Jekyll), add the robots.txt to the static/ or root assets directory so it is published at the correct path.

  2. After publishing, verify with: curl https://github.github.com/gh-aw/robots.txt

  3. Re-run gh aw run geo-optimizer to confirm the score improvement.

Generated by 🌍 GEO Optimizer Daily Audit · 27.8 AIC · ⌖ 9.73 AIC · ⊞ 4.9K ·

  • expires on Jul 23, 2026, 8:56 AM UTC-08:00

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions