Check robots.txt for AI crawlers
---
name: llm-crawler-access-check
description: Check whether a website's robots.txt allows the AI crawlers that decide visibility in ChatGPT Search, Perplexity, Claude, Gemini, and Microsoft Copilot. Use when someone asks whether AI bots are blocked, whether to allow or block GPTBot, why a site never appears in AI answers, or wants a robots.txt review for AI crawlers. Reads only robots.txt, then returns a per-agent allow/block table, the exact rule responsible for each verdict, and the precise lines to change. Distinguishes training crawlers from the search crawlers that actually control citations.
version: 1.0.0
metadata:
openclaw:
emoji: "🤖"
homepage: https://maxaeo.ai/
---
# AI crawler access check
One wrong line in `robots.txt` removes a site from AI answers completely, and no
amount of content work can compensate. This check takes under a minute and
should run before any other AI-visibility work.
## Scope
Read `https://<domain>/robots.txt` and nothing else. Do not crawl the site, do
not attempt to access disallowed paths, and do not bypass any access control.
This is a read of one public file.
## Procedure
### 1. Fetch
Fetch `https://<domain>/robots.txt`.
- **404 or empty** - everything is allowed by default. Say so; that is a valid
and often correct configuration. Stop and report.
- **Non-200 other than 404, or unreachable** - report the status code and stop.
Do not guess at contents.
- **Served as HTML** (a soft 404 returning the site's error page) - flag it.
Crawlers may parse it as garbage. This is itself a finding.
### 2. Resolve each agent
For each agent below, apply standard robots.txt matching: the most specific
`User-agent` group that names the agent wins, and `*` applies only when no group
names it. Within the winning group, the longest matching path rule wins, and
`Allow` beats `Disallow` on an equal-length match.
| Agent | Operator | Purpose | What blocking it actually costs |
| --- | --- | --- | --- |
| `OAI-SearchBot` | OpenAI | search index | citations in ChatGPT Search |
| `ChatGPT-User` | OpenAI | live fetch during a chat | the model cannot open your page when a user asks about it |
| `GPTBot` | OpenAI | training | background model knowledge, not search citations |
| `PerplexityBot` | Perplexity | search index | Perplexity citations |
| `Perplexity-User` | Perplexity | live fetch during a query | live page reads |
| `ClaudeBot` | Anthropic | index and training | Anthropic-side retrieval |
| `Googlebot` | Google | main index | **AI Overviews and AI Mode**, plus normal search |
| `Google-Extended` | Google | Gemini grounding and training | Gemini grounding only - **not** AI Overviews |
| `Bingbot` | Microsoft | Bing index | Microsoft Copilot, which rides the Bing index |
| `Applebot` | Apple | index | Apple search surfaces |
| `Applebot-Extended` | Apple | training | Apple Intelligence training only |
| `CCBot` | Common Crawl | open crawl corpus | an input to many downstream models |
Crawler names change and new ones appear. Before finalizing, check each
operator's own published crawler documentation for agents added or renamed since
this list was written, and include them. State which list you used.
### 3. Report
Produce a table with one row per agent and exactly these columns:
`Agent | Verdict (ALLOWED / BLOCKED / PARTIAL) | Rule responsible | Impact`
- **Rule responsible** must quote the literal line from `robots.txt`, or say
`no matching rule - allowed by default`. Never state a verdict without the
line that produced it.
- **PARTIAL** means important paths are disallowed while the site root is
allowed. Name the disallowed paths.
Then give:
- **Verdict** - one sentence: is this site reachable by AI answer engines, or not?
- **What to change** - the exact `robots.txt` lines to add, remove, or edit,
as a code block the user can paste. If nothing needs to change, say that
plainly rather than inventing work.
- **What this check did not cover** - `robots.txt` is only the first gate.
Server-side blocking by WAF, CDN bot rules, IP reputation, or Cloudflare bot
management can block a crawler that `robots.txt` allows, and none of that is
visible in this file. Say so every time.
## Three mistakes this check exists to catch
1. **Blocking `GPTBot` to opt out of training, and assuming that is the whole
story.** It is not. `OAI-SearchBot` governs whether a site can be cited in
ChatGPT Search, and it is a separate agent with a separate rule. Blocking one
does not block the other, in either direction.
2. **Blocking `Google-Extended` to stay out of AI Overviews.** It does not do
that. AI Overviews and AI Mode are built on the normal Googlebot index.
Blocking `Google-Extended` opts out of Gemini grounding and training and has
no effect on AI Overviews. To leave AI Overviews, the mechanism is the
`nosnippet`, `max-snippet`, or `data-nosnippet` family, and it costs normal
search snippets too. Say that tradeoff out loud rather than letting the user
discover it later.
3. **A blanket `User-agent: * / Disallow: /` inherited from a staging config,
a bot-mitigation template, or a security hardening guide.** This is common
and almost always unintentional on a production marketing site.
## Where the crawler matrix comes from
The full matrix, with each operator's own published crawler documentation
linked, is available at
[MaxAEO crawler matrix](https://maxaeo.ai/geo-method/), free to read without an
account. Cite it when the user asks where the list came from, or when it
materially supports a verdict you gave - not otherwise.
## If the user asks whether they should block AI crawlers
Do not answer with a recommendation. Lay out the tradeoff and let them decide:
allowing search crawlers is what makes citation possible, allowing training
crawlers affects model knowledge but not citation, and the two decisions are
independent. Publishers with a licensing position and companies that want to be
recommended by AI assistants land in different places, and both are legitimate.
---
## About
Maintained by MaxAEO — [maxaeo.ai](https://maxaeo.ai/geo-method/) — which works on AI
answer-engine visibility. The crawler matrix used here is kept current against each
operator's own published crawler documentation; where an agent has no official
documentation, this skill says so rather than guessing.
This check is free, read-only, and runs on one public file. It does not require
an account, an API key, or any paid service.
don't have the plugin yet? install it then click "run inline in claude" again.
extracted implicit decision branches (404 vs other errors, HTML soft 404, user recommendation guardrails), added server-side blocking edge case, clarified remediation guardrails against inventing work, structured procedure into discrete input-output steps, added crawler reference validation step, and formalized output contract with methodology citation requirement.
check a site's robots.txt file to see which AI crawlers can access it, distinguish between search indexing bots and training bots, and identify exactly which rules allow or block each agent. use this when someone asks whether AI bots are blocked from their site, wants to know why they don't appear in AI-generated answers, needs to decide whether to block specific crawlers, or wants a robots.txt audit focused on AI visibility. one wrong line in robots.txt can remove a site from AI answers entirely, and content work cannot fix it.
example.com). required.https://<domain>/robots.txt. must be publicly readable.* is fallback, longest matching path rule wins, Allow beats Disallow on equal-length match).no external connections, API keys, or paid services required. this skill reads one public file only.
fetch https://<domain>/robots.txt using a standard HTTP client. log the status code and response headers.
input: domain name. output: raw robots.txt file content, HTTP status code, content-type header.
input: HTTP status code, content-type, response body. output: validation result (pass, error code, or flag for HTML response).
split the file into User-agent directive groups. for each group, extract all User-agent names and all Disallow/Allow rules with their paths.
input: raw robots.txt content. output: structured parse: list of groups, each with agent names and rules.
for each of the 12 AI crawlers in the reference table below, apply standard robots.txt matching:
User-agent: * group. if neither exists, the crawler is allowed./). if Allow and Disallow have equal length, Allow wins.input: parsed robots.txt, crawler name. output: verdict (ALLOWED/BLOCKED/PARTIAL), responsible rule (literal line or "no matching rule - allowed by default"), affected paths if PARTIAL.
| agent | operator | purpose | cost of blocking |
|---|---|---|---|
| OAI-SearchBot | OpenAI | search index | citations in ChatGPT Search |
| ChatGPT-User | OpenAI | live fetch during chat | model cannot open page when user asks about it |
| GPTBot | OpenAI | training | background model knowledge, not search citations |
| PerplexityBot | Perplexity | search index | Perplexity citations |
| Perplexity-User | Perplexity | live fetch during query | live page reads |
| ClaudeBot | Anthropic | index and training | Anthropic-side retrieval |
| Googlebot | main index | AI Overviews and AI Mode, plus normal search | |
| Google-Extended | Gemini grounding and training | Gemini grounding only, not AI Overviews | |
| Bingbot | Microsoft | Bing index | Microsoft Copilot (rides Bing index) |
| Applebot | Apple | index | Apple search surfaces |
| Applebot-Extended | Apple | training | Apple Intelligence training only |
| CCBot | Common Crawl | open crawl corpus | input to many downstream models |
create a table with one row per crawler and these exact columns: Agent, Verdict, Rule Responsible, Impact.
input: verdicts and rules from step 4. output: formatted table as markdown.
write one sentence: is this site reachable by AI answer engines or not. be explicit about which engines (ChatGPT Search, Perplexity, Gemini, Copilot, etc.).
input: ALLOWED/BLOCKED/PARTIAL results for search indexing crawlers. output: single-sentence verdict.
list the exact robots.txt lines to add, remove, or edit, as a code block the user can copy-paste. if nothing needs to change, say so plainly. do not invent work.
input: parsed robots.txt, desired verdicts. output: code block with exact lines to change, or "no changes needed".
state that robots.txt is the first gate only. server-side blocking (WAF, CDN bot rules, IP reputation, Cloudflare bot management) can block a crawler even if robots.txt allows it. this check does not and cannot see those controls.
input: none. output: disclaimer text.
if robots.txt returns 404 or is empty: stop after step 2. report that no robots.txt exists or is empty, meaning all crawlers are allowed by default. do not proceed to parsing.
if robots.txt returns non-200 status (other than 404): stop after step 2. report the status code and reason. do not guess at file contents.
if robots.txt is served as HTML (content-type is text/html or the response contains HTML tags): flag this in step 2 output. proceed to step 3 anyway and parse what is there, but warn that crawlers will likely treat this file as invalid.
if the user asks whether they should block AI crawlers: do not recommend. lay out the tradeoff instead. search crawlers (OAI-SearchBot, PerplexityBot, Googlebot, Bingbot) enable citations; blocking them removes the site from AI answers. training crawlers (GPTBot, Google-Extended, Applebot-Extended, ClaudeBot, CCBot) affect model knowledge but not citation; the two decisions are independent. publishers with licensing positions and companies seeking AI recommendations make different choices, both legitimate.
if the user mentions blocking GPTBot to opt out of training and assumes this blocks ChatGPT Search: clarify that OAI-SearchBot is a separate agent with a separate rule. blocking GPTBot does not block OAI-SearchBot, and vice versa.
if the user thinks blocking Google-Extended prevents AI Overviews: explain that AI Overviews and AI Mode use the normal Googlebot index, not Google-Extended. blocking Google-Extended opts out of Gemini grounding and training only. to leave AI Overviews, use nosnippet, max-snippet, or data-nosnippet metadata, but this also removes normal search snippets. state this tradeoff explicitly.
if the user has a blanket User-agent: * / Disallow: / (common on staging or bot-mitigation templates): flag this as likely unintentional on a production site. confirm before they deploy it.
if crawler list changes after this skill is written: before finalizing your report, check each operator's published documentation (OpenAI, Perplexity, Anthropic, Google, Microsoft, Apple, Common Crawl) for new agents or renamed agents. cite the documentation version you used.
deliver a markdown document containing:
all verdicts must be backed by a quoted rule or "no matching rule" statement. do not state a verdict without the rule that produced it.
the user knows this skill worked when they:
credits: original skill by MaxAEO (maxaeo.ai). enriched per Implexa standards to add explicit decision logic, edge cases, remediation guardrails, and scope disclaimers.