agentleFS
visibianvisibian/seo-geo-skills/skills/ai-crawler-access/SKILL.md

ai-crawler-access

Skill0 starsChanged 16 days agoMITView on GitHub

Check and write the robots.txt rules that decide which AI crawlers can read a website (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, PerplexityBot, Google-Extended, Googlebot, Bingbot, Applebot, Meta, Amazon, Mistral and more). Use when someone asks whether ChatGPT, Claude, Gemini, Perplexity or Copilot can read their site, whether to block GPTBot or AI training, why an assistant cannot see their pages, or wants robots.txt lines for AI crawlers.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search crawlers fetch pages so an assistant can find and cite them in answers (OAI-SearchBot for ChatGPT search, Claude-SearchBot, …

    line 16
  2. Distinctive:

    Read it with the script, from this skill's folder:

    line 25
  3. Very specific:

    add --path /pricing --path /blog/some-post to test the pages that matter most If Python or network access is not available, read the file …

    line 29
  4. Very specific:

    If Python or network access is not available, read the file yourself using the rules in references/matching-rules.md, and say that you did …

    line 30
  5. Very specific:

    Ask what the user wants if they have not said.

    line 32
  6. Distinctive:

    Check what robots.txt cannot.

    line 34
  7. Distinctive:

    Every claim about how an AI crawler behaves carries its source and the date it was read, and may have changed since.

    line 46
  8. Distinctive:

    No robots.txt change guarantees that an assistant names or cites a site.

    line 48

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI crawler access

Help the user decide, check and write which AI crawlers may read their site. Each AI company runs separate crawlers for separate jobs, and blocking the wrong one can take a site out of an assistant's answers.

The three kinds of crawler

  • Search crawlers fetch pages so an assistant can find and cite them in answers (OAI-SearchBot for ChatGPT search, Claude-SearchBot, PerplexityBot, Googlebot for Google Search with AI Overviews and AI Mode, Bingbot for Bing and Microsoft Copilot).
  • User fetchers open a page when a person asks an assistant about it (ChatGPT-User, Claude-User, Perplexity-User, meta-externalfetcher, MistralAI-User). Some do not always follow robots.txt.
  • Training crawlers and settings collect pages to train models (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, meta-externalagent, Amazonbot, MistralAI-Training, CCBot).

Blocking training does not remove a site from search answers. OpenAI, for example, treats GPTBot and OAI-SearchBot as separate settings. The full list, with what each crawler does, what blocking it changes and each company's documentation, is in references/ai-crawlers.md. Read it before advising on a specific crawler.

Steps

  1. Get the file. In a codebase, look for robots.txt in the public or static folder, or for code that generates it (for example app/robots.ts in Next.js, a robots setting in a CMS, or a server rule). Otherwise fetch it from the live site.
  2. Read it with the script, from this skill's folder:
    • live site: python3 scripts/aicrawlers.py example.com
    • a file in the codebase: python3 scripts/aicrawlers.py --file path/to/robots.txt
    • pasted text: save it to a file, or pipe it with --stdin
    • add --path /pricing --path /blog/some-post to test the pages that matter most If Python or network access is not available, read the file yourself using the rules in references/matching-rules.md, and say that you did it by hand.
  3. Explain the result in plain words: which assistants can find and cite the site, which cannot, and which training uses are allowed. Lead with anything that blocks a search crawler or a user fetcher, because that removes the site from answers.
  4. Ask what the user wants if they have not said. The usual choices are in references/policies.md. Training is a business decision with no single right answer; do not push either way.
  5. Write the lines. Give the exact robots.txt text for the chosen policy, keep the user's existing rules for other crawlers and paths, and keep the Sitemap: line. In a codebase, edit the file or the code that generates it, then run the script again on the result.
  6. Check what robots.txt cannot. Firewalls, CDN bot settings and server rules can turn crawlers away whatever robots.txt says. Ask whether the site uses a CDN or security service with AI crawler or bot settings, and tell the user to check them there.

Output

  • A short verdict: who can read the site for answers, who cannot, and what training use is allowed.
  • The table from the script, or your own table with the same columns.
  • The proposed robots.txt, ready to paste, and what changes for each crawler.
  • What you could not check.

Ground rules

  • Report what you observed or what a named source says. Never invent a score, a ranking or a statistic.
  • Every claim about how an AI crawler behaves carries its source and the date it was read, and may have changed since.
  • Robots.txt is a request. Crawlers that follow it obey it; it is not access control. Do not call it a security measure.
  • No robots.txt change guarantees that an assistant names or cites a site. Say that it decides whether the assistant can read the pages, nothing more.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.