agentleFS
TheSmokeDevTheSmokeDev/geo-skills/skills/ai-seo/SKILL.md

ai-seo

Skill26 starsChanged 3 months agoMITView on GitHub

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.

47 other projects use a version of this, 38 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use popups, co-marketing and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CesarjoquinSkill

    popups

    When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see cro. For general page conversion optimization, see cro.

    Also in 14 projects that use this

  • CesarjoquinSkill

    co-marketing

    When the user wants to find co-marketing partners, plan joint campaigns, or brainstorm partnership opportunities. Use when the user says 'co-marketing,' 'partner marketing,' 'joint campaign,' 'who should we partner with,' 'integration marketing,' 'cross-promotion,' 'collaborate with another company,' 'partnership ideas,' or 'co-brand.' For customer referral programs, see referrals. For launch-specific partnerships, see launch.

    Also in 14 projects that use this

  • coreyhaines31Skill

    marketing-council

    When the user wants multiple expert perspectives on a marketing question — a simulated board of advisors staffed by legendary marketers (Seth Godin, David Ogilvy, Eugene Schwartz, April Dunford, Rory Sutherland, Alex Hormozi, Byron Sharp, and more). Also use when the user mentions 'marketing council,' 'board of advisors,' 'advisory board,' 'what would Seth Godin say,' 'what would Ogilvy think,' 'channel Hormozi,' 'get multiple perspectives,' 'debate this,' 'have the council review,' 'marketing mentors,' or asks how a famous marketer would approach their problem. The council gives each advisor's take through their documented frameworks, surfaces where they disagree, and synthesizes a recommendation. For executing the winning direction, hand off to positioning, offers, copywriting, ads, or the relevant skill.

    Also in 7 projects that use this

  • ScaleBrickSkill

    competitors

    Audit competitors using ScaleBrick's 3-surface framework (social, web/pages, SEO). Categorizes their pricing, features, and landing pages. Identifies gaps you can exploit, positioning angles no one is claiming, and specific moves you can make this week.

    Also in 15 projects that use this

  • prayceoSkill

    product-marketing

    Applies Meghan Keaney Anderson and Mary Sheehan's Mastering Product Marketing frameworks to build influence and demonstrate impact by delivering great products to market successfully. Covers product positioning, go-to-market strategy, and launch planning and tiering. Activates when making decisions about your product's positioning, planning feature or product launches, defining go-to-market strategy, or crafting product messaging. For pricing and packaging frameworks, see consumer-subscription. Triggers when someone asks about positioning, go-to-market, launch planning, competitive differentiation, or says "how should we position this?" or "how do we launch this feature?

    Also in 17 projects that use this

  • roerohanSkill

    emails

    When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold outreach emails, see cold-email. For in-app onboarding, see onboarding.

    Also in 12 projects that use this

  • +6 more from Cesarjoquin

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 14 are common, 2 are distinctive, and 1 is very specific to this project.

  • 14

    Common

    Most of the 45 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If .agents/product-marketing-context.md exists (or .claude/product-marketing-context.md in older setups), read it before asking questions.

    line 15
  2. Common:

    Do you know if your brand appears in AI-generated answers today?

    line 20
  3. Common:

    Do you have existing structured data (schema markup)?

    line 27
  4. Common:

    Before optimizing, assess your current AI search presence.

    line 73
  5. Common:

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

    line 77
  6. Common:

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

    line 93
  7. Common:

    Verify your robots.txt allows AI crawlers.

    line 120
  8. Common:

    Keep key answer passages to 40-60 words (optimal for snippet extraction)

    line 160
  9. Common:

    Use H2/H3 headings that match how people phrase queries

    line 161
  10. Common:

    Add dates to all statistics

    line 189
  11. Common:

    Remove or update outdated information

    line 202
  12. Common:

    Ensure your Wikipedia page is accurate and current

    line 223
  13. Common:

    Create YouTube content for key how-to queries

    line 227
  14. Common:

    Not all content is equally citable.

    line 252
  15. Distinctive:

    Run each through ChatGPT, Perplexity, and Google

    line 298
  16. Common:

    Do you have structured data (schema markup) on your site?

    line 387
  17. Distinctive:

    Do you have a Wikipedia page or presence on review sites?

    line 390

