mcpField
3
30x-seo-ai-visibility

30x-seo-ai-visibility

github.com/norahe0304-art营销与增长5674 次安装33 周前更新
代码仓库

关于 30x-seo-ai-visibility

用于监测品牌在 AI 搜索和 LLM 平台中的提及与引用情况的 SEO Skill,通过 DataForSEO AI Optimization API 查询。适合分析域名、关键词及跨平台表现,并查看 ChatGPT、Claude、Gemini 和 Perplexity 的回答。

主要功能

  1. 01监测域名在 AI 平台的提及
  2. 02查询关键词对应的引用域名
  3. 03查看热门引用域名与页面
  4. 04比较跨平台可见度指标
  5. 05获取多种模型的回答和来源

适用场景

  1. 01检查品牌是否出现在 AI 搜索结果中
  2. 02发现某主题下 AI 常引用的域名
  3. 03比较品牌与竞争对手的 AI 可见度
  4. 04分析模型回答中的品牌提及与来源

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/norahe0304-art/30x-seo --skill 30x-seo-ai-visibility

安装后在 Claude Code 中输入/30x-seo-ai-visibility确认已加载。

详细介绍

SEO AI Visibility Monitor

使用 DataForSEO AI Optimization API 监控并分析品牌在 AI 搜索和大模型平台上的可见度。

API 配置

凭据存储在 ~/.config/dataforseo/auth 中(Base64 编码)。

AUTH=$(cat ~/.config/dataforseo/auth)

快速参考

命令功能
/seo ai-visibility domain <domain>检查域名在各 AI 平台上的提及情况
/seo ai-visibility keyword <keyword>查看 AI 针对某个主题引用了哪些域名
/seo ai-visibility top-domains <keyword>查看某个关键词下被引用最多的域名
/seo ai-visibility top-pages <domain>查看某个域名中被引用最多的页面
/seo ai-visibility compare <domain1> <domain2>比较不同域名的 AI 可见度
/seo ai-visibility chatgpt <query>获取 ChatGPT 对查询的回复
/seo ai-visibility claude <query>获取 Claude 对查询的回复
/seo ai-visibility perplexity <query>获取 Perplexity 对查询的回复

API 端点

大模型提及搜索(域名/关键词监控)
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/llm_mentions/search/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "target": [{"domain": "example.com"}],
    "platform": "google",
    "location_code": 2840,
    "language_code": "en",
    "limit": 100
  }]'
关键词对应的热门域名
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/llm_mentions/top_domains/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "target": [{"keyword": "TARGET_KEYWORD"}],
    "platform": "google",
    "limit": 20
  }]'
域名对应的热门页面
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/llm_mentions/top_pages/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "target": [{"domain": "example.com"}],
    "platform": "google",
    "limit": 50
  }]'
汇总指标
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/llm_mentions/aggregated_metrics/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "target": [{"domain": "example.com"}],
    "platform": "google"
  }]'
跨平台汇总指标
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/llm_mentions/cross_aggregated_metrics/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "target": [{"domain": "example.com"}]
  }]'
ChatGPT 回复
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/chat_gpt/llm_responses/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "prompt": "YOUR_QUERY_HERE"
  }]'
Claude 回复
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/claude/llm_responses/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "prompt": "YOUR_QUERY_HERE"
  }]'
Gemini 回复
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/gemini/llm_responses/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "prompt": "YOUR_QUERY_HERE"
  }]'
Perplexity 回复
curl -s -X POST "https://api.dataforseo.com/v3/ai_optimization/perplexity/llm_responses/live" \
  -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \
  -H "Content-Type: application/json" \
  -d '[{
    "prompt": "YOUR_QUERY_HERE"
  }]'

分析模式

1. 域名 AI 可见度审计

检查某个域名被 AI 引用的频率:

Input: domain (e.g., "example.com")
Output:
- Total AI mentions across platforms
- Questions/queries where cited
- Citation position (first source, etc.)
- Trend over time
- Competitor comparison
2. 关键词 AI 全景

查看 AI 针对某个主题引用了哪些域名:

