New to Claude Skills? Learn how to install them →

agricidaniel on GitHub

AI Search Optimization

Free

Enhance your content for AI-driven search visibility.

Get this skill

Free · Opens the source repo

What AI Search Optimization does

The AI Search Optimization skill is designed to help content creators and website owners optimize their material for AI-powered search experiences, such as Google's AI Overviews and ChatGPT. This skill focuses on applying traditional SEO principles to the nuances of AI search, ensuring that your content is not only accessible but also highly visible in AI-generated search results. By leveraging insights from Google's AI Optimization Guide, users can effectively align their content strategies with the evolving landscape of AI search technologies.

The skill emphasizes the importance of brand mentions over traditional backlinks, highlighting that brand visibility is now a critical factor in AI content citations. It provides a structured approach to content creation, focusing on key metrics such as citability scores, structural readability, and the integration of multi-modal content. This ensures that your content meets the specific requirements of AI systems, increasing the likelihood of being cited in AI-generated responses.

For those looking to improve their content's performance in AI search results, the skill offers actionable insights and criteria to follow. It covers essential aspects such as technical accessibility, ensuring that AI crawlers can effectively index your content, and the importance of maintaining up-to-date information. This skill is particularly beneficial for marketers, SEO specialists, and content creators aiming to maximize their reach in an increasingly AI-driven digital landscape.

By focusing on the latest trends in AI search optimization, this skill equips users with the tools necessary to enhance their content's visibility, ultimately driving more traffic and engagement through AI channels.

When to use it

Use this skill when you want to ensure your content is optimized for AI search engines like Google AI Overviews and ChatGPT.

When not to use it

Avoid this skill if your focus is solely on traditional SEO without consideration for AI search technologies.

What you can build with it

Optimizing Blog Posts

Use this skill to refine your blog posts, ensuring they meet the criteria for AI citations and enhance visibility in AI search results.

Improving E-Commerce Product Pages

Leverage this skill to optimize product descriptions for AI search engines, increasing the chances of being featured in AI-driven shopping queries.

Enhancing Educational Content

Apply this skill to educational materials to boost their discoverability through AI platforms, making them more accessible to learners.

How to install AI Search Optimization

View source

1. Install with the skills CLI

npx skills add agricidaniel/claude-seo/seo-geo --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by agricidaniel

AI Search / GEO Optimization (May 2026)

Primary Source: Google's AI Optimization Guide

Google's official position, published under Search Central docs:

"Optimizing for generative AI search is still SEO from Google's perspective. AEO and GEO are rebranded labels for the same work."

Read references/google-ai-optimization-guide.md for the full synthesis, myth-busting list (llms.txt, chunking, AI-rephrasing, mention-farming, all rejected by Google as ineffective), and the Who/How/Why test for content quality.

Audits should frame GEO findings as SEO fundamentals applied to AI-search surfaces, not as a separate optimization discipline. When community recommendations contradict Google's primary source, defer to Google and note the contradiction in the report.

Key Statistics

MetricValueSource
AI Overviews reach2.5 billion+ monthly active users, reported from Google I/O 2026 keynote coverage; not confirmed on a Google-owned source; 200+ countriesThird-party I/O reporting
AI Overviews query coverage~50% of queries (third-party measurement; varies by country)Industry data
AI Mode monthly users1B+, reported from Google I/O 2026 keynote coverage; not confirmed on a Google-owned sourceThird-party I/O reporting
AI Mode modelcustom version of Gemini 2.5Google
AI-referred sessions growth527% (Jan-May 2025)SparkToro
ChatGPT weekly active users900 millionOpenAI
Perplexity monthly queries500+ millionPerplexity

Critical Insight: Brand Mentions > Backlinks

Brand mentions correlate 3x more strongly with AI visibility than backlinks. (Ahrefs December 2025 study of 75,000 brands)

SignalCorrelation with AI Citations
YouTube mentions~0.737 (strongest)
Reddit mentionsHigh
Wikipedia presenceHigh
LinkedIn presenceModerate
Domain Rating (backlinks)~0.266 (weak)

Only 11% of domains are cited by both ChatGPT and Google AI Overviews for the same query, so platform-specific optimization is essential.


GEO Analysis Criteria (Updated)

1. Citability Score (25%)

Optimal passage length: 134-167 words for AI citation. And ~44% of AI citations come from the first 30% of a page (SE Ranking study), front-load your most citable, self-contained answer rather than burying it below the fold.

Strong signals:

  • Clear, quotable sentences with specific facts/statistics
  • Self-contained answer blocks (can be extracted without context)
  • Direct answer in first 40-60 words of section
  • Claims attributed with specific sources
  • Definitions following "X is..." or "X refers to..." patterns
  • Unique data points not found elsewhere

Weak signals:

  • Vague, general statements
  • Opinion without evidence
  • Buried conclusions
  • No specific data points

2. Structural Readability (20%)

92% of AI Overview citations come from top-10 ranking pages, but 47% come from pages ranking below position 5, demonstrating different selection logic.