“Common” is measured: kept by at least 6 in 10 of the 45 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 indexed pages via Gemini 3 query fan-outOnly 38% of cited URLs rank in the organic top 10 (Ahrefs, Mar 2026) — fan-out pulls from sub-query SERPs
ChatGPT (with search)Retrieves from the Bing index (87% of citations match Bing results; no Google in pipeline), then citesBing indexation is the hard prerequisite; brand mentions outweigh backlinks
PerplexityAlways cites sources with linksOwn index + reranker; favors recent, well-structured, high-quality pages over raw domain authority
GeminiGoogle's AI assistant — its own surface (only 27% source overlap with AI Mode)Google index + Knowledge Graph; leans entity/brand presence
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 carry structured data you're missing? (Worth matching for rich results and entity clarity, though per Ahrefs' May 2026 controlled study it is not itself a citation driver)
  • Third-party presence — Are they cited via Wikipedia, Reddit, review sites?
  • Fan-out coverage — Do they cover the sub-queries around the topic, not just the head term? (Only 38% of AIO-cited URLs rank in the organic top 10 — Ahrefs, Mar 2026)

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 training data (note: it does NOT gate AI Overviews or Search appearance — that's standard Googlebot)
  • 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)
  • YouTube — the strongest single measured AI-visibility signal (YouTube mentions r=0.737, Ahrefs 75K brands, Jul 2026)
  • Reddit discussions — but note the reframe: Reddit is only 1.93% of ChatGPT citation ref_types (Ahrefs, Apr 2026) and its share collapsed ~60%→10% in Sept 2025 (5WPR, May 2026). Reddit shapes what models SAY about you (consensus layer), not what they link to
  • Industry publications and guest posts
  • Review sites (G2, Capterra, TrustRadius for B2B SaaS)
  • 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 gives AI systems and knowledge graphs clean, unambiguous entity and fact data — but set expectations correctly: schema does not lift AI citations on its own. The Ahrefs controlled study (1,885 pages that added JSON-LD, May 2026) measured ChatGPT +2.2%, AI Mode +2.4%, AIO -4.6% — all within noise. Schema's real value is rich results plus entity clarity. Nuance (SSRN, Feb 2026): schema carrying concrete extractable facts can still correlate with citation — the lift is the quotable data, not the markup. Put the facts in visible content first.

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

Schema's value is rich results and entity clarity — controlled testing (Ahrefs, May 2026) shows no direct AI-citation lift from markup alone. For implementation, use the schema-markup skill.


Content Types That Get Cited Most

Not all content is equally citable. Prioritize these formats:

Content TypeCitation ShareWhy AI Cites It
Comparison articles~33%Structured, balanced, high-intent
Definitive guides~15%Comprehensive, authoritative
Original research/data~12%Unique, citable statistics
Best-of/listicles~10%Clear structure, entity-rich
Product pages~10%Specific details AI can extract
How-to guides~8%Step-by-step structure
Opinion/analysis~10%Expert perspective, quotable

