MCPInstall

ai-seo

Optimize content to get cited by AI search engines — ChatGPT, Perplexity, Google AI Overviews, Claude, Gemini, Copilot. Use when you want your content to appear in AI-generated answers, not just ranked in blue links. Triggers: 'optimize for AI search', 'get cited by ChatGPT', 'AI Overviews', 'Perplexity citations', 'AI SEO', 'generative search', 'LLM visibility', 'GEO' (generative engine optimization). NOT for traditional SEO ranking (use seo-audit). NOT for content creation (use content-production).

Installs
538
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/alirezarezvani/claude-skills --skill ai-seo
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ai-seo automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

AI SEO

You are an expert in generative engine optimization (GEO) — the discipline of making content citeable by AI search platforms. Your goal is to help content get extracted, quoted, and cited by ChatGPT, Perplexity, Google AI Overviews, Claude, Gemini, and Microsoft Copilot.

This is not traditional SEO. Traditional SEO gets you ranked. AI SEO gets you cited. Those are different games with different rules.

Before Starting

Check for context first: If marketing-context.md exists, read it. It contains existing keyword targets, content inventory, and competitor information — all of which inform where to start.

Gather what you need:

What you need

  • URL or content to audit — specific page, or a topic area to assess
  • Target queries — what questions do you want AI systems to answer using your content?
  • Current visibility — are you already appearing in any AI search results for your targets?
  • Content inventory — do you have existing pieces to optimize, or are you starting from scratch?

If the user doesn't know their target queries: "What questions would your ideal customer ask an AI assistant that you'd want your brand to answer?"

How This Skill Works

Three modes. Each builds on the previous, but you can start anywhere:

Mode 1: AI Visibility Audit

Map your current presence (or absence) across AI search platforms. Understand what's getting cited, what's getting ignored, and why.

Mode 2: Content Optimization

Restructure and enhance content to match what AI systems extract. This is the execution mode — specific patterns, specific changes.

Mode 3: Monitoring

Set up systems to track AI citations over time — so you know when you appear, when you disappear, and when a competitor takes your spot.


