Skip to content

fix: sync AI crawler user agents#307

Merged
harlan-zw merged 2 commits into
nuxt-modules:mainfrom
hlassiege:fix/ai-bots-list
Jul 22, 2026
Merged

fix: sync AI crawler user agents#307
harlan-zw merged 2 commits into
nuxt-modules:mainfrom
hlassiege:fix/ai-bots-list

Conversation

@hlassiege

@hlassiege hlassiege commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

🔗 Linked issue

None. Found while auditing the generated robots.txt of a downstream project.

❓ Type of change

  • 🐞 Bug fix
  • 📖 Documentation

📚 Description

Updates AiBots with current, documented product tokens from OpenAI, Anthropic, Google, Meta, Amazon, Mistral, and other crawler operators. It also fixes the misspelled Webz.io tokens, Omigili and OmigiliBot.

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

  • I have linked an issue or discussion
  • I have updated the documentation accordingly

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>
@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxtjs/robots@307

commit: f62f14a

@hlassiege

Copy link
Copy Markdown
Contributor Author

FYI, the PR has been made with Claude. But I checked the problem and validated the fix on my own project

@harlan-zw harlan-zw changed the title fix: add missing ai crawlers and correct omgili spelling fix: update AI crawler user agents Jul 22, 2026
@harlan-zw harlan-zw changed the title fix: update AI crawler user agents fix: sync AI crawler user agents Jul 22, 2026
@harlan-zw

Copy link
Copy Markdown
Contributor

Thanks (:

@harlan-zw
harlan-zw merged commit ae71c92 into nuxt-modules:main Jul 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants