serp-analysis
Analyze Google SERP (Search Engine Results Pages) — featured snippets, PAA (People Also Ask), AI Overview, knowledge panels, local packs. Detect AI Overview trigger conditions and optimize content to be cited by AI. Use when user asks to 'analyze SERP', 'check search results', 'AI Overview analysis', 'featured snippet optimization', 'PAA research', or 'how to get cited by Google AI'.
Best use case
serp-analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze Google SERP (Search Engine Results Pages) — featured snippets, PAA (People Also Ask), AI Overview, knowledge panels, local packs. Detect AI Overview trigger conditions and optimize content to be cited by AI. Use when user asks to 'analyze SERP', 'check search results', 'AI Overview analysis', 'featured snippet optimization', 'PAA research', or 'how to get cited by Google AI'.
Teams using serp-analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/serp-analysis/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How serp-analysis Compares
| Feature / Agent | serp-analysis | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze Google SERP (Search Engine Results Pages) — featured snippets, PAA (People Also Ask), AI Overview, knowledge panels, local packs. Detect AI Overview trigger conditions and optimize content to be cited by AI. Use when user asks to 'analyze SERP', 'check search results', 'AI Overview analysis', 'featured snippet optimization', 'PAA research', or 'how to get cited by Google AI'.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# SERP Analysis Skill
Analyze and reverse-engineer Google Search Engine Results Pages to understand ranking patterns, featured snippet triggers, AI Overview conditions, and optimization opportunities.
## When to Use
- Analyzing SERP features for a keyword
- Understanding AI Overview trigger conditions
- Featured snippet optimization
- People Also Ask (PAA) research
- Competitor SERP position analysis
- Local pack analysis
## Capabilities
### 1. SERP Feature Detection
Identify all SERP features for a given query:
- **Featured Snippets** (paragraph, list, table, video)
- **AI Overview / SGE** (Google's AI-generated answers)
- **People Also Ask (PAA)** boxes
- **Knowledge Panel**
- **Local Pack** (map results)
- **Image/Video carousels**
- **Shopping results**
- **Sitelinks**
### 2. AI Overview Analysis
**How to check if AI Overview triggers:**
```bash
# Manual: Search on Google with the query
# Automated: Use SerpAPI or similar
curl -s "https://serpapi.com/search?q={query}&engine=google&api_key={key}" | python3 -c "
import json, sys
data = json.load(sys.stdin)
ai_overview = data.get('ai_overview', {})
if ai_overview:
print('✅ AI Overview detected')
print(f'Sources: {len(ai_overview.get(\"sources\", []))}')
for s in ai_overview.get('sources', []):
print(f' - {s.get(\"title\")}: {s.get(\"link\")}')
else:
print('❌ No AI Overview for this query')
"
```
**AI Overview trigger conditions:**
| Factor | Triggers AI Overview | Doesn't Trigger |
|--------|---------------------|-----------------|
| Query type | Informational, how-to | Navigational, exact-match |
| Complexity | Multi-step, comparison | Simple factual |
| Intent | Research, learning | Transaction, login |
| Content availability | Rich authoritative sources | Thin content |
### 3. Featured Snippet Optimization
**Snippet types and how to win them:**
| Type | Format | Optimization |
|------|--------|-------------|
| **Paragraph** | 40-60 word answer | Answer question directly in first paragraph |
| **List** | Ordered/unordered | Use H2/H3 + bullet/numbered list |
| **Table** | Data comparison | Use HTML `<table>` with clear headers |
| **Video** | YouTube embed | Timestamp chapters + transcript |
**Template for winning paragraph snippets:**
```
<h2>What is {keyword}?</h2>
<p>{Keyword} is {direct 40-60 word answer that completely addresses the query,
including key context and a specific data point or statistic}.</p>
```
### 4. PAA (People Also Ask) Research
**Extract PAA questions for content planning:**
```bash
# Search and extract PAA
WebSearch: "{keyword}"
# Look for "People Also Ask" section
# Each PAA question = content opportunity
```
**PAA optimization checklist:**
- [ ] Answer each PAA question in your content
- [ ] Use the exact PAA question as an H2/H3
- [ ] Provide concise answer (40-60 words) immediately after heading
- [ ] Expand with details below the concise answer
- [ ] Include relevant schema markup (FAQPage)
### 5. SERP Competitive Analysis
**Analyze top 10 results:**
```markdown
| Position | URL | Title Length | Meta Desc | Schema | Word Count | Domain Authority |
|----------|-----|-------------|-----------|--------|------------|-----------------|
| 1 | ... | ... | ... | ... | ... | ... |
| 2 | ... | ... | ... | ... | ... | ... |
```
**Key metrics to compare:**
- Content length and depth
- Schema markup types used
- Backlink profile
- Content freshness (last updated date)
- Page speed score
- Mobile-friendliness
## Workflow
1. **Input**: Target keyword or URL
2. **Search**: Query Google (via web_fetch or SerpAPI)
3. **Detect**: Identify all SERP features present
4. **Analyze**: Breakdown top results' strategies
5. **Recommend**: Specific optimizations to win SERP features
6. **Report**: Structured SERP analysis report
## Output Format
```markdown
## SERP Analysis Report: "{keyword}"
### SERP Features Detected
- [ ] AI Overview: Yes/No
- [ ] Featured Snippet: Type
- [ ] PAA: X questions
- [ ] Knowledge Panel: Yes/No
- [ ] Local Pack: Yes/No
- [ ] Image Carousel: Yes/No
### Top 3 Competitors
1. {URL} — {why they rank}
2. {URL} — {why they rank}
3. {URL} — {why they rank}
### Opportunities
1. {Specific action to take}
2. {Specific action to take}
3. {Specific action to take}
### AI Overview Optimization
- Current citation status: Cited / Not cited
- Recommended changes: ...
```
## Trigger Words
- "分析搜索结果"
- "SERP analysis"
- "check SERP features"
- "AI Overview 分析"
- "featured snippet"
- "PAA 研究"
- "搜索结果页分析"
- "谷歌排名分析"Related Skills
technical-analysis
Master of price action, chart patterns, and technical indicators - combining classical Wyckoff/Dow theory with modern quantitative validation for edge identificationUse when "technical analysis, chart pattern, indicator, RSI, MACD, support resistance, trend, candlestick, price action, fibonacci, trading, technical-analysis, charts, indicators, price-action, patterns, support-resistance, trend-following" mentioned.
static-code-analysis
Implement static code analysis with linters, formatters, and security scanners to catch bugs early. Use when enforcing code standards, detecting security vulnerabilities, or automating code review.
seo-competitor-analysis
Deep SEO competitor analysis — keyword mapping, backlink profiling, content strategy audit, SERP share analysis, and technical SEO comparison. Use when user asks to 'analyze competitor SEO', 'competitor keyword analysis', 'backlink comparison', 'SEO competitive intelligence', 'competitor content strategy', or 'SEO gap analysis'.
roi-analysis
Use when calculating marketing ROI on Xiaohongshu, measuring campaign return on investment, analyzing cost per acquisition, evaluating marketing spend efficiency, or proving marketing value to stakeholders
market-sizing-analysis
Use when the user asks to calculate TAM, determine SAM, estimate SOM, size a market, calculate market opportunity, ask for total addressable market, or do market sizing for a startup or business opportunity.
developer-growth-analysis
Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.
competitive-analysis
Help users understand and respond to competition. Use when someone is positioning against competitors, evaluating market threats, running competitive war games, or deciding how much to focus on competitors versus customers.
wemp-operator
> 微信公众号全功能运营——草稿/发布/评论/用户/素材/群发/统计/菜单/二维码 API 封装
zsxq-smart-publish
Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.
zoom-automation
Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.
zoho-crm-automation
Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.
ziliu-publisher
字流(Ziliu) - AI驱动的多平台内容分发工具。用于一次创作、智能适配排版、一键分发到16+平台(公众号/知乎/小红书/B站/抖音/微博/X等)。当用户需要多平台发布、内容排版、格式适配时使用。触发词:字流、ziliu、多平台发布、一键分发、内容分发、排版发布。