Strong signals:

  • Clean H1->H2->H3 heading hierarchy
  • Question-based headings (matches query patterns)
  • Short paragraphs (2-4 sentences)
  • Tables for comparative data
  • Ordered/unordered lists for step-by-step or multi-item content
  • FAQ sections with clear Q&A format

Weak signals:

  • Wall of text with no structure
  • Inconsistent heading hierarchy
  • No lists or tables
  • Information buried in paragraphs

3. Multi-Modal Content (15%)

Content with multi-modal elements sees 156% higher selection rates.

Check for:

  • Text + relevant images
  • Video content (embedded or linked)
  • Infographics and charts
  • Interactive elements (calculators, tools)
  • Structured data supporting media

4. Authority & Brand Signals (20%)

Strong signals:

  • Author byline with credentials
  • Publication date and last-updated date
  • Recency, content under 3 months old is ~3x more likely to be cited in AI answers; pages left stale 6+ months lose citation eligibility (SE Ranking, 1.3M-citation study). A scheduled refresh program is one of the highest-leverage GEO plays.
  • Citations to primary sources (studies, official docs, data)
  • Organization credentials and affiliations
  • Expert quotes with attribution
  • Entity presence in Wikipedia, Wikidata
  • Mentions on Reddit, YouTube, LinkedIn

Weak signals:

  • Anonymous authorship
  • No dates
  • No sources cited
  • No brand presence across platforms

5. Technical Accessibility (20%)

AI crawlers do NOT execute JavaScript. Server-side rendering is critical.

Check for:

  • Server-side rendering (SSR) vs client-only content
  • AI crawler access in robots.txt
  • llms.txt file presence and configuration
  • RSL 1.0 licensing terms

AI Crawler Detection

Check robots.txt for these AI crawlers:

CrawlerOwnerPurposeObeys robots.txt?
GPTBotOpenAIChatGPT web searchyes
OAI-SearchBotOpenAIOpenAI search featuresyes
ChatGPT-UserOpenAIChatGPT browsing (user-triggered)no (user-triggered)
ClaudeBotAnthropicClaude web featuresyes
PerplexityBotPerplexityPerplexity AI searchyes
CCBotCommon CrawlTraining data (often blocked)yes
anthropic-aiAnthropicClaude trainingyes
BytespiderByteDanceTikTok/Douyin AIyes
cohere-aiCohereCohere modelsyes
Google-ExtendedGoogleGemini/Vertex training & grounding opt-outyes
Google-CloudVertexBotGoogleSite-owner-requested Vertex AI Agent crawlsyes
Google-AgentGoogleAgentic browsing (Project Mariner), acts for a userno (user-triggered)
Google-NotebookLMGoogleFetches individual user-added source URLsno (user-triggered)
Google MessagesGoogleUser-triggered fetchno (user-triggered)

Recommendation: Allow GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot for AI search visibility. Block CCBot and training crawlers if desired.

User-triggered fetchers ignore robots.txt by design (Google-Agent, Google-NotebookLM, Google Messages, ChatGPT-User). robots.txt cannot block them, use server-side access controls. Google's canonical crawling/robots reference moved to developers.google.com/crawling (migrated 2025-11-20); IP-range files now live at /crawling/ipranges/ and googlebot.json was renamed common-crawlers.json. Emerging: Web Bot Auth (RFC 9421) lets bots authenticate via a Signature-Agent header + key directory (used by Google-Agent); reverse-DNS verification remains the fallback.


llms.txt Standard

Read references/llmstxt-evidence.md for the primary-source evidence (Mueller, Illyes, SE Ranking 300k-domain study, OtterlyAI server-log audit) on why /llms.txt is not currently a citation lever for major AI search systems. claude-seo reports presence but assigns no citation-ranking weight.

Google now states this explicitly. Google's AI optimization guide (updated 2026-06-29) says you do not need llms.txt / AI-text files for Google Search, including its generative AI features, and that doing so "won't harm (nor help) your visibility or rankings in Google Search, as Google Search ignores them." Mueller separately called the llms.txt discovery use case "a dead end." It's fine to keep for non-Google AI services; never recommend it as a Google ranking/citation lever. Source: developers.google.com/search/docs/fundamentals/ai-optimization-guide

The emerging llms.txt standard provides AI crawlers with structured content guidance.

Location: /llms.txt (root of domain)

Format:

# Title of site
> Brief description

## Main sections
- [Page title](url): Description
- [Another page](url): Description

## Optional: Key facts
- Fact 1
- Fact 2

Check for:

  • Presence of /llms.txt
  • Structured content guidance
  • Key page highlights
  • Contact/authority information

RSL 1.0 (Really Simple Licensing)

New standard (December 2025) for machine-readable AI licensing terms.

Backed by: Reddit, Yahoo, Medium, Quora, Cloudflare, Akamai, Creative Commons

Check for: RSL implementation and appropriate licensing terms.


Platform-Specific Optimization

