Communitygithub.com

WayneSHC/aeo-audit

Open-source AEO/GEO audit toolkit with a fully auditable methodology. Measures whether AI search crawlers can actually reach and read your site, and how often your brand gets cited in AI answers. Works as a plain CLI or as an agent skill. No black-box composite score. (Chinese README available)

What is aeo-audit?

This AEO (AI Engine Optimization) audit skill, named WayneSHC/aeo-audit, is an open-source toolkit designed for developers and technical SEOs who want to transparently assess their website's readiness for AI search crawlers. Its core differentiator is a fully auditable methodology: every number in the final report links back to readable, executable code in the `scripts/` directory, eliminating the trust issues associated with black-box composite scores. The skill supports both standalone CLI execution (using `uv run` and Python scripts) and integration as an AI agent skill, making it versatile for CI/CD pipelines or ad-hoc audits. It performs multi-layered tests including robots.txt declaration analysis, live probes against CDNs and WAFs, and JavaScript rendering comparison (via Playwright) to detect 'differential treatment' where browser and bot requests receive different content. Output is an interactive HTML report with actionable insights, flagging critical issues like retrieval bot blocking, rendering gaps that hide content from AI, and JSON-LD errors—all ranked by severity. It explicitly avoids modifying the target website or inventing composite scores, instead providing a sorted list of specific fixes with example diffs. The skill also includes reference documents on AI bot classification (training vs. retrieval), remediation templates, and methodology details for stakeholder discussions. It does not handle trend analysis, competitive citation tracking, or scheduled monitoring—those are delegated to companion tools like `aeo-visibility-check`.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add WayneSHC/aeo-audit

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

AEO Technical Audit

Determine whether a website's content can be reached and read by AI search engines. This is the foundation of AEO: even the best content is invisible if it can't be crawled.

Why Rely on Scripts Instead of Manual Judgment

This skill's value proposition is an auditable methodology—every number in the report must point back to readable, executable code. Other tools in the market give a score of 73 without explanation; that's exactly why they aren't trusted.

So there's a line to hold: Anything that becomes a number in the report must be calculated by scripts/, not estimated or eyeballed. You decide what to run, interpret results, prioritize findings, and write the narrative in human language. This ensures consistency between the skill version and the future CLI version.

Flow

1. Define Scope

Ask which URL to audit. If the user only provides a domain, default to the homepage but proactively explain: the homepage is rarely the page AI cites. Product pages, pricing pages, and FAQ pages are often more critical—suggest running those as well.

2. Run Measurements

uv run --script scripts/audit.py <URL>

Outputs a JSON file; the path is printed to stdout. Common options:

OptionPurpose
--skip-renderSkip Playwright rendering comparison (use when environment can't support it)
--skip-probeSkip live probe requests to the target (use to avoid generating extra traffic)
--crux-key KEYProvide a CrUX API key to fetch Core Web Vitals
-o PATHSpecify output path

Rendering detection requires Chromium. If it fails on first use, run uv run --script scripts/render_probe.py --install (about 150MB, one-time). If it can't be installed, that's fine—other checks remain unaffected, and the report will note this item as skipped. Don't let this dependency fail the entire audit.

3. Generate Report

python3 scripts/build_report.py <audit.json>

Generates a single HTML file with the same name. This is mandatory. The report will be screenshotted, pasted into slides, and forwarded to executives—its value in circulation far exceeds text in a chat window. After completion, tell the user where the file is.

4. Interpret

Read the JSON and write conclusions based on the interpretation principles below. This is where your value lies—don't just read the numbers aloud.

Interpretation Principles

These are the most common wrong conclusions in this domain. Getting them wrong damages professional credibility.

Training vs. Retrieval Crawlers Must Be Discussed Separately

GPTBot, Google-Extended, ClaudeBot, CCBot are training data crawlers. Blocking them does not reduce AI visibility—that's a copyright and data governance decision, to be made by legal and content strategy teams.

OAI-SearchBot, PerplexityBot, Claude-SearchBot, Googlebot are real-time retrieval crawlers. Blocking these will actually cause your brand to disappear from AI answers.

Never say "recommend opening GPTBot to improve AI visibility." That's wrong and is the most obvious mistake an expert can spot.

Declaration vs. Reality Are Two Different Things

robots.txt is the site's declared rules; CDNs and WAFs are where blocking actually happens. The script checks both layers, and the report should address them separately.

Pay special attention to the reason field for "differential treatment" and "suspected differential delivery": browser UA gets a 200, bot gets a 404 or only a fraction of the content—this is the most insidious form of blocking because it won't appear in any robots.txt, and the site owner often has no idea. If you find this, put it first on the recommendation list.

Render Gaps: Use Sentences, Not Ratios

sentence_coverage is more meaningful than static_to_rendered_ratio because character ratios are diluted by navigation bars and footers. What the user really needs to see is missing_samples—these are the actual sentences AI cannot read, specific enough to point and say "ChatGPT cannot see this paragraph."

Also clarify: Googlebot executes JavaScript, but most AI retrieval bots do not. So a site ranking well in Google can be completely invisible in AI search. This gap is the most convincing finding this tool produces.

Don't Overpromise FAQPage

Google's FAQ rich results have been drastically reduced since 2023, effectively reserved only for government and healthcare sites. FAQPage's main value now is for LLMs to read, not to improve search result appearance. Promising visual changes will disappoint clients later.

Don't Merge Core Web Vitals into AEO Conclusions

LCP / INP / CLS are user experience signals. AI retrieval bots don't interact, don't perceive layout shifts—this data has no direct causal link to AI visibility. It's worth presenting separately as an SEO item, but including it in AEO interpretation will pollute the conclusions.

Don't Invent a Composite Score

Users may ask for a "total score." Understandable, but explain why you won't provide one: once the weighting formula can't be publicly verified, the entire report becomes a black box—and auditability is the very reason this tool exists. Instead, provide a priority-ordered list of issues by severity—that's more useful for decision-making.

Writing the Recommendation List

Place fix recommendations in the conversation after the report, ordered by this priority:

  1. Retrieval bots blocked (declaration or real-world detection)—biggest impact and usually easiest to fix
  2. Render gaps causing key content to be invisible to AI
  3. JSON-LD syntax errors (entire block gets ignored, same as non-existent)
  4. Missing Organization entity or missing sameAs external authority links
  5. Structured data inconsistent with visible content
  6. Core Web Vitals (listed separately, marked as SEO rather than AEO)

Each entry must include concrete steps to fix, not just "recommend optimization." For robots.txt changes, provide a diff.

What Never to Do

Do not modify the user's website. Do not write to robots.txt, do not change the CMS, do not send any request that would alter the live state. Output only suggested diffs; leave final application to a human. All live probes from this skill are read-only GETs; nothing else touches the target site.

Reference Materials

Read only when needed—don't preload:

  • references/ai-bots.md — Purpose of each bot, official documentation sources, maintenance notes on name changes
  • references/remediation.md — Specific fixes for common issues (robots.txt templates, SSR options, JSON-LD templates)
  • references/methodology.md — Calculation methods for each metric and known limitations, basis for answering client questions

What This Skill Doesn't Do

A single audit is a point-in-time snapshot. Trend comparison, competitive citation share, scheduled monitoring—these require time-series data and are out of scope. If the user asks for "continuous tracking," be honest about this limitation.

To measure how often a brand is actually cited in AI answers, use aeo-visibility-check.

Related Skills