Underperformers for AI citation:

  • Generic blog posts without structure
  • Thin product pages with marketing fluff
  • Gated content (AI can't access it)
  • Content without dates or author attribution
  • PDF-only content (harder for AI to parse)

Monitoring AI Visibility

What to Track

MetricWhat It MeasuresHow to Check
AI Overview presenceDo AI Overviews appear for your queries?Manual check or a rank tracker
Brand citation rateHow often you're cited in AI answersAI visibility tools (see below)
Share of AI voiceYour citations vs. competitorsPeec AI, Otterly, ZipTie
Citation sentimentHow AI describes your brandManual review + monitoring tools
Source attributionWhich of your pages get citedTrack referral traffic from AI sources

AI Visibility Monitoring Tools

ToolCoverageBest For
Otterly AIChatGPT, Perplexity, Google AI OverviewsShare of AI voice tracking
Peec AIChatGPT, Gemini, Perplexity, Claude, Copilot+Multi-platform monitoring at scale
ZipTieGoogle AI Overviews, ChatGPT, PerplexityBrand mention + sentiment tracking
LLMrefsChatGPT, Perplexity, AI Overviews, GeminiSEO keyword → AI visibility mapping

DIY Monitoring (No Tools)

Monthly manual check:

  1. Pick your top 20 queries
  2. Run each through ChatGPT, Perplexity, and Google
  3. Record: Are you cited? Who is? What page?
  4. Log in a spreadsheet, track month-over-month

AI SEO for Different Content Types

SaaS Product Pages

Goal: Get cited in "What is [category]?" and "Best [category]" queries.

Optimize:

  • Clear product description in first paragraph (what it does, who it's for)
  • Feature comparison tables (you vs. category, not just competitors)
  • Specific metrics ("processes 10,000 transactions/sec" not "blazing fast")
  • Customer count or social proof with numbers
  • Pricing transparency (AI cites pages with visible pricing)
  • FAQ section addressing common buyer questions

Blog Content

Goal: Get cited as an authoritative source on topics in your space.

Optimize:

  • One clear target query per post (match heading to query)
  • Definition in first paragraph for "What is" queries
  • Original data, research, or expert quotes
  • "Last updated" date visible
  • Author bio with relevant credentials
  • Internal links to related product/feature pages

Comparison/Alternative Pages

Goal: Get cited in "[X] vs [Y]" and "Best [X] alternatives" queries.

Optimize:

  • Structured comparison tables (not just prose)
  • Fair and balanced (AI penalizes obviously biased comparisons)
  • Specific criteria with ratings or scores
  • Updated pricing and feature data
  • Cite the competitor-alternatives skill for building these pages

Documentation / Help Content

Goal: Get cited in "How to [X] with [your product]" queries.

Optimize:

  • Step-by-step format with numbered lists
  • Code examples where relevant
  • HowTo schema markup
  • Screenshots with descriptive alt text
  • Clear prerequisites and expected outcomes

Common Mistakes

  • Ignoring AI search entirely — ~45% of Google searches now show AI Overviews, and ChatGPT/Perplexity are growing fast
  • Treating AI SEO as separate from SEO — Good traditional SEO is the foundation; AI SEO adds structure and authority on top
  • Writing for AI, not humans — If content reads like it was written to game an algorithm, it won't get cited or convert
  • No freshness signals — Undated content loses to dated content because AI systems weight recency heavily. Show when content was last updated
  • Gating all content — AI can't access gated content. Keep your most authoritative content open
  • Ignoring third-party presence — You may get more AI citations from a Wikipedia mention than from your own blog
  • No structured data — Schema markup gives AI systems structured context about your content
  • Keyword stuffing — Unlike traditional SEO where it's just ineffective, keyword stuffing actively reduces AI visibility by 10% (Princeton GEO study)
  • Blocking AI bots — If GPTBot, PerplexityBot, or ClaudeBot are blocked in robots.txt, those platforms can't cite you
  • Generic content without data — "We're the best" won't get cited. "Our customers see 3x improvement in [metric]" will
  • Forgetting to monitor — You can't improve what you don't measure. Check AI visibility monthly at minimum

Tool Integrations

Complementary data sources (all optional - the skill works without them):

ToolUse For
A keyword/rank tracker (optional)AI Overview tracking, keyword research, content gap analysis
A backlink analysis tool (optional)Backlink profile, content explorer, AI Overview data
Google Search Console (free)Search Console performance data, query tracking
Google Analytics 4 (free)Referral traffic from AI sources

Task-Specific Questions

  1. What are your top 10-20 most important queries?
  2. Have you checked if AI answers exist for those queries today?
  3. Do you have structured data (schema markup) on your site?
  4. What content types do you publish? (Blog, docs, comparisons, etc.)
  5. Are competitors being cited by AI where you're not?
  6. Do you have a Wikipedia page or presence on review sites?

Related Skills

  • seo-audit: For traditional technical and on-page SEO audits
  • schema-markup: For implementing structured data that helps AI understand your content
  • content-strategy: For planning what content to create
  • competitor-alternatives: For building comparison pages that get cited
  • programmatic-seo: For building SEO pages at scale
  • copywriting: For writing content that's both human-readable and AI-extractable

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.