Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    robots.txt Builder & Tester: Control AI Crawlers like GPTBot

    1

    Decides which AI and search crawlers to allow, then builds and tests robots.txt: block training bots like GPTBot while keeping AI search citations, with an allow/block matrix on Google's matching rules and a lint.

    Free

    Security scanned
    robots.txt Builder & Tester: Control AI Crawlers like GPTBot

    robots.txt Builder & Tester: Control AI Crawlers like GPTBot

    Example session with this skill installed

    Block all AI training bots including GPTBot and ClaudeBot, but allow AI search bots to cite my blog. Keep /account private. Sitemap is https://example.com/sitemap.xml.

    • Read your context and instructions
    • Compiled the robots txt builder

    I have generated a robots.txt policy that prioritizes AI search visibility while opting out of model training.

    AI Crawler Access Strategy

    POLICY

    • Goal: Opt-out of training, opt-in for search citations.

    Allow: Search engines (Googlebot, Bingbot), AI Search (OAI-SearchBot, Claude-SearchBot, Perplexity-SearchBot), User Fetchers (ChatGPT-User).

    • Block: Training bots (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot).

    Reasons: Blocking GPTBot prevents training data collection while allowing OAI-SearchBot keeps the site eligible for citations in ChatGPT.

    ROBOTS.TXT

    User-agent: *
    Disallow: /account
    Sitemap: https://example.com/sitemap.xml
    
    User-agent: GPTBot
    Disallow: /
    
    User-agent: ClaudeBot
    Disallow: /
    
    User-agent: Google-Extended
    Disallow: /
    
    User-agent: CCBot
    Disallow: /
    
    User-agent: Applebot-Extended
    Disallow: /
    

    TEST MATRIX

    PathGooglebotGPTBotOAI-SearchBotClaudeBot
    /ALLOWBLOCKALLOWBLOCK
    /blog/postALLOWBLOCKALLOWBLOCK
    /accountBLOCKBLOCKBLOCKBLOCK

    LINT FIXES

    • Verified: No Disallow: / in the default group.
    • Verified: No Noindex: directives found.
    • Verified: CSS/JS paths are not obstructed by specific agent blocks.

    LIMITS

    • Robots.txt is a request. Malicious crawlers may ignore these rules.
    • Google AI Overviews are controlled via nosnippet tags, not Google-Extended.

    Next steps

    1. Upload the generated robots.txt to https://example.com/robots.txt.
    2. Run python3 scripts/robots_test.py test --url https://example.com/robots.txt in 24 hours to verify the live file.
    3. Monitor your search console for any drop in crawl rate for your main content.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Blocking "AI" in one line usually blocks the wrong thing: the crawlers that train models and the AI search crawlers that cite and link your site are separate bots. This skill sets a policy per bot, writes the robots.txt and shows exactly what it allows.

    What it does

    • Decision table: training crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot and more), AI search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) and user-triggered fetchers, with what blocking each one really changes.
    • Current tokens: 19 search and AI crawler tokens checked against their operators' documentation, with old or misspelled tokens flagged.
    • Builder: a standard-library Python script writes robots.txt from presets such as "block training, allow AI search", with your private paths and sitemap.
    • Tester: tests any paths against any user agents with Google's longest-match rules, * and $ wildcards and Allow/Disallow precedence, and prints an allow/block matrix with the deciding rule.
    • Lint: site-wide Disallow left from staging, blocked CSS and JS, missing Sitemap, Noindex lines Google ignores, unknown directives, BOM, full browser strings used as user agents.
    • Honest limits: explains that robots.txt is a request, not enforcement, and that blocking does not remove data already collected.

    How it works

    1. Paste or point to your robots.txt and say what you want from AI tools.
    2. Pick a policy from the decision table and build the file.
    3. Test the matrix, fix the lint, upload and re-test your live file.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Marketing & SEO.

    robots.txt is a request; some crawlers and user-triggered fetchers may not follow it, and blocking does not remove data already collected. The tester follows Google's rules; other crawlers can read edge cases differently. It fetches only your own site's robots.txt when you use --url, and does not set up server or CDN blocking.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    • Free with an Agensi account

    Accounts
    Example
    Software
    Python 3

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files

    Allowed Hosts

    www.example.com
    your-site
    example.invalid
    host
    Listed12 days ago
    Updated6 days ago

    What's inside

    Frequently Asked Questions

    Usually, yes. Training crawlers like GPTBot and search crawlers like OAI-SearchBot and PerplexityBot are separate tokens, and the skill builds a file that blocks one group and allows the other. Being cited is not guaranteed.

    No. AI Overviews are part of Google Search and use Googlebot. The skill explains the snippet controls Google offers instead.

    Only bots that choose to follow it. It is a request, not enforcement, and it does not delete data already collected. For enforcement you need server or CDN bot rules.

    No. It writes a robots.txt file for you to upload and tests files you give it. With --url it reads your site's current robots.txt once.

    It is optional. Google says no special AI text files are needed for its AI features, so the skill treats it as an extra, not a fix.

    New in Marketing & SEO

    Free