Input: keyword (e.g., "best project management tools")
Output:
- Top cited domains
- Citation frequency per domain
- Content types that get cited
- Gap analysis (competitors cited, you're not)
3. AI 回复分析

获取实际的 AI 回复,了解上下文:

Input: query
Output:
- Raw AI response
- Sources cited
- How your brand is mentioned (if at all)
- Sentiment/positioning
4. 跨平台比较

比较在不同 AI 平台上的可见度:

Input: domain
Output:
- Google AI Overview visibility
- ChatGPT citation rate
- Claude citation rate
- Perplexity citation rate
- Platform-specific insights

关键指标

AI 可见度评分
  • 提及次数:AI 引用的总次数
  • 查询覆盖率:被引用的相关查询所占百分比
  • 引用位置:在 AI 回复中的平均位置
  • 来源多样性:被引用页面的多样性
平台细分
平台可用数据
Google AI Overview提及、查询、引用
ChatGPT回复内容、品牌提及
Claude回复内容、品牌提及
Gemini回复内容、品牌提及
Perplexity回复内容、来源

输出格式

AI 可见度报告
# AI Visibility: [domain]
Generated: [Date]

## Overview
- Total AI Mentions: X
- Platforms Present: Google AIO, ChatGPT, Claude
- Top Cited Pages: X pages

## Google AI Overview
- Mentions: X
- Top Queries:
  1. "[query]" - cited in position 1
  2. "[query]" - cited in position 3

## Platform Comparison
| Platform | Mentions | Trend |
|----------|----------|-------|
| Google AIO | X | +15% |
| ChatGPT | X | +8% |
| Claude | X | New |

## Top Cited Content
| Page | Mentions | Queries |
|------|----------|---------|
| /guide | 45 | 23 |
| /blog/post | 32 | 18 |

## Recommendations
1. [Gap identified] - Create content for [topic]
2. [Opportunity] - Optimize [page] for AI citation
关键词 AI 全景报告
# AI Landscape: "[keyword]"

## Top Cited Domains
| Rank | Domain | Mentions | Authority |
|------|--------|----------|-----------|
| 1 | competitor1.com | 89 | High |
| 2 | competitor2.com | 67 | High |
| 3 | your-domain.com | 23 | Medium |

## Citation Analysis
- Average sources per response: 5
- Content types cited:
  - Guides/tutorials: 45%
  - Product pages: 30%
  - Blog posts: 25%

## Gap Opportunities
Keywords where competitors are cited but you're not:
1. [keyword] - competitor1 cited
2. [keyword] - competitor2 cited

战略意义

AI 可见度为何重要
  • 零点击答案:AI 直接提供答案,减少点击
  • 权威性信号:被引用 = AI 信任你的内容
  • 搜索的未来:AI 搜索正在迅速发展
  • 品牌曝光:被提及 = 被记住
优化策略
  1. 结构化内容:清晰的标题、列表和定义
  2. E-E-A-T 信号:专业性、权威性、可信度
  3. 全面覆盖:回答相关问题
  4. 新鲜内容:定期更新,体现内容的相关性
  5. 值得引用:统计数据、研究成果、独到见解
风险信号
  • AI 提及数为零(在 AI 搜索中隐形)
  • 竞争对手被大量引用,而你没有
  • 仅在品牌相关查询中被引用
  • 提及量呈下降趋势

与其他技能集成

  • 使用 seo-content 优化页面,以便获得 AI 引用
  • 使用 seo-keywords 查找 AI 会提供答案的查询
  • 使用 seo-serp 查看 SERP 中是否出现 AI Overview
  • 使用 seo-backlinks 建立权威性(这与 AI 信任度相关)

最佳实践

监控频率
检查项频率
域名提及每周
竞争对手比较每两周
热门关键词全景每月
跨平台审计每月
行动触发条件
信号行动
竞争对手被引用,而你没有创建/优化内容
提及量下降调查内容问题
出现新查询发掘内容创作机会
引用了错误页面优化正确的页面

[PROTOCOL]: 有变更时更新此标题,然后检查 CLAUDE.md

评论

支持 Markdown