分析内容在 AI 搜索引擎(ChatGPT、Claude、Perplexity、Google SGE)中的引用优化潜力,识别引用障碍并提供优化建议。
分析内容在 AI 搜索引擎中的引用优化潜力,识别引用障碍并提供优先级排序的优化建议。适用于评估博客、产品页等内容的 AI 可见性,帮助提升在 ChatGPT、Claude 等平台的引用率。
/plugin marketplace add huifer/claude-code-seo/plugin install huifer-claude-seo-assistant@huifer/claude-code-seo<file-path-or-url> [--detailed] [--engines <list>] [--output <format>]GEO 内容审计分析内容在 AI 搜索引擎中的引用优化潜力,通过 6 维度评分系统识别引用障碍,并提供优先级排序的优化建议。
使用 Grep 工具检测:
# 检测 Schema.org JSON-LD
grep -r '@type' --include='*.json' --include='*.ld'
# 检测作者信息
grep -r 'author' --include='*.md' --include='*.tsx' --include='*.jsx'
# 检测引用来源
grep -E '\[.*\]\(http.*\)' content.md
# 检测时间戳
grep -E '(20\d{2}-\d{2}-\d{2}|January|February|March|April|May|June|July|August|September|October|November|December)' content.md
评分逻辑:
使用 Grep + Read 工具:
# 提取标题结构
grep -E '^#+\s' content.md
# 计算段落长度
awk 'NF {print length}' content.md
# 检测内部链接
grep -E '\[.*\]\(\/.*\)' content.md
# 检测外部链接
grep -E '\[.*\]\(http.*\)' content.md
评分逻辑:
手动分析:
基于评分结果,生成:
.claude-flow/cache/reports/geo/audit-时间戳.json# 🤖 AI 引用优化分析
## 内容分析:blog/post.md
**分析时间:** 2024-01-15 14:30
**目标引擎:** ChatGPT, Claude, Perplexity, Google SGE
---
## 📊 总体评分:58/100 ⚠️
| 维度 | 得分 | 满分 | 状态 |
|------|------|------|------|
| 权威性 | 42/100 | 20 | 🔴 |
| 实体关系 | 68/100 | 20 | 🟡 |
| 内容结构 | 55/100 | 20 | 🟡 |
| 数据质量 | 75/100 | 20 | ✅ |
| 引用密度 | 60/100 | 10 | 🟡 |
| 技术优化 | 50/100 | 10 | 🔴 |
**目标评分:** 70+/100
**当前差距:** -12 分
---
## 🔴 高优先级问题(影响 +10 分以上)
### 1. 缺少作者权威性标识 (-15 分)
**问题:**
- ❌ 无作者 Schema.org 标记
- ❌ 缺少作者资质说明
- ❌ 无专业背景信息
**修复方案:**
```html
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "张三",
"jobTitle": "高级 SEO 专家",
"worksFor": {
"@type": "Organization",
"name": "Your Company"
},
"credential": "Google 认证 SEO 专家,10 年行业经验",
"sameAs": [
"https://linkedin.com/in/zhangsan",
"https://twitter.com/zhangsan"
]
},
"datePublished": "2024-01-15",
"dateModified": "2024-01-15"
}
</script>
预期提升: +15 分
问题:
修复方案:
## 什么是 SEO?
**SEO(Search Engine Optimization)** 是通过优化网站内容和结构,提高在搜索引擎结果中排名的过程。
### 核心实体关系
- **SEO** 包含:[技术 SEO](/technical-seo)、[内容 SEO](/content-seo)、[外链建设](/link-building)
- **技术 SEO** 影响:网站速度、移动友好性、网站架构
- **内容 SEO** 需要:关键词研究、内容质量、用户体验
预期提升: +12 分
问题:
修复方案:
### TL;DR
SEO 是通过优化网站提高搜索引擎排名的过程,包含技术、内容和外链三大要素。(15 字总结)
### 什么是 SEO?
**定义:** SEO(Search Engine Optimization)是...
**重要性:** 80% 的流量来自有机搜索
**应用:** 适用于所有网站类型
### SEO 的三大支柱
#### 1. 技术 SEO
- **目标:** 优化网站技术基础
- **关键要素:**
- 网站速度(< 3 秒)
- 移动友好(响应式设计)
- SSL 证书(HTTPS)
### 常见问题
#### Q: SEO 需要多长时间见效?
**A:** 通常 3-6 个月可见明显效果。
预期提升: +10 分
问题: 内容发布于 8 个月前
修复方案:
**最后更新:** 2024-01-15
**数据来源:** 2024 年 1 月最新统计
**下次审查:** 2024-04-15
## 更新日志
- 2024-01-15:更新 Google 算法最新变化
- 2023-12-01:添加 AI 搜索优化内容
- 2023-06-15:初次发布
预期提升: +5 分
| 维度 | 优化前 | 优化后 | 提升 |
|---|---|---|---|
| 权威性 | 42 | 75 | +33 |
| 实体关系 | 68 | 85 | +17 |
| 内容结构 | 55 | 70 | +15 |
| 数据质量 | 75 | 80 | +5 |
| 总分 | 58 | 78 | +20 |
来自 AI 搜索的流量: +35-50%
报告生成时间: 2024-01-15
下次审计建议: 优化完成后重新评估
数据文件: .claude-flow/cache/reports/geo/audit-20240115-143000.json
### JSON 输出
```json
{
"reportId": "geo-audit-20240115",
"timestamp": "2024-01-15T14:30:00Z",
"content": {
"file": "blog/post.md",
"url": "https://yoursite.com/article"
},
"scores": {
"overall": 58,
"authority": 42,
"entityRelationships": 68,
"contentStructure": 55,
"dataQuality": 75,
"citationDensity": 60,
"technicalOptimization": 50
},
"issues": [
{
"priority": "high",
"category": "authority",
"issue": "缺少作者权威性标识",
"impact": -15,
"fix": "添加作者 Schema 和引用来源"
},
{
"priority": "high",
"category": "entityRelationships",
"issue": "实体关系不明确",
"impact": -12,
"fix": "明确定义核心概念和关系"
}
],
"suggestions": [
{
"priority": "high",
"action": "添加作者 Schema.org 标记",
"code": "<script type=\"application/ld+json\">...",
"expectedImprovement": 15
}
]
}
# 审计本地文件
/geo-content-audit blog/my-post.md
# 审计 URL
/geo-content-audit https://example.com/article
# 详细模式
/geo-content-audit post.md --detailed
# 指定 AI 引擎
/geo-content-audit post.md --engines chatgpt,claude
# 输出 JSON 格式
/geo-content-audit post.md --output json
# 组合使用
/geo-content-audit post.md --detailed --engines all --output json
/geo-entity-extraction - 提取实体和构建知识图谱/geo-citation-monitor - 监控 AI 引用表现/seo-audit - 传统 SEO 审计/metadata - 元数据优化