# AI Search Optimization skill for Claude

AI Search Optimization checks whether ChatGPT, Perplexity, Gemini and Google AI Overviews can find and cite your pages, then plans the fixes in order of priority

A 3-minute read with a 7-step sample run and a 86 KB download, updated Nov 30, 2026

[Download the skill](https://marketingskillslibrary.com/downloads/ai-search-optimization.zip)

Works in claude.ai and Claude Code

## How it works

Step 1 of 7

### Starts from your notes and goals

It reads your product marketing file first if one exists, then asks about your current AI visibility, your content, your goals and the competitors you see cited

Step 2 of 7

### Confirms each engine can find you

An engine can't cite a page its index doesn't hold, and ChatGPT and Copilot draw on Bing, Claude on Brave, and Gemini and AI Overviews on Google

Step 3 of 7

### Tests 10 to 20 queries across engines

For each query you record whether Google AI Overviews, ChatGPT and Perplexity cite you, and which competitors they cite

Step 4 of 7

### Checks each priority page

A clear definition in the first paragraph, self-contained answer blocks, sourced statistics, an FAQ, schema and an update within the last 6 months are among them

Step 5 of 7

### Sorts AI bots by what they do

Search discovery, user-triggered fetching and model training are separate controls in robots.txt, so blocking a training crawler such as GPTBot does not necessarily block citations

Step 6 of 7

### Plans the fixes

Structure makes passages easy to lift, authority makes them worth citing, and presence covers the third-party sites that AI engines read

Step 7 of 7

### A ranked action list with measures

Each action is tied to a page or a query, with the signal that will show whether it worked

## In detail

### Why the index comes first

Before any content work, the skill has you confirm that your priority pages sit in the index behind each engine you care about. Google AI Overviews and Gemini use Google's index, ChatGPT and Copilot use Bing's, and Claude uses Brave Search when search is on. Sites that only ever submitted to Google are often missing from Bing and Brave, so those get their own checks in Bing Webmaster Tools and at search.brave.com.

### How the query test is built

You pick 10 to 20 queries spread across buyer stages, from problem-aware questions to "[your brand] pricing", written the way people type into a chat box. The skill keeps only prompts that would change revenue and collapses wording variants of the same intent into one. AI answers change between runs, so each query runs 3 to 5 times per platform. You track a rate with its sample size, such as "cited 3/5, n=5".

### What the authority numbers say

The skill leans on the Princeton GEO study, which ranked nine methods. Quotations lifted visibility 41%, statistics 31%, fluency 28% and citing sources 27%. Keyword stuffing cut it 8%. Rank changes the picture: citing sources lifted a 5th-ranked site 115% and cut top-ranked sites 30%. It warns against turning any study percentage into a forecast for your site unless engine, industry, language, market and date match.

### Google and the other engines

Google says AI Overviews and AI Mode need no special markup or files, and warns against chunking pages or writing separate content for AI. ChatGPT, Claude and Perplexity reward extractable structure and read files such as llms.txt and a /pricing.md when they exist. So the skill plans core SEO for Google and adds answer blocks, comparison tables and machine-readable files for the rest.

## Rules it follows

Limits written into the skill, with the reason for each

Keep key answer passages to 40 to 60 words

Engines lift passages, and the skill itself notes this range is a common heuristic that no study has measured as an optimum

A priority page passes the freshness check only if it was updated within the last 6 months

Undated content loses to dated content, since AI systems weight recency heavily

Run each query 3 to 5 times per platform before calling it cited

AI answers change from run to run, so a single run proves little

Default robots.txt to one wildcard rule that allows agents, and add named groups only for deliberate exceptions

An allowlist of named crawlers silently excludes agent search tools that run their own crawlers

No keyword stuffing

In the Princeton GEO study it reduced AI visibility by about 8%

## What it needs and what you get

### What you provide

- Your domain and priority pages
- The 10 to 20 queries that matter most
- Competitors you see cited in AI answers
- Your robots.txt and any WAF or CDN bot rules
- Search Console or GA4 exports, if you have them

### What you get back

A prioritized action list where each action names a page or query and the signal that will show it worked, such as index status, an AI Overview citation, AI-referral sessions, branded search or prompt mention rate

- A query-by-engine table showing where you and your competitors are cited
- A 10-point extractability check for each priority page
- A robots.txt review that separates AI search, user-fetch and training crawlers
- A /pricing.md template and an llms.txt outline that AI agents can read
- A fix list across structure, authority and presence, plus a monthly tracking routine

### A piece of the output from the sample run

Extractability check, 3 priority pages

| Page | Score | Main gap |
|---|---|---|

| /ifta-guide | 1 of 9 | Rates in a PNG, updated Feb 2025, no author |
| /cost-per-mile | 4 of 9 | $2.27 average with no source, no FAQ |
| /pricing | 0 of 8 | No prices in HTML; ChatGPT says $49 and no IFTA |

8 prioritized actions, each with a measure

- Open PerplexityBot and Claude-SearchBot, keep the training opt-out
- Submit the sitemap to Bing; baseline 14 of 122 URLs

### When to use it

- ChatGPT recommends two competitors when buyers ask about your category, and never you
- You are deciding whether to block GPTBot or other AI crawlers in robots.txt
- AI Overviews now appear on your main queries and you want your pages cited in them

## Sample run

One test task, shown exactly as it ran

Read the run as text

ChatGPT and Perplexity recommend HaulBooks and FleetLedger, never us. Here is our Search Console export, my check of 12 AI answers, robots.txt and page notes. Run an AI visibility audit

- search-console-queries.csv 40 rows
- ai-check.md 12 rows

Using the skill **ai-seo**

Splitting 40 queries into question, comparison and branded

Question-shaped queries hold **48.1%** of your 65,317 impressions, at 1.47% CTR. Comparison queries convert worst: **0.79%** CTR at average position 7.9. Half your clicks (851 of 1,696) come from 5 branded queries.

Queries where each brand is cited, of 12 checked

- HaulBooks 8
- FleetLedger 6
- Tallyroute 5 ChatGPT 5/36 runs, Perplexity 1/36

Index and AI crawler access 2 passed , 1 needs a look , 3 failed

- passed: Google: all 3 priority pages indexed
- failed: Bing: 14 of 122 URLs, /pricing and /ifta-guide missing
- failed: PerplexityBot blocked, which stops search discovery
- failed: Claude-SearchBot blocked in robots.txt
- passed: GPTBot blocked: training opt-out only, citations unaffected
- needs a look: Cloudflare bot setting unknown, check it

Extractability check, 3 priority pages

| Page | Score | Main gap |
|---|---|---|

| /ifta-guide | 1 of 9 | Rates in a PNG, updated Feb 2025, no author |
| /cost-per-mile | 4 of 9 | $2.27 average with no source, no FAQ |
| /pricing | 0 of 8 | No prices in HTML; ChatGPT says $49 and no IFTA |

Ranking fixes by impressions at stake

Prioritized actions and how to measure them

- Open PerplexityBot and Claude-SearchBot, keep the training opt-out
- Submit the sitemap to Bing; baseline 14 of 122 URLs
- Prices in /pricing HTML plus /pricing.md and /llms.txt to fix the $49 error
- Rewrite /ifta-guide for 15,580 impressions: answer first, HTML rate table, CPA review

## Example prompts

We're a project management tool and ChatGPT and Perplexity keep leaving us out of recommendations. Run an AI visibility audit and give me a plan

Should we block GPTBot and PerplexityBot in our robots.txt? We're worried about content theft

Perplexity cites a competitor's comparison page for 'best payroll software for agencies'. What does their page have that ours lacks?

## How to install

### In claude.ai

Download `ai-search-optimization.zip`, upload the zip as it is under Settings, Capabilities, Skills and ask for the job in a new chat

[Step by step: Use skills in Claude](https://support.claude.com/en/articles/12512180-use-skills-in-claude)

### In Claude Code

```
unzip ai-search-optimization.zip -d ~/.claude/skills/
```

For one project only, move the `ai-seo` folder into `.claude/skills/` inside it

[Step by step: Claude Code skills docs](https://code.claude.com/docs/en/skills)

[ai-search-optimization.zip: A 86 KB download with 19 files](https://marketingskillslibrary.com/downloads/ai-search-optimization.zip)

- ai-seo/
- CHANGES.md 4 KB
- SKILL.md 44 KB
- evals/
- evals.json 20 KB
- references/
- agent-defaults.md 9 KB
- agent-readiness.md 18 KB
- ai-attribution.md 4 KB
- answer-accuracy.md 6 KB
- citations-vs-recommendations.md 13 KB
- content-patterns.md 13 KB
- content-types.md 3 KB
- format-volatility.md 7 KB
- linkedin-ai-citations.md 9 KB
- multilingual-and-commerce.md 5 KB
- okf.md 6 KB
- platform-ranking-factors.md 17 KB
- positioning-and-consensus.md 7 KB
- prompt-portfolio.md 8 KB
- youtube-ai-citations.md 4 KB

## Questions

Does it check ChatGPT and Perplexity answers automatically?

No, it gives you the queries and a table to fill in, asks you to run each query 3 to 5 times per engine and track the mention rate, and names monitoring tools such as Otterly and Peec AI that run these checks for you

Do I need llms.txt to appear in Google AI Overviews?

Google says AI Overviews and AI Mode need no special files or markup, but the skill still suggests llms.txt and a /pricing.md file for ChatGPT, Claude, Perplexity and AI buying agents, which read these files when they exist

## More in Search and AI visibility

[All in this area](https://marketingskillslibrary.com/areas/search-and-ai-visibility.html)

- [AI Search Visibility Plan: A GEO plan: which AI engines to target, page structure, crawler access, metrics](https://marketingskillslibrary.com/skills/ai-search-visibility-plan.html)
- [SEO Audit and Mapping: A ranked SEO fix list plus a keyword map with one main keyword per URL](https://marketingskillslibrary.com/skills/seo-audit-and-mapping.html)
- [SEO Audit: A ranked list of SEO fixes, each with the evidence behind it and a priority](https://marketingskillslibrary.com/skills/seo-audit.html)

---

HTML version: https://marketingskillslibrary.com/skills/ai-search-optimization.html
