Skip to content

fix: add missing ai crawlers and correct omgili spelling#307

Open
hlassiege wants to merge 1 commit into
nuxt-modules:mainfrom
hlassiege:fix/ai-bots-list
Open

fix: add missing ai crawlers and correct omgili spelling#307
hlassiege wants to merge 1 commit into
nuxt-modules:mainfrom
hlassiege:fix/ai-bots-list

Conversation

@hlassiege

@hlassiege hlassiege commented Jul 17, 2026

Copy link
Copy Markdown

🔗 Linked issue

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

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 📖 Documentation (updates to the documentation or readme)

📚 Description

AiBots had not kept up with the crawlers vendors actually run, so blockAiBots: true silently under-delivers today.

ClaudeBot was missing. The list only carries the legacy Claude-Web and anthropic-ai names, so blockAiBots: true does not block Anthropic's current crawler at all. This is the one that matters most: users enabling the option reasonably believe Claude is covered, and it is not. Same story for OAI-SearchBot, meta-externalagent, Amazonbot, MistralAI-User, DeepSeekBot and a few others.

Omigili / OmigiliBot are misspellings. The real Webz.io agents are omgili / omgilibot (note the transposed i). Matching is case-insensitive, but this is an extra letter, not a case difference, so both entries match no real user agent. Replaced with the correct spelling.

Names now follow ai.robots.txt, which seems to be the de-facto reference list.

Search crawlers stay out, by design

I kept the list to AI-only agents so that blockAiBots never costs a site its search visibility or its social previews. Three deliberate omissions, now documented in a comment so they don't get "fixed" later:

  • Googlebot — only Google's AI surfaces are listed, so the site stays indexed
  • Applebot — powers Siri and Spotlight; only its AI counterpart Applebot-Extended belongs here
  • facebookexternalhit — fetches Open Graph previews; blocking it kills link previews on Facebook and WhatsApp

Scope

This is a curated subset, not all ~180 entries of ai.robots.txt: I left out the coding agents (Cursor, Devin, ...) and generic scrapers, which feel closer to NonHelpfulBots than to blockAiBots. Happy to trim or extend to taste. GoogleOther is the one judgment call I would flag: ai.robots.txt lists it and Google documents it as serving R&D, but it is more general-purpose than the rest, so say the word if you would rather drop it.

No test added: the change is data-only, and an inline snapshot of the full list would need updating on every future addition for little value. Glad to add one if you disagree.

📝 Checklist

  • I have linked an issue or discussion (none exists; happy to open one if you prefer).
  • 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: 3a6192b

@hlassiege

Copy link
Copy Markdown
Author

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

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.

1 participant