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. (中文說明見 README)

aeo-audit 是什么?

aeo-audit is a Claude Code agent skill that 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. (中文說明見 README).

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add WayneSHC/aeo-audit

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

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.

相关技能