guia-matthieu/clawfu-skills/ai-bot-log-audit
Claude Code and agent skill by guia-matthieu/clawfu-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when analyzing server logs to understand how AI crawlers (GPTBot, ClaudeBot, PerplexityBot) interact with your site. Use when optimizing content placement for LLM retrieval, diagnosing why AI search isn't citing your content, or auditing crawl patterns to find optimization gaps.
Install
npx vskill@latest install guia-matthieu/clawfu-skills/ai-bot-log-auditSKILL.md
AI Bot Log Audit
Analyze server logs to understand how AI crawlers retrieve your content, then optimize placement and structure for maximum citation probability. Based on Metehan Yeşilyurt's log file analysis framework.
When to Use This Skill
Use this skill when you need to:
- Audit AI bot crawl patterns on your site (what they fetch, how often, what they skip)
- Diagnose citation gaps — your content exists but AI search doesn't cite it
- Optimize content placement for LLM retrieval mechanics (lost-in-the-middle, embedding similarity)
- Compare AI bot behavior across different products (Google, OpenAI, Anthropic, Perplexity)
- Build a GEO strategy grounded in actual crawl data, not assumptions
- Identify which pages AI bots prioritize and which they ignore
This skill is particularly valuable for:
- SEO professionals adding AI search to their optimization scope
- Publishers monitoring AI traffic and content extraction
- Technical SEOs conducting log file analysis
- Content strategists deciding what to optimize for AI visibility
Methodology Foundation
Source Expert: Metehan Yeşilyurt (SEO Consultant, speaker at BrightonSEO, The Search Session)
Core Thesis: Log file analysis reveals the real mechanics of AI search retrieval. Different AI products (AI Overviews, AI Mode, Perplexity) use fundamentally different retrieval pipelines, so optimizing for "AI search" requires understanding each product's specific crawl and retrieval behavior.
"AI Overviews, AI Mode, and Web Guide are three completely different products with different retrieval behaviors. You can't optimize for 'AI search' as if it's one thing." — Metehan Yeşilyurt, The Search Session
Key Insight: The shift from traditional SEO to AI search optimization is from chasing clicks in deterministic SERPs to chasing citations in machine-generated text. Log files reveal the mechanics behind citation selection.
What Claude Does vs What You Decide
| Claude Does | You Decide | |
|---|---|---|
| Guides log analysis methodology | Which log data to provide | |
| Identifies patterns in crawl behavior | Strategic priority of AI products | |
| Recommends content placement optimizations | Content creation/modification scope | |
| Maps retrieval behavior to optimization actions | Resource allocation for changes | |
| Creates audit templates and checklists | Which recommendations to implement |
What This Skill Does
When invoked, I will guide you through:
- Log Collection — Identify and extract AI bot activity from server logs
- Bot Identification — Map user agents to AI products
- Crawl Pattern Analysis — Understand what AI bots fetch and ignore
- Retrieval Mechanics — Learn how each AI product processes your content
- Optimization Actions — Specific changes to improve AI citation probability
Instructions
Phase 1: AI Bot Identification
Known AI Crawlers (2026)
| Bot User Agent | Operator | Purpose | Respects robots.txt? | |
|---|---|---|---|---|
| GPTBot | OpenAI | Training data + ChatGPT Browse | Yes | |
| ChatGPT-User | OpenAI | Real-time browsing in ChatGPT | Yes | |
| OAI-SearchBot | OpenAI | SearchGPT / ChatGPT Search | Yes | |
| ClaudeBot | Anthropic | Training data collection | Yes | |
| PerplexityBot | Perplexity | Real-time search + answer generation | Yes (mostly) | |
| Google-Extended | Gemini/AI training (deprecated — now part of Googlebot) | N/A | ||
| Googlebot | Traditional crawl + AI Overviews + AI Mode | Yes | ||
| Bytespider | ByteDance | Training for TikTok AI features | Yes | |
| CCBot | Common Crawl | Open dataset used by many AI models | Yes | |
| Applebot-Extended | Apple | Apple Intelligence features | Yes |
Log Extraction Commands
Phase 2: Crawl Pattern Analysis
What to Look For
| Pattern | What It Means | Action | |
|---|---|---|---|
| Bot fetches page frequently | Page is in retrieval index, content matters | Optimize this page first | |
| Bot fetches page once then stops | Page was evaluated and deprioritized | Improve content quality/freshness | |
| Bot never fetches a page | Page not discovered or blocked | Check internal linking, sitemap, robots.txt | |
| Bot gets 404/500 | Technical issue blocking retrieval | Fix immediately | |
| Bot fetches but doesn't cite | Content retrieved but not selected for answers | Improve structure, uniqueness, authority |
Crawl Budget Analysis
AI bots have crawl budgets like traditional bots. If your site is large:
Comparative Bot Behavior
Map how each bot interacts with your site differently:
Phase 3: Understanding Retrieval Mechanics
Each AI product uses a different retrieval pipeline. Optimizing requires understanding the mechanics.
Perplexity: Embedding Similarity + Source Diversification
Perplexity uses high embedding similarity to match content to queries, then actively diversifies sources.
What this means for you:
- Semantic match matters more than keyword match
- Being the single best source isn't enough — Perplexity diversifies
- Your content needs to be retrievable AND complementary to other sources
- Structured, extractable content wins (tables, definitions, clear claims)
Google AI Overviews: Search Index + LLM Layer
AI Overviews sit on top of existing Google Search rankings. Your traditional SEO signals matter.
What this means for you:
- If you don't rank on page 1 for traditional search, you're unlikely to appear in AI Overviews
- The AI layer selects from already-ranked pages and synthesizes
- E-E-A-T signals are inherited from search ranking
Google AI Mode: Multi-Step Query Fan-Out
AI Mode decomposes complex questions into sub-queries, retrieves for each, then synthesizes.
What this means for you:
- Content that answers sub-questions gets included
- Comprehensive topical coverage across your site matters
- Internal linking between related topics helps AI Mode stitch answers together
Phase 4: LLM Vulnerability Awareness
Understanding known LLM processing weaknesses helps you position content for maximum retrieval.
4 Key LLM Vulnerabilities
| Vulnerability | Description | Optimization | |
|---|---|---|---|
| Recency bias | LLMs weight recent information higher, even when older info is more accurate | Date your content clearly. Update regularly. Recent timestamps = retrieval advantage | |
| Lost-in-the-middle | LLMs process beginnings and endings of context better than middles | Place key claims, definitions, and statistics at the START and END of pages/sections | |
| Data poisoning susceptibility | LLMs can be influenced by coordinated content patterns | Not actionable for you, but be aware: competitors can game AI answers | |
| Prompt injection | LLMs can be manipulated via hidden instructions | Not actionable for SEO, but relevant for security audits |
Lost-in-the-Middle: Practical Content Placement
This is the most actionable vulnerability for SEO:
"FAQs at the end of the page, tables in the middle — that's the lost-in-the-middle fix. LLMs handle structured data well regardless of position, but flowing text in the middle gets deprioritized." — Metehan Yeşilyurt
Phase 5: Audit Report Template
AI Bot Log Audit Report
Examples
Example 1: Publisher Losing AI Traffic
Context: News publisher noticed declining traffic from AI referrals. Log audit reveals:
Findings:
- GPTBot hits dropped 60% after robots.txt change (accidentally blocked)
- PerplexityBot only crawling homepage and top 5 articles
- Most content pages have zero AI bot visits
- AI bots hitting 404s on URL structure that changed 3 months ago
Actions:
- Fix robots.txt — allow GPTBot and PerplexityBot
- Add 301 redirects for old URL structure
- Improve internal linking from high-crawl pages to deep content
- Add article schema with datePublished and dateModified
- Restructure top articles with lost-in-the-middle optimization
Example 2: SaaS Blog Not Getting AI Citations
Context: SaaS company publishes weekly blog but never appears in ChatGPT or Perplexity answers.
Findings:
- ClaudeBot and GPTBot crawl regularly (technical access is fine)
- Content is generic ("10 Tips for..." format) — interchangeable with competitors
- No original data, case studies, or unique insights
- Author pages have no Person schema
- Brand search volume: 100/month (competitors: 3,000+)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/seo-tools/ai-bot-log-audit/SKILL.md
Popularity
- Repository stars
- 150
- Repository forks
- 28
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/guia-matthieu/clawfu-skills/ai-bot-log-audit)