agent-readiness-audit
Skill0 starsChanged 37 days agoMITView on GitHub
Audit whether AI agents and AI crawlers can actually use a site, offline on files you export: robots.txt rules per AI crawler token (OpenAI, Anthropic and Perplexity bots, Google-Extended, Applebot-Extended; RFC 9309 matching), Product/Offer/Organization/FAQ JSON-LD, whether the main content is in the no-JavaScript server HTML, accessibility basics, Merchant Center feed completeness incl. native_commerce checkout eligibility and conversational attributes, an optional agentic-commerce feed, and an optional experimental WebMCP check. Runs scripts/agent_readiness_audit.py (standard library only; network only with --fetch). Use when asked whether AI agents can use or read a site, whether GPTBot, ClaudeBot or OAI-SearchBot is blocked, whether a product feed is ready for AI shopping, or to run an agent-readiness check. Never recommends llms.txt for Google.
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- docker/docstheir own version, first seen Apr 24, 2026
- indranilbanerjee/digital-marketing-proedited, first seen Feb 12, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- indranilbanerjee/digital-marketing-pro★ 93460% same
Wrote their own version · 1
- docker/docs★ 4.7ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Every check is deterministic and runs in scripts/agent_readiness_audit.py.
- Very specific: line 56
All checks run offline on files the user exports.
- Distinctive: line 65
Ask for these if they would change the audit: whether the site sells products (feed checks apply), whether it runs ChatGPT ads (the …
- Very specific: line 97
Collect inputs: Ask for exports first. If the user only has a URL, confirm they want a live fetch before using --fetch.
- Distinctive: line 104
no Organization markup anywhere is a warn
- Very specific: line 117
webmcp: always info. WebMCP is a Chrome origin trial (from Chrome 149) and "under active discussion and subject to change" (Chrome docs).
- Very specific: line 119
Prioritize fixes: Use the script's recommendations array as the backbone.
- Very specific: line 151
Crawler access table: every token, its role, allowed / partially_blocked / blocked per tested path, the deciding robots rule, and the …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent readiness audit
This skill answers one question with evidence from the site's own files: can AI agents and AI crawlers use this site? It reports what a deterministic script found. It does not predict rankings or citations, it does not make the owner's policy decisions for them, and it never recommends llms.txt for Google.
What it checks
Five things:
- AI crawlers are allowed to reach the content.
- The content is in the HTML the server sends, so it does not depend on JavaScript running.
- Structured data says what the page is.
- The product feed is complete enough for AI shopping surfaces.
- Optionally, the site exposes agent tools (WebMCP).
Every check is deterministic and runs in scripts/agent_readiness_audit.py. You add interpretation and the owner's policy decisions on top of the script's output; you never replace that output with judgment.
What the primary sources say (checked 2026-10-04)
From Google's AI optimization guide (last updated 2026-07-10):
- No special files. Under the heading "Mythbusting generative AI search: what you don't need to do", Google lists "LLMS.txt files and other 'special' markup". It says "You don't need to create new machine readable files, AI text files, markup, or Markdown to appear in Google Search" and that "Google Search itself doesn't use them." This skill never recommends llms.txt for Google.
- Structured data: "Structured data isn't required for generative AI search, and there's no special schema.org markup you need to add." The audit checks JSON-LD because it powers rich results (merchant listings, organization info), not because AI features require it.
- JavaScript: "Google is able to process content within JavaScript as long as it isn't blocked." The no-JS check is a robustness test: content that is already in the server HTML can be read by every crawler and agent, whether or not it runs JavaScript.
- Agents: browser agents may analyze screenshots, inspect the DOM structure, and interpret the accessibility tree. Hence the accessibility-basics check. Google names the Universal Commerce Protocol (UCP) as an emerging protocol.
AI crawler tokens (each checked on the vendor's own page)
| Token | Vendor | Role in the audit | What blocking it means (vendor's words, paraphrased) | Source |
OAI-SearchBot | OpenAI | search: must be allowed | Site not surfaced in ChatGPT search features | OpenAI bots |
ChatGPT-User | OpenAI | user fetch: must be allowed | User-initiated visits. OpenAI: robots.txt "may not apply" to these | same |
OAI-AdsBot | OpenAI | ads: must be allowed | Validates the safety of pages submitted as ChatGPT ads. The script flags it whether or not the site runs ChatGPT ads | same |
GPTBot | OpenAI | training: policy | Content excluded from foundation-model training | same |
Claude-SearchBot | Anthropic | search: must be allowed | Content not indexed for Claude's search results | Anthropic |
Claude-User | Anthropic | user fetch: must be allowed | Claude can't retrieve the page for a user's question. Anthropic says it honors robots.txt for all three of its bots | same |
ClaudeBot | Anthropic | training: policy | Future content excluded from training datasets | same |
PerplexityBot | Perplexity | search: must be allowed | Not surfaced or linked in Perplexity results (Perplexity says it is not used for model training) | Perplexity bots |
Perplexity-User | Perplexity | user fetch: must be allowed | Perplexity says this fetcher "generally ignores robots.txt rules" | same |
Google-Agent | user fetch: must be allowed | Agents on Google infrastructure that browse and act on a user's request. Google: user-triggered fetchers "generally ignore robots.txt rules"; Google is testing Web Bot Auth with the https://agent.bot.goog identity | Google user-triggered fetchers (checked 2026-10-27) | |
Google-GeminiNotebook | user fetch: must be allowed | Fetches URLs a user adds as sources in a Gemini Notebook project. It replaces Google-NotebookLM, "supported until August 2026": the audit warns when robots.txt still names the old token | same | |
Google-Extended | training: policy | Controls use for Gemini training and grounding. It "does not impact a site's inclusion in Google Search nor is it used as a ranking signal", and it has no separate user-agent string | Google crawlers | |
Applebot-Extended | Apple | training: policy | Controls use in Apple foundation-model training. It does not crawl, and pages that disallow it "can still be included in search results" | Apple |
"Policy" means that blocking training crawlers is the site owner's choice. The audit reports it as info unless the owner sets --training-policy allow|block, in which case a mismatch fails the check.
What you need
All checks run offline on files the user exports. The script fetches over the network only with --fetch.
- robots.txt:
--robots FILE, or--site URL --fetch. Add--path /products/(repeatable) to test the paths that matter, beyond/, which is always tested. A--pathmust start with/; the script refuses anything else (exit2). On Windows, Git Bash (the shell Claude Code's Bash tool runs) rewrites/products/into a Windows folder before Python sees it: setMSYS_NO_PATHCONV=1for the command, as below, or write//products/, which the script reads as/products/. TheVAR=value commandprefix is POSIX shell syntax; drop it in PowerShell or cmd, which don't rewrite paths. - Server HTML:
--html FILE(repeatable). Save it as the server sends it, for example withcurl -L URL > page.html, not "Save as" from a browser, which saves the post-JavaScript DOM. Add--expect "Product name"(repeatable) for text that must be in that HTML, such as a product name or price. - Merchant Center feed export:
--feed FILE(TSV, CSV, or RSS/Atom XML withg:attributes). - Agentic-commerce product feed (optional):
--acp-feed FILE. Accepts the JSONL "OpenAI format" or the Google-compatible CSV/TSV (spec). - WebMCP (optional, experimental):
--webmcp. - Owner policy:
--training-policy either|allow|block. The default,either, reports training-crawler rules without judging them.
Ask for these if they would change the audit: whether the site sells products (feed checks apply), whether it runs ChatGPT ads (the OAI-AdsBot finding applies), and whether the owner has a stated stance on AI training.
Running the audit
<skill-dir> is the folder that contains this SKILL.md. Run the script with Python 3.10 or newer: python, or python3 where python is not found (macOS, many Linux systems).
MSYS_NO_PATHCONV=1 python <skill-dir>/scripts/agent_readiness_audit.py \
--robots robots.txt --path /products/ \
--html home.html --html product.html --expect "Acme Anvil" \
--feed products.tsv --acp-feed openai-feed.jsonl --webmcp \
--training-policy either --format json > audit.jsonLive variant, used only when the user agreed to network access:
python <skill-dir>/scripts/agent_readiness_audit.py --site https://example.com --fetch \
--page https://example.com/products/anvil --format jsonUse python3 where python is not Python 3. --format text prints a short human-readable summary instead of JSON. With --fetch the script requests /robots.txt, the site URL and each --page, and identifies itself with the User-Agent DMP-agent-readiness-audit/1.0; every request is recorded in the fetched array of the output.
Exit codes:
0: no check failed (warnings allowed)1: at least one check failed2: bad input (nothing to audit, a missing, unreadable or unparseable file, a bad flag, a--paththat doesn't start with/). The JSON output then carries anerrorkey.
On 2, fix the input and re-run. Do not interpret a partial run. If Python is not available, say so and stop; do not make up findings.
Method
- Collect inputs. Ask for exports first. If the user only has a URL, confirm they want a live fetch before using
--fetch. - Run the audit as above. Save the JSON; it is the evidence.
- Interpret each check. Report the script's status per check:
pass,warn,fail,infoorskipped.- robots_ai_crawlers: a blocked search, user-fetch or ads bot is a fail. Name the bot and quote what blocking it costs, from the table above. Matching follows RFC 9309: the most specific user-agent group, the longest matching rule, Allow wins ties,
*and$wildcards. - structured_data:
- an unparseable JSON-LD block is a fail
- a Product without
offersis a warn, because merchant-listing rich results require name, image and offers (Google) - no Organization markup anywhere is a warn
- FAQPage is fine to keep, but Google shows FAQ rich results only for "well-known, authoritative government and health websites" (Google)
- no_js_render: a fail when visible text is below the floor (
--min-text, default 250 characters), when an app-shell root (#root,#__next,#app, ...) holds little text, or when an--expectphrase is missing from the server HTML. A page with no<h1>and no<main>is a warn. - accessibility_basics: warn only. Covers a missing
<html lang>, images without alt, unlabelled inputs, and unnamed buttons. - merchant_feed:
- Fail conditions:
- any required attribute is missing:
id,title,description,link,image_link,availability,price(product data spec) - an
availabilityvalue is outsidein_stock,out_of_stock,preorder,backorder - a
native_commerce(checkout_eligibility)value is not TRUE/FALSE
- any required attribute is missing:
- A
pricenot inNUMBER CURform (for example15.00 USD) is a warn. native_commerce: report how many products opt into checkout on Google. Only listings withnative_commerce(checkout_eligibility)= TRUE show the "Buy" button. The feature is for select merchants, with products eligible in the US, Canada and Australia (Merchant Center help; UCP guide). The account-level return policy and customer-support contact can't be checked from a feed, so list them as manual checks.- Conversational attributes (
question_and_answer,document_link,related_product,item_group_title,variant_option,popularity_rank) are optional (help). Report their coverage; never fail on them.
- Fail conditions:
- acp_feed: optional. If supplied, missing required fields are a fail. Report the
is_eligible_search/is_eligible_checkoutcounts. - webmcp: always
info. WebMCP is a Chrome origin trial (from Chrome 149) and "under active discussion and subject to change" (Chrome docs). Report the declarativetoolname/tooldescriptionforms and the inlineregisterToolcalls found. Recommend nothing beyond "optional experiment".
- robots_ai_crawlers: a blocked search, user-fetch or ads bot is a fail. Name the bot and quote what blocking it costs, from the table above. Matching follows RFC 9309: the most specific user-agent group, the longest matching rule, Allow wins ties,
- Leave policy questions to the owner. Two are theirs to decide: whether to block training crawlers, and whether to opt products into checkout on Google. Present the trade-off and the source; do not decide for them.
- Prioritize fixes. Use the script's
recommendationsarray as the backbone.- Order by impact: blocked answer engines, then content missing from server HTML, then broken JSON-LD, then feed required attributes, then everything else.
- Name an owner for each fix: rendering work goes to whoever owns the front end, markup to whoever owns the page templates, feed gaps to whoever owns the product data.
Working folder (when the user wants a written deliverable)
Otherwise answer in chat. Suggested layout, one folder per audit date:
agent-readiness/{YYYY-MM-DD}/
00-input.md site, which exports were supplied, fetch yes/no, training policy
01-inputs/ the robots.txt, HTML and feed files actually audited (for reproducibility)
02-audit.json raw script output
03-findings.md per-check status, findings, sources (with the 2026-10-04 check date)
04-policy-decisions.md training-crawler stance, checkout opt-in decision, with rationale
05-fix-plan.md prioritized fixes with owners
SUMMARY.md one page: verdict, top 3 fixes, re-audit dateSelf-check before you report
| Gate | Pass when |
| script_ran_clean | Exit code 0 or 1 (never 2). A 2 means the inputs were wrong, not the site |
| inputs_are_server_html | The input notes state the HTML was captured as served (curl or --fetch), not from a browser's saved DOM |
| sources_cited | Every finding carries the source URL from the script output or this skill |
| policy_explicit | The training-crawler stance and checkout opt-in are recorded as the owner's decisions |
| no_llms_txt_for_google | Nothing in the deliverable recommends llms.txt as a Google visibility lever |
Output
- Verdict:
ready(no warnings or failures),needs_work(warnings only), ornot_ready(any failure). Experimental and skipped checks do not count. - Crawler access table: every token, its role,
allowed/partially_blocked/blockedper tested path, the deciding robots rule, and the vendor's caveat. - Rendering and markup report: per page, the visible-text size, app-shell markers, missing expected phrases, JSON-LD types found, and parse errors.
- Feed readiness: required-attribute gaps, the native_commerce opt-in count, conversational-attribute coverage, and the optional agentic-commerce feed result.
- WebMCP note (if requested): tools found, clearly marked experimental.
- Fix plan in priority order, each fix with an owner.
Caveats
- robots.txt is a request, not a wall, for user-initiated fetchers. OpenAI says robots.txt "may not apply" to ChatGPT-User. Perplexity says Perplexity-User "generally ignores robots.txt rules", and Google says the same of its user-triggered fetchers (Google-Agent, Google-GeminiNotebook). Don't promise that blocking them keeps content out.
- The no-JS check is not a rendering test. It reads the HTML as served. It cannot tell you how a JavaScript-capable crawler renders the page.
- A feed export is not Merchant Center's verdict. The audit checks the file against the seven attributes above. Merchant Center diagnostics, account-level policies, UCP onboarding status and anything else Merchant Center may require for your products live in the account.
- Being allowed is not being cited. This audit checks whether agents can use the site. Whether they do needs a separate measurement, such as probing AI answers for the brand or reading a search engine's AI-performance reports.
- An unreachable robots.txt fails the robots check. RFC 9309 lets a crawler access anything when robots.txt returns a 4xx, and tells it to assume complete disallow when a server or network error (5xx) makes robots.txt unreachable. With
--fetch, the script does the same: a 4xx is allow-all, and a 5xx or network error blocks every crawler, with a first finding that says so. If the cause was your own network rather than the site, re-run; thefetchedarray shows the HTTP status. - Cloudflare can override robots.txt, and since 15 Sep 2026 its block modes reach search crawlers. If the site is behind Cloudflare (response headers
server: cloudflareorcf-ray), check its AI crawler controls (Search, Training, Agent) as well as robots.txt. Block and Block on pages with ads now apply to mixed-use crawlers too, so Block stops Googlebot, Bingbot and Applebot and takes the site out of search. Disallow AI Training publishes a no-training preference in robots.txt and keeps accountable mixed-use crawlers allowed for search. The script cannot see these settings. Source: Cloudflare blog, 15 Sep 2026.
What this is not
- Not a ranking or visibility predictor. Allowed and well-marked-up does not mean cited, shown or recommended.
- Not a recommendation engine for llms.txt. Google says it does not use such files; the script's output carries that note and this skill never advises it as a Google lever.
- Not a rendering test, a full technical crawl or a Merchant Center diagnostic. It reads the files you give it.
- Not a legal or policy opinion. Training-crawler stance and checkout opt-in are the owner's decisions.
- Not the whole marketing suite. The audit is extracted from Digital Marketing Pro, where it sits beside broader SEO, content and paid-media skills.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

