/aeo-toolkit:aeo-server-renderingfrom AEO Toolkit
Ensures page content is in the initial server HTML so AI crawlers (ChatGPT, Perplexity, ClaudeBot) can read and cite it. Covers SSR, SSG, prerendering, and testing with curl.
Ships in AEO Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub advance-labs/aeo-toolkit --plugin aeo-toolkitMany AI crawlers read the HTML they are given and do not run JavaScript. If a page is an empty
<div id="root"> until a script fills it, those crawlers see nothing to cite. The fix is to send
the content in the first response: server-render it, generate it at build time, or prerender it.
It matters for any page you want cited: articles, docs, product and pricing pages, about pages.
It matters less, or not at all, for:
How sure are we that AI crawlers skip JavaScript? The main public evidence is a Vercel and MERJ analysis from December 2024, which found no JavaScript execution from OpenAI's crawlers (including OAI-SearchBot and ChatGPT-User), ClaudeBot, Meta's crawler or Bytespider. It does not show PerplexityBot's behaviour. Crawlers change, and none of the vendors guarantee either behaviour. Server-rendering is cheap insurance, not a proven requirement for every engine.
Rule owned: aeo.content-server-rendered. It fails when a page has both:
#root, #app, #__next, #__nuxt, #nuxt, #___gatsby, #q-app, #svelte, [data-reactroot], [data-server-rendered]) with no visible text
(3 words or fewer), and at least one <script> on the page.It deliberately does not fail a short server-rendered page, and it does not flag thin content
(that is tech.content-not-thin, which needs the opposite fix: write more, not render
differently). If both rules fail on the same URL, fix rendering first.
With the MCP server: call analyze_website_aeo and read the detail line for the failing URL.
Without it, compare what the server sends with what a browser shows:
# What a non-JS crawler sees
curl -s https://example.com/pricing | sed -e 's/<script[^>]*>.*<\/script>//g' | head -80
# Is a phrase you can see in the browser present in the raw HTML?
curl -s https://example.com/pricing | grep -ci "your exact visible headline"
# Word count of the served HTML (rough)
curl -s https://example.com/pricing | sed -e 's/<[^>]*>/ /g' | wc -w
0 matches, or a body that is only <div id="root"></div> plus scripts, confirms it. View
Source in a browser (not Inspect Element, which shows the rendered DOM) shows the same thing.
Do it for a few page types, not just the home page: marketing pages are often fine while the
blog or docs are client-rendered.
First, what is client-rendered and does it matter? Ask the user which pages must be citable. Then pick the least invasive fix:
| Situation | Fix |
|---|---|
| Framework supports SSR/SSG (Next.js, Astro, Nuxt, SvelteKit, Remix) but a page opted out | Remove the opt-out: render on the server |
| Content known at build time (blog, docs, marketing) | Static generation (SSG). Cheapest and fastest |
| Content changes often but is public | SSR, or SSG with revalidation |
| Vite/CRA single-page app with few public pages | Prerender those routes at build time |
| Large existing SPA, no appetite to migrate | Prerender service/dynamic rendering as a stopgap, or move public pages to a static site and keep the app for logged-in use |
Text fetched in useEffect from an API | Fetch on the server and pass it down (or in a server component) |
| Tabs/accordions whose hidden panels are only mounted on click | Render all panels in HTML, hide with CSS or <details> |
Google lists dynamic rendering as a workaround, not a recommendation. Prefer SSR/SSG/prerender built from the same code the users get, so the two copies never drift apart.
Stack-agnostic shape:
window, localStorage, charts) behind client-only boundaries
so it does not break server rendering.Then read the recipe for the stack: references/nextjs.md, references/astro.md, or
references/static-html.md (covers plain HTML and Vite/React SPAs).
curl | grep check above. The headline and body text appear in the raw HTML.analyze_website_aeo; aeo.content-server-rendered passes. Check tech.content-not-thin
did not newly fail (it can after rendering changes the word count)./), and a page with tabs or
accordions.window
checks). Fix the mismatch; do not suppress the warning and ship.aeo-ai-crawler-access first when nothing at all is fetched.packages/scoring/src/aeo-rules.ts (aeo.content-server-rendered) and packages/html-parser/src/content.ts (detectEmptyAppShell).25 skills in this plugin
/aeoEntry point for making a website show up and get cited in AI answers (ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews, Copilot). Use when someone asks to "do AEO" on a site, improve AI search visibility, get recommended by ChatGPT, audit a site for answer engines, or fix a list of AEO audit findings, and it is not yet clear which specific fix applies. Runs or reads an audit, groups the failures, orders them by impact, and hands each group to the skill that owns it. Uses the aeo-toolkit MCP server if connected; works without it./aeo-ai-crawler-accessCheck and fix whether AI crawlers can reach a site, and decide which ones to allow. Use when someone asks "why isn't ChatGPT or Perplexity citing my site", "should I block GPTBot", "allow AI crawlers", "AI bots blocked", "robots.txt for AI", "Cloudflare is blocking AI bots", or when the audit fails aeo.ai-bots-allowed or tech.robots-present. Covers training bots vs search and user-fetch bots, robots.txt, and CDN/WAF blocking that overrides robots.txt. Uses the aeo-toolkit MCP server if connected; works without it./aeo-ai-referral-analyticsMeasure traffic that AI assistants send to a site, using Google Analytics 4. Use when someone asks "how much traffic comes from ChatGPT/Perplexity/Claude", "are AI answers sending us visitors", "set up an AI traffic channel in GA4", "which pages do AI assistants send people to", or "is our AEO work driving visits". Covers the GA4 query, a reusable referrer regex, landing pages, and why the number is always an undercount. Requires the aeo-toolkit MCP server, signed in to an AEO Toolkit account with Google connected./aeo-answer-first-contentRestructure existing pages so an answer engine can lift a clean answer out of them, without wrecking the author's voice. Use when someone asks why ChatGPT, Perplexity or Google AI Overviews don't quote their page, how to write for AI answers, how to structure a post for featured snippets, whether to add FAQ-style or question headings, why a page is flagged as thin, has no headings, has two H1s or skips heading levels, or when an audit fails aeo.question-headings, aeo.answerable-content, aeo.content-extractability, tech.content-not-thin, tech.single-h1 or tech.heading-hierarchy. Uses the aeo-toolkit MCP server if connected; works without it./aeo-article-author-schemaMark up articles and blog posts with Article, BlogPosting or TechArticle JSON-LD whose author is a real Person linked to an author page, with datePublished, dateModified and a publisher that points at the organization. Use when someone asks to add article schema, author markup, byline or author bio schema, fix "article and author schema missing", "author not identified" or "Person schema" audit findings, or improve E-E-A-T attribution for blog and docs content. Covers aeo.article-author-schema, eeat.expertise.person-schema and eeat.expertise.article-markup. Uses the aeo-toolkit MCP server if connected; works without it./aeo-citation-earningEarn the off-site mentions and links that make a site more likely to be cited by AI answer engines - find where competitors are cited or linked, turn unlinked brand mentions into links, prospect relevant sites, draft honest outreach, and confirm links went live. Use when someone asks about "backlinks", "link building", "who links to my competitor", "unlinked mentions", "guest post prospects", "digital PR", "how do I get cited by ChatGPT or Perplexity", or "did my link go live". Uses the aeo-toolkit MCP server (find_prospects, find_mentions, extract_contact_info, check_page_history, generate_outreach_email, verify_page_links, find_competitor_link_sources, check_ai_visibility).