fix: sync AI crawler user agents#307
Merged
Merged
Conversation
The AiBots list had not kept up with the crawlers vendors actually run. ClaudeBot, the crawler Anthropic uses today, was absent: the list only carried the legacy Claude-Web and anthropic-ai names, so blockAiBots did not block Anthropic at all. Same for OAI-SearchBot, meta-externalagent, Amazonbot, MistralAI-User, DeepSeekBot and others. Omigili/OmigiliBot were misspellings of omgili/omgilibot (Webz.io) and matched no real user agent. Names now follow the ai.robots.txt reference list, restricted to AI crawlers. Search crawlers stay out by design, so blockAiBots never costs search visibility: Googlebot, Applebot (Siri, Spotlight) and facebookexternalhit (Open Graph previews) are deliberately absent, while Google-Extended and Applebot-Extended are listed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
commit: |
Contributor
Author
|
FYI, the PR has been made with Claude. But I checked the problem and validated the fix on my own project |
Contributor
|
Thanks (: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Linked issue
None. Found while auditing the generated
robots.txtof a downstream project.❓ Type of change
📚 Description
Updates
AiBotswith current, documented product tokens from OpenAI, Anthropic, Google, Meta, Amazon, Mistral, and other crawler operators. It also fixes the misspelled Webz.io tokens,OmigiliandOmigiliBot.The list leaves out
GoogleOther, which Google documents as a generic crawler, plus entries supported only by third-party directories. The docs now state that blocking AI search and retrieval agents can reduce visibility in generated answers, and that some user-triggered agents may ignore robots.txt.Adds unit coverage for duplicate tokens, current names, and the corrected Webz.io spellings.
📝 Checklist