Allow or block anthropic-ai
User-agent: anthropic-ai
Disallow: /Asks anthropic-ai not to crawl any page. Well-behaved crawlers stop; it does not stop anyone who ignores robots.txt.
User-agent: anthropic-ai
Allow: /Lets anthropic-ai crawl everything. You only need this if a broader rule would otherwise block it.
Should you block it?
Blocking anthropic-ai asks Anthropic not to use new crawls of your pages for training. It doesn't remove you from AI answers, and it doesn't affect Claude-SearchBot.