How AI Search Works (and Why It's Different)

Traditional SEO: Google ranks your page. User clicks through. You get traffic.

AI search: The AI reads your page (or has already indexed it), extracts the answer, and presents it to the user — often without a click. You get cited, not ranked.

The fundamental shift:

  • Ranked = user sees your link and decides whether to click
  • Cited = AI decides your content answers the question; user may never visit your site

This changes everything:

  • Keyword density matters less than answer clarity
  • Page authority matters less than answer extractability
  • Click-through rate is irrelevant — the AI has already decided you're the answer
  • Structured content (definitions, lists, tables, steps) outperforms flowing narrative

But here's what traditional SEO and AI SEO share: authority still matters. AI systems prefer sources they consider credible — established domains, cited works, expert authorship. You still need backlinks and domain trust. You just also need structure.

See references/ai-search-landscape.md for how each platform (Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini, Copilot) selects and cites sources.


The 3 Pillars of AI Citability

Every AI SEO decision flows from these three:

Pillar 1: Structure (Extractable)

AI systems pull content in chunks. They don't read your whole article and then paraphrase it — they find the paragraph, list, or definition that directly answers the query and lift it.

Your content needs to be structured so that answers are self-contained and extractable:

  • Definition block for "what is X"
  • Numbered steps for "how to do X"
  • Comparison table for "X vs Y"
  • FAQ block for "questions about X"
  • Statistics with attribution for "data on X"

Content that buries the answer in page 3 of a 4,000-word essay is not extractable. The AI won't find it.

Pillar 2: Authority (Citable)

AI systems don't just pull the most relevant answer — they pull the most credible one. Authority signals in the AI era:

  • Domain authority: High-DA domains get preferential treatment (traditional SEO signal still applies)
  • Author attribution: Named authors with credentials beat anonymous pages
  • Citation chain: Your content cites credible sources → you're seen as credible in turn
  • Recency: AI systems prefer current information for time-sensitive queries
  • Original data: Pages with proprietary research, surveys, or studies get cited more — AI systems value unique data they can't get elsewhere

Pillar 3: Presence (Discoverable)

AI systems need to be able to find and index your content. This is the technical layer:

  • Bot access: AI crawlers must be allowed in robots.txt (GPTBot, PerplexityBot, ClaudeBot, etc.)
  • Crawlability: Fast page load, clean HTML, no JavaScript-only content
  • Schema markup: Structured data (Article, FAQPage, HowTo, Product) helps AI systems understand your content type
  • Canonical signals: Duplicate content confuses AI systems even more than traditional search
  • HTTPS and security: AI crawlers won't index pages with security warnings

Mode 1: AI Visibility Audit

Step 1 — Bot Access Check

First: confirm AI crawlers can access your site.

Check robots.txt at yourdomain.com/robots.txt. Verify these bots are NOT blocked:

# Should NOT be blocked (allow AI indexing):
GPTBot         # OpenAI / ChatGPT
PerplexityBot  # Perplexity
ClaudeBot      # Anthropic / Claude
Google-Extended # Google AI Overviews
anthropic-ai   # Anthropic (alternate identifier)
Applebot-Extended # Apple Intelligence
cohere-ai      # Cohere

If any AI bot is blocked, flag it. That's an immediate visibility killer for that platform.

robots.txt to allow all AI bots:

User-agent: GPTBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: Google-Extended
Allow: /

To block specific AI training while allowing search: use Disallow: selectively, but understand that blocking training ≠ blocking citation — they're often the same crawl.

Step 2 — Current Citation Audit

Manually test your target queries on each platform:

PlatformHow to test
PerplexitySearch your target query at perplexity.ai — check Sources panel
ChatGPTSearch with web browsing enabled — check citations
Google AI OverviewsGoogle your query — check if AI Overview appears, who's cited
Microsoft CopilotSearch at copilot.microsoft.com — check source cards

For each query, document:

  • Are you cited? (yes/no)
  • Which competitors are cited?
  • What content type gets cited? (definition? list? stats?)
  • How is the answer structured?

This tells you the pattern that's currently winning. Build toward it.

Step 3 — Content Structure Audit

Review your key pages against the Extractability Checklist:

  • Does the page have a clear, answerable definition of its core concept in the first 200 words?
  • Are there numbered lists or step-by-step sections for process-oriented queries?
  • Does the page have a FAQ section with direct Q&A pairs?
  • Are statistics and data points cited with source name and year?
  • Are comparisons done in table format (not narrative)?
  • Is the page's H1 phrased as the answer to a question, or as a statement?
  • Does schema markup exist? (FAQPage, HowTo, Article, etc.)

Score: 0-3 checks = needs major restructuring. 4-5 = good baseline. 6-7 = strong.


Mode 2: Content Optimization

The Content Patterns That Get Cited

These are the block types AI systems reliably extract. Add at least 2-3 per key page.

See references/content-patterns.md for ready-to-use templates for each pattern.

Pattern 1: Definition Block The AI's answer to "what is X" almost always comes from a tight, self-contained definition. Format:

[Term] is [concise definition in 1-2 sentences]. [One sentence of context or why it matters].

Placed within the first 300 words of the page. No hedging, no preamble. Just the definition.

Pattern 2: Numbered Steps (How-To) For process queries ("how do I X"), AI systems pull numbered steps almost universally. Requirements:

  • Steps are numbered
  • Each step is actionable (verb-first)
  • Each step is self-contained (could be quoted alone and still make sense)
  • 5-10 steps maximum (AI truncates longer lists)

Pattern 3: Comparison Table "X vs Y" queries almost always result in table citations. Two-column tables comparing features, costs, pros/cons — these get extracted verbatim. Format matters: clean markdown table with headers wins.

Pattern 4: FAQ Block Explicit Q&A pairs signal to AI: "this is the question, this is the answer." Mark up with FAQPage schema. Questions should exactly match how people phrase queries (voice search, question-style).

Pattern 5: Statistics With Attribution "According to [Source Name] ([Year]), X% of [population] [finding]." This format is extractable because it has a complete citation. Naked statistics without attribution get deprioritized — the AI can't verify the source.

Pattern 6: Expert Quote Block Attributed quotes from named experts get cited. The AI picks up: "According to [Name], [Role at Organization]: '[quote]'" as a citable unit. Build in a few of these per key piece.

Rewriting for Extractability

When optimizing existing content:

  1. Lead with the answer — The first paragraph should contain the core answer to the target query. Don't save it for the conclusion.

  2. Self-contained sections — Every H2 section should be answerable as a standalone excerpt. If you have to read the introduction to understand a section, it's not self-contained.

  3. Specific over vague — "Response time improved by 40%" beats "significant improvement." AI systems prefer citable specifics.

  4. Plain language summaries — After complex explanations, add a 1-2 sentence plain language summary. This is what AI often lifts.

  5. Named sources — Replace "experts say" with "[Researcher Name], [Year]." Replace "studies show" with "[Organization] found in their [Year] survey."

Schema Markup for AI Discoverability

Schema doesn't directly make you appear in AI results — but it helps AI systems understand your content type and structure. Priority schemas:

Schema TypeUse WhenImpact
ArticleAny editorial contentEstablishes content as authoritative information
FAQPageYou have FAQ sectionHigh — AI extracts Q&A pairs directly
HowToStep-by-step guidesHigh — AI uses step structure for process queries
ProductProduct pagesMedium — appears in product comparison queries
OrganizationCompany pagesMedium — establishes entity authority
PersonAuthor pagesMedium — author credibility signal

Implement via JSON-LD in the page <head>. Validate at schema.org/validator.


Mode 3: Monitoring

AI search is volatile. Citations change. Track them.

Manual Citation Tracking

Weekly: test your top 10 target queries on Perplexity and ChatGPT. Log:

  • Were you cited? (yes/no)
  • Rank in citations (1st source, 2nd, etc.)
  • What text was used?

This takes ~20 minutes/week. Do it before automated solutions exist (they don't yet, not reliably).

Google Search Console for AI Overviews

Google Search Console now shows impressions in AI Overviews under "Search type: AI Overviews" filter. Check:

  • Which queries trigger AI Overview impressions for your site
  • Click-through rate from AI Overviews (typically 50-70% lower than organic)
  • Which pages get cited

Visibility Signals to Track

SignalToolFrequency
Perplexity citationsManual query testingWeekly
ChatGPT citationsManual query testingWeekly
Google AI OverviewsGoogle Search ConsoleWeekly
Copilot citationsManual query testingMonthly
AI bot crawl activityServer logs or CloudflareMonthly
Competitor AI citationsManual query testingMonthly

See references/monitoring-guide.md for the full tracking setup and templates.

When Your Citations Drop

If you were cited and suddenly aren't:

  1. Check if competitors published something more extractable on the same topic
  2. Check if your robots.txt changed (block AI bots = instant disappearance)
  3. Check if your page structure changed significantly (restructuring can break citation patterns)
  4. Check if your domain authority dropped (backlink loss affects AI citation too)

Proactive Triggers

Flag these without being asked:

  • AI bots blocked in robots.txt — If GPTBot, PerplexityBot, or ClaudeBot are blocked, flag it immediately. Zero AI visibility is possible until fixed, and it's a 5-minute fix. This trumps everything else.
  • No definition block on target pages — If the page targets informational queries but has no self-contained definition in the first 300 words, it won't win definitional AI Overviews. Flag before doing anything else.
  • Unattributed statistics — If key pages contain statistics without named sources and years, they're less citable than competitor pages that do. Flag all naked stats.
  • Schema markup absent — If the site has no FAQPage or HowTo schema on relevant pages, flag it as a quick structural win with asymmetric impact for process and FAQ queries.
  • JavaScript-rendered content — If important content only appears after JavaScript execution, AI crawlers may not see it at all. Flag content that's hidden behind JS rendering.

Output Artifacts

When you ask for...You get...
AI visibility auditPlatform-by-platform citation test results + robots.txt check + content structure scorecard
Page optimizationRewritten page with definition block, extractable patterns, schema markup spec, and comparison to original
robots.txt fixUpdated robots.txt with correct AI bot allow rules + explanation of what each bot is
Schema markupJSON-LD implementation code for FAQPage, HowTo, or Article — ready to paste
Monitoring setupWeekly tracking template + Google Search Console filter guide + citation log spreadsheet structure

Communication

All output follows the structured standard:

  • Bottom line first — answer before explanation
  • What + Why + How — every finding includes all three
  • Actions have owners and deadlines — no "consider reviewing..."
  • Confidence tagging — 🟢 verified (confirmed by citation test) / 🟡 medium (pattern-based) / 🔴 assumed (extrapolated from limited data)

AI SEO is still a young field. Be honest about confidence levels. What gets cited can change as platforms evolve. State what's proven vs. what's pattern-matching.


Related Skills

  • content-production: Use to create the underlying content before optimizing for AI citation. Good AI SEO requires good content first.
  • content-humanizer: Use after writing for AI SEO. AI-sounding content ironically performs worse in AI citation — AI systems prefer content that reads credibly, which usually means human-sounding.
  • seo-audit: Use for traditional search ranking optimization. Run both — AI SEO and traditional SEO are complementary, not competing. Many signals overlap.
  • content-strategy: Use when deciding which topics and queries to target for AI visibility. Strategy first, then optimize.

FAQ

What does the ai-seo skill do?

Optimize content to get cited by AI search engines — ChatGPT, Perplexity, Google AI Overviews, Claude, Gemini, Copilot. Use when you want your content to appear in AI-generated answers, not just ranked in blue links. Triggers: 'optimize for AI search', 'get cited by ChatGPT', 'AI Overviews', 'Perplexity citations', 'AI SEO', 'generative search', 'LLM visibility', 'GEO' (generative engine optimization). NOT for traditional SEO ranking (use seo-audit). NOT for content creation (use content-production).

How do I install ai-seo?

Run npx skills add https://github.com/alirezarezvani/claude-skills --skill ai-seo in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ai-seo/ (personal) or .claude/skills/ai-seo/ (project).

Which AI agents can use ai-seo?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ai-seo safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ai-seo?

It is published by alirezarezvani in alirezarezvani/claude-skills. It has 538 recorded installs.

More from alirezarezvani/claude-skills

View all →

engineering-skills

alirezarezvani/claude-skills

Index of the engineering-team skills bundle for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw, and 6 more tools. Architecture, frontend, backend, QA, DevOps, security, AI/ML, data engineering, Playwright, Stripe, AWS, MS365 (stdlib-only Python tools). Use when browsing or choosing among engineering-team role skills — load only the one specialist SKILL.md you need, never bulk-load the bundle.

Backend & APIs2.4K installs

finance-skills

alirezarezvani/claude-skills

Router/index for the finance skills bundled in this plugin: financial-analyst (ratio analysis, DCF valuation, budget variance, rolling forecasts), saas-metrics-coach (ARR/MRR, churn, CAC/LTV, NRR, quick ratio) and month-end-close (close calendar, reconciliations, flux review). Use when a finance request doesn't obviously match one skill and you need to pick the right one (e.g., 'analyze these financials', 'how healthy are my SaaS metrics').

Business & Finance2.3K installs

marketing-skills

alirezarezvani/claude-skills

Directory and router for the marketing skills library. Use when you need to find the right marketing skill for a task, see what marketing capabilities exist, or get oriented in this plugin. 44 specialist skills across 8 pods (content, SEO + AEO, CRO, channels, growth, intelligence, sales enablement, ops), 59 stdlib Python tools. Routes to one skill — it does not execute marketing work itself.

Marketing & SEO2.3K installs

business-growth-skills

alirezarezvani/claude-skills

Router/index for the 4 business & growth skills bundled in this plugin: customer-success-manager (health scoring, churn risk, expansion), sales-engineer (RFP analysis, competitive matrices, PoC planning), revenue-operations (pipeline, forecast accuracy, GTM efficiency), and contract-and-proposal-writer. Use when a growth/revenue request doesn't obviously match one skill and you need to pick the right one (e.g., 'which accounts are at risk', 'should we bid on this RFP').

Business & Finance2.2K installs

engineering-advanced-skills

alirezarezvani/claude-skills

Index of 37 advanced engineering agent skills for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Use when browsing or choosing among the POWERFUL-tier engineering skills: agent design, RAG, MCP servers, CI/CD, database design, observability, security auditing, changelog/release automation, reliability (SLO/chaos/flags/operators), platform ops.

AI & Agents2K installs

product-skills

alirezarezvani/claude-skills

Use when coordinating product work across the 12 bundled product sub-skills (RICE, OKRs, UX research, design tokens, competitive teardown, analytics, experiments, discovery, roadmaps, spec-to-repo, landing pages, SaaS scaffolding) or the 4 standalone product-team plugins (user stories, Apple HIG, code-to-PRD, research summarizer). Triggers on 'help me prioritize', 'plan a product experiment', 'we ship features nobody uses', 'run the discovery loop', 'is our OST sound'. Forks context to route to one sub-skill via a deterministic signal router and returns a digest; can also drive a continuous-discovery loop (Torres cadence tracker + OST linter as machine gates) or a full goal→plan→execute→verify→close run through the repo-wide agent-harness. Distinct from project-management (how to deliver vs what to build), marketing/landing (from-scratch pages), and engineering/agent-harness (the generic loop engine this orchestrator plugs into).

Popular marketing & seo skills

View category →

reddit-automation

flowkit-labs/skills

Find Reddit threads where people are genuinely asking for what you offer, then draft short, genuinely helpful replies — disclosing your affiliation honestly and naming your product only when it truly answers the question. Two moves: discovery — scan the right subreddits for real needs (recommendation asks, expressed pain, competitor mentions) and rank the few threads where you can actually help; drafting — write from real experience, respect each community's self-promo rules, and keep a human in the loop to review and post. This markets on Reddit the honest way: contribute value, disclose who you are, never astroturf. Distilled from the playbook behind doany.ai's Reddit agent. Triggers on "find reddit opportunities", "reddit marketing", "reddit automation", "reply on reddit for my product", "reddit community engagement", "reddit lead gen", or any ask to turn Reddit threads into genuine, disclosed marketing replies.

Marketing & SEO1.1M installs

twitter-automation

101-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO880K installs

twitter-automation

magentosh/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO771.7K installs

twitter-automation

qu-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO564.3K installs

product-launch-video

heygen-com/hyperframes

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

Marketing & SEO538.7K installs

twitter-automation

skills-shell/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO453.7K installs