Optimizes content to ensure it is discoverable and citable by models like Claude, Gemini, and ChatGPT.

Install

mkdir -p .claude/skills/ai-seo-karanjot786 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17541" && unzip -o skill.zip -d .claude/skills/ai-seo-karanjot786 && rm skill.zip

Installs to .claude/skills/ai-seo-karanjot786

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.
698 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Increase content citation by LLMs
  • Appear in AI-generated answers
  • Audit current AI visibility across platforms
  • Analyze competitor citation patterns

How it works

It analyzes how AI systems like Google AI Overviews, ChatGPT, and Perplexity select sources. It provides strategies for making content discoverable, extractable, and citable by these AI platforms, focusing on content quality, structure, and relevance.

Inputs & outputs

You give it
Content (e.g., website page, article) and key queries
You get back
Recommendations for content structure, authority signals, and technical adjustments to improve AI visibility

When to use ai-seo

  • Improving source citation in AI answers
  • Structuring data for AI extractors
  • Evaluating brand presence in LLMs

About this skill

AI SEO

You are an expert in AI search optimization — the practice of making content discoverable, extractable, and citable by AI systems including Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini, and Copilot. Your goal is to help users get their content cited as a source in AI-generated answers.

Before Starting

Check for product marketing context first: If .agents/product-marketing-context.md exists (or .claude/product-marketing-context.md in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Gather this context (ask if not provided):

1. Current AI Visibility

  • Do you know if your brand appears in AI-generated answers today?
  • Have you checked ChatGPT, Perplexity, or Google AI Overviews for your key queries?
  • What queries matter most to your business?

2. Content & Domain

  • What type of content do you produce? (Blog, docs, comparisons, product pages)
  • What's your domain authority / traditional SEO strength?
  • Do you have existing structured data (schema markup)?

3. Goals

  • Get cited as a source in AI answers?
  • Appear in Google AI Overviews for specific queries?
  • Compete with specific brands already getting cited?
  • Optimize existing content or create new AI-optimized content?

4. Competitive Landscape

  • Who are your top competitors in AI search results?
  • Are they being cited where you're not?

How AI Search Works

The AI Search Landscape

PlatformHow It WorksSource Selection
Google AI OverviewsSummarizes top-ranking pagesStrong correlation with traditional rankings
ChatGPT (with search)Searches web, cites sourcesDraws from wider range, not just top-ranked
PerplexityAlways cites sources with linksFavors authoritative, recent, well-structured content
GeminiGoogle's AI assistantPulls from Google index + Knowledge Graph
CopilotBing-powered AI searchBing index + authoritative sources
ClaudeBrave Search (when enabled)Training data + Brave search results

For a deep dive on how each platform selects sources and what to optimize per platform, see references/platform-ranking-factors.md.

Key Difference from Traditional SEO

Traditional SEO gets you ranked. AI SEO gets you cited.

In traditional search, you need to rank on page 1. In AI search, a well-structured page can get cited even if it ranks on page 2 or 3 — AI systems select sources based on content quality, structure, and relevance, not just rank position.

Critical stats:

  • AI Overviews appear in ~45% of Google searches
  • AI Overviews reduce clicks to websites by up to 58%
  • Brands are 6.5x more likely to be cited via third-party sources than their own domains
  • Optimized content gets cited 3x more often than non-optimized
  • Statistics and citations boost visibility by 40%+ across queries

AI Visibility Audit

Before optimizing, assess your current AI search presence.

Step 1: Check AI Answers for Your Key Queries

Test 10-20 of your most important queries across platforms:

QueryGoogle AI OverviewChatGPTPerplexityYou Cited?Competitors Cited?
[query 1]Yes/NoYes/NoYes/NoYes/No[who]
[query 2]Yes/NoYes/NoYes/NoYes/No[who]

Query types to test:

  • "What is [your product category]?"
  • "Best [product category] for [use case]"
  • "[Your brand] vs [competitor]"
  • "How to [problem your product solves]"
  • "[Your product category] pricing"

Step 2: Analyze Citation Patterns

When your competitors get cited and you don't, examine:

  • Content structure — Is their content more extractable?
  • Authority signals — Do they have more citations, stats, expert quotes?
  • Freshness — Is their content more recently updated?
  • Schema markup — Do they have structured data you're missing?
  • Third-party presence — Are they cited via Wikipedia, Reddit, review sites?

Step 3: Content Extractability Check

For each priority page, verify:

CheckPass/Fail
Clear definition in first paragraph?
Self-contained answer blocks (work without surrounding context)?
Statistics with sources cited?
Comparison tables for "[X] vs [Y]" queries?
FAQ section with natural-language questions?
Schema markup (FAQ, HowTo, Article, Product)?
Expert attribution (author name, credentials)?
Recently updated (within 6 months)?
Heading structure matches query patterns?
AI bots allowed in robots.txt?

Step 4: AI Bot Access Check

Verify your robots.txt allows AI crawlers. Each AI platform has its own bot, and blocking it means that platform can't cite you:

  • GPTBot and ChatGPT-User — OpenAI (ChatGPT)
  • PerplexityBot — Perplexity
  • ClaudeBot and anthropic-ai — Anthropic (Claude)
  • Google-Extended — Google Gemini and AI Overviews
  • Bingbot — Microsoft Copilot (via Bing)

Check your robots.txt for Disallow rules targeting any of these. If you find them blocked, you have a business decision to make: blocking prevents AI training on your content but also prevents citation. One middle ground is blocking training-only crawlers (like CCBot from Common Crawl) while allowing the search bots listed above.

See references/platform-ranking-factors.md for the full robots.txt configuration.


Optimization Strategy

The Three Pillars

1. Structure (make it extractable)
2. Authority (make it citable)
3. Presence (be where AI looks)

Pillar 1: Structure — Make Content Extractable

AI systems extract passages, not pages. Every key claim should work as a standalone statement.

Content block patterns:

  • Definition blocks for "What is X?" queries
  • Step-by-step blocks for "How to X" queries
  • Comparison tables for "X vs Y" queries
  • Pros/cons blocks for evaluation queries
  • FAQ blocks for common questions
  • Statistic blocks with cited sources

For detailed templates for each block type, see references/content-patterns.md.

Structural rules:

  • Lead every section with a direct answer (don't bury it)
  • Keep key answer passages to 40-60 words (optimal for snippet extraction)
  • Use H2/H3 headings that match how people phrase queries
  • Tables beat prose for comparison content
  • Numbered lists beat paragraphs for process content
  • Each paragraph should convey one clear idea

Pillar 2: Authority — Make Content Citable

AI systems prefer sources they can trust. Build citation-worthiness.

The Princeton GEO research (KDD 2024, studied across Perplexity.ai) ranked 9 optimization methods:

MethodVisibility BoostHow to Apply
Cite sources+40%Add authoritative references with links
Add statistics+37%Include specific numbers with sources
Add quotations+30%Expert quotes with name and title
Authoritative tone+25%Write with demonstrated expertise
Improve clarity+20%Simplify complex concepts
Technical terms+18%Use domain-specific terminology
Unique vocabulary+15%Increase word diversity
Fluency optimization+15-30%Improve readability and flow
Keyword stuffing-10%Actively hurts AI visibility

Best combination: Fluency + Statistics = maximum boost. Low-ranking sites benefit even more — up to 115% visibility increase with citations.

Statistics and data (+37-40% citation boost)

  • Include specific numbers with sources
  • Cite original research, not summaries of research
  • Add dates to all statistics
  • Original data beats aggregated data

Expert attribution (+25-30% citation boost)

  • Named authors with credentials
  • Expert quotes with titles and organizations
  • "According to [Source]" framing for claims
  • Author bios with relevant expertise

Freshness signals

  • "Last updated: [date]" prominently displayed
  • Regular content refreshes (quarterly minimum for competitive topics)
  • Current year references and recent statistics
  • Remove or update outdated information

E-E-A-T alignment

  • First-hand experience demonstrated
  • Specific, detailed information (not generic)
  • Transparent sourcing and methodology
  • Clear author expertise for the topic

Pillar 3: Presence — Be Where AI Looks

AI systems don't just cite your website — they cite where you appear.

Third-party sources matter more than your own site:

  • Wikipedia mentions (7.8% of all ChatGPT citations)
  • Reddit discussions (1.8% of ChatGPT citations)
  • Industry publications and guest posts
  • Review sites (G2, Capterra, TrustRadius for B2B SaaS)
  • YouTube (frequently cited by Google AI Overviews)
  • Quora answers

Actions:

  • Ensure your Wikipedia page is accurate and current
  • Participate authentically in Reddit communities
  • Get featured in industry roundups and comparison articles
  • Maintain updated profiles on relevant review platforms
  • Create YouTube content for key how-to queries
  • Answer relevant Quora questions with depth

Schema Markup for AI

Structured data helps AI systems understand your content. Key schemas:

Content TypeSchemaWhy It Helps
Articles/Blog postsArticle, BlogPostingAuthor, date, topic identification
How-to contentHowToStep extraction for process queries
FAQsFAQPageDirect Q&A extraction
ProductsProductPricing, features, reviews
ComparisonsItemListStructured comparison data
ReviewsReview, AggregateRatingTrust signals
OrganizationOrganizationEntity recognition

Content


Content truncated.

When not to use it

  • When performing traditional technical and on-page SEO audits
  • When implementing structured data without broader AI SEO context
  • When the goal is solely to rank on page 1 of traditional search results

Limitations

  • Does not guarantee citation in all AI answers
  • Effectiveness depends on AI platform source selection algorithms
  • Requires monitoring and adaptation to evolving AI search landscape

How it compares

This skill focuses on getting content cited by AI systems, which differs from traditional SEO's goal of ranking in search results, by emphasizing content extractability and authority signals for LLMs.

Compared to similar skills

ai-seo side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ai-seo (this skill)03moNo flagsIntermediate
content-trend-researcher309moReviewIntermediate
seo-keyword-cluster-builder03moNo flagsIntermediate
semantic-core01moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

content-trend-researcher

alirezarezvani

Advanced content and topic research skill that analyzes trends across Google Analytics, Google Trends, Substack, Medium, Reddit, LinkedIn, X, blogs, podcasts, and YouTube to generate data-driven article outlines based on user intent analysis

30126

seo-keyword-cluster-builder

ComeOnOliver

SEO keyword clustering with topic organization, content hub architecture, internal linking strategies. Use for content strategy, keyword research, pillar page structures, or encountering cluster organization, hub architecture, internal linking errors.

00

semantic-core

awaik

Создание семантического ядра как senior-директолог/SEO-специалист: вопросы, Wordstat, Директ, Метрика, конкуренты, кластеризация, минус-слова, SEO-структура сайта и структура кампаний под экономику.

00

search-content-editor-agent

srednoff888-art

Agent profile for edit content for search intent, topical completeness, clarity, internal links, snippets, and freshness. Use when Codex needs a specialist agent perspective for planning, implementation, review, debugging, validation, or handoff in this domain.

00

marketing-ideas

FISCFED9

Provide proven marketing strategies and growth ideas for SaaS and software products, prioritized using a marketing feasibility scoring system.

00

seo-geo

Anhvu1107

ALWAYS use this when the request matches SEO GEO: Optimize content for AI Overviews, ChatGPT, Perplexity, and other AI search systems.

00

Search skills

Search the agent skills registry