PlatformKey Citation SourcesOptimization Focus
Google AI OverviewsStrongly ranking-correlated, cites pages that already rank wellTraditional SEO + passage optimization
Google AI Mode (custom version of Gemini 2.5)Weakly ranking-correlated; broader pool (~9 domains cited/query, Ahrefs)Distinct surface: freshness, entity authority, citable passages beyond position 5
ChatGPTWikipedia (47.9%), Reddit (11.3%)Entity presence, authoritative sources
PerplexityReddit (46.7%), WikipediaCommunity validation, discussions
Bing CopilotBing index, authoritative sitesBing SEO, IndexNow

Two Google citation engines, not one. AI Mode and AI Overviews reach the same conclusion ~86% of the time but cite the same URLs only 13.7% of the time (Ahrefs study, 540K query pairs). Treat them as separate surfaces: ranking well in classic Search feeds AI Overviews, but AI Mode draws from a broader pool where freshness and entity authority outweigh raw position. Score both.

UX is now unified, surfaces still distinct. At Google I/O 2026 (2026-05-19) Google merged AI Overviews and AI Mode into "one seamless AI Search experience" (question → AI Overview → follow-up in AI Mode) with a new intelligent Search box. The experience is one flow, but the two citation engines remain technically distinct (different models/link sets), keep scoring both.

Citation surfaces & controls in AI Search (2026)

Google added many AI citation/source surfaces across AI Overviews and AI Mode (May 2026):

  • Preferred Sources, users pick sites that get a "preferred" badge in AI answers; all-languages since 2026-04-30 (>345K sources selected); Google is working toward using it as a ranking signal. Quick win: encourage your audience to add the brand as a Preferred Source.
  • "Highly Cited" badges, earned via original primary reporting that other articles cite.
  • Community Perspectives, elevates Reddit/forum/firsthand content.
  • Inline links, desktop hover Link Previews, and prominent link carousels.

Controlling AI-feature appearance: there is no AI-specific opt-out file. Appearance in AI Overviews and AI Mode is governed by standard preview/index directives, nosnippet, data-nosnippet, max-snippet, noindex (distinct from the third-party AI-crawler robots controls above). Source: developers.google.com/search/docs/appearance/ai-features

Search agents (live, not just WebMCP): Google's "Information Agents" run in the background to monitor topics, plus agentic booking/calling for select categories (rolling out to US users, summer 2026), so agent-friendly-page optimization (real interactive elements, accessibility tree, layout stability) now matters for actions, not only citations.


Output

Generate GEO-ANALYSIS.md with:

  1. GEO Readiness Score: XX/100
  2. Platform breakdown (Google AIO, ChatGPT, Perplexity scores)
  3. AI Crawler Access Status (which crawlers allowed/blocked)
  4. llms.txt Status (present, missing, recommendations)
  5. Brand Mention Analysis (presence on Wikipedia, Reddit, YouTube, LinkedIn)
  6. Passage-Level Citability (optimal 134-167 word blocks identified)
  7. Server-Side Rendering Check (JavaScript dependency analysis)
  8. Top 5 Highest-Impact Changes
  9. Schema Recommendations (for AI discoverability)
  10. Content Reformatting Suggestions (specific passages to rewrite)

Quick Wins

  1. Add "What is [topic]?" definition in first 60 words
  2. Create 134-167 word self-contained answer blocks
  3. Add question-based H2/H3 headings
  4. Include specific statistics with sources
  5. Add publication/update dates
  6. Implement Person schema for authors
  7. Allow key AI crawlers in robots.txt

Medium Effort

  1. Create /llms.txt file (optional: ignored by Google Search; may help other AI crawlers)
  2. Add author bio with credentials + Wikipedia/LinkedIn links
  3. Ensure server-side rendering for key content
  4. Build entity presence on Reddit, YouTube
  5. Add comparison tables with data
  6. Implement FAQ sections (structured, not schema for commercial sites)

High Impact

  1. Create original research/surveys (unique citability)
  2. Build Wikipedia presence for brand/key people
  3. Establish YouTube channel with content mentions
  4. Implement comprehensive entity linking (sameAs across platforms)
  5. Develop unique tools or calculators

DataForSEO Integration (Optional)

If DataForSEO MCP tools are available, use ai_optimization_chat_gpt_scraper to check what ChatGPT web search returns for target queries (real GEO visibility check) and ai_opt_llm_ment_search with ai_opt_llm_ment_top_domains for LLM mention tracking across AI platforms.

Error Handling

ScenarioAction
URL unreachable (DNS failure, connection refused)Report the error clearly. Do not guess site content. Suggest the user verify the URL and try again.
AI crawlers blocked by robots.txtReport exactly which crawlers are blocked and which are allowed. Provide specific robots.txt directives to add for enabling AI search visibility.
No llms.txt foundNote the absence (optional file; Google Search ignores it) and provide a ready-to-use llms.txt template for non-Google AI crawlers.
No structured data detectedReport the gap and provide specific schema recommendations (Article, Organization, Person) for improving AI discoverability.

FLOW Framework Integration

For prompt-guided AI content optimization, use /seo flow optimize <url>, FLOW's 21 optimize-stage prompts complement GEO's citability and structure analysis with evidence-led AI prompts.

Frequently asked questions about AI Search Optimization

Similar skills