geo-competitor-compare

geo-competitor-compare is a command for Claude Code from huifer/claude-code-seo. It costs 26 tokens per session (2,253 once invoked), scanned A, original, MIT.

A command for comparing how several websites appear in AI search systems. AI search visibility means how often a site is found, mentioned, or cited in tools such as ChatGPT, Claude, Perplexity, and Google SGE.

In plain words
What is it for?
Use it to compare your site with multiple competitors, review visibility and citation results by AI search system, find opportunity topics, and plan ways to catch up or overtake them.
Why use it?
It shows where your site performs better or worse than competitors and helps identify topics or strategies that may improve its presence in AI-generated answers.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the claude-code-seo plugin — 7 skills, 37 commands, 2 agents shipped together

Good fit Use it to compare your site with multiple competitors, review visibility and…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/huifer/claude-code-seo/geo-competitor-compare
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/huifer/claude-code-seo

Made for: Claude Code.

Or install claude-code-seo, the plugin that ships this one along with the rest of its 7 skills, 37 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for geo-competitor-compare

README.md
[![agentmods](https://agentmods.dev/badge/commands/huifer/claude-code-seo/geo-competitor-compare.svg)](https://agentmods.dev/commands/huifer/claude-code-seo/geo-competitor-compare)
Your own site
<a href="https://agentmods.dev/commands/huifer/claude-code-seo/geo-competitor-compare"><img src="https://agentmods.dev/badge/commands/huifer/claude-code-seo/geo-competitor-compare.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.02253
Opus 5 $0.00013 $0.01126
Sonnet 5 $0.00005 $0.00451
Haiku 4.5 $0.00003 $0.00225

Measured 7d ago against content hash 33846279e31b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

geo-competitor-compare scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/geo-competitor-compare.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

功能说明

核心功能

AI 搜索竞争对手对比同时分析多个竞争对手在 ChatGPT、Claude、Perplexity、Google SGE 等搜索引擎中的引用率和可见性,识别优劣势,发现快速获胜机会和超越策略。

使用场景

  • 对比分析自己和竞争对手的 GEO 表现
  • 识别竞争对手的优势和劣势
  • 发现快速获胜的机会话题
  • 制定超越竞争对手的策略

输出示例

# 🔍 AI 搜索竞争对手对比报告

**主网站:** yoursite.com
**竞争对手:** comp1.com, comp2.com, comp3.com
**分析时间:** 2024-02-15
**分析深度:** 深度分析

---

## 📊 综合对比

### AI 搜索可见性总排名
| 排名 | 网站 | ChatGPT | Claude | Perplexity | Google SGE | 总分 | 趋势 |
|------|------|---------|--------|------------|------------|------|------|
| 1 🥇 | **yoursite.com** | **68** | **75** | **70** | 55 | **268** | ⬆️ |
| 2 🥈 | comp1.com | 45 | 52 | 48 | 62 | 207 | ⬆️ |
| 3 🥉 | comp2.com | 38 | 41 | 35 | 48 | 162 | ➡️ |
| 4 | comp3.com | 28 | 32 | 30 | 35 | 125 | ⬇️ |

**你们的综合排名:** #1 / 4

---

## 🎯 详细对比分析

### ChatGPT 对比
| 网站 | 可见性 | 引用次数 | 排名 | 趋势 | 差距 |
|------|--------|----------|------|------|------|
| 你们 | 68 | 234 | #1 | ⬆️ +18% | - |
| comp1 | 45 | 156 | #2 | ⬆️ +12% | +23 |
| comp2 | 38 | 128 | #3 | ➡️ | +30 |
| comp3 | 28 | 89 | #4 | ⬇️ -5% | +40 |

**你们的地位:** 领先 23 分 ✅

### Claude 对比
| 网站 | 可见性 | 引用次数 | 排名 | 趋势 | 差距 |
|------|--------|----------|------|------|------|
| 你们 | 75 | 189 | #1 | ⬆️ +22% | - |
| comp1 | 52 | 134 | #2 | ⬆️ +8% | +23 |
| comp2 | 41 | 98 | #3 | ➡️ | +34 |
| comp3 | 32 | 76 | #4 | ⬆️ +3% | +43 |

**你们的地位:** 领先 23 分 ✅

### Perplexity 对比
| 网站 | 可见性 | 引用次数 | 排名 | 趋势 | 差距 |
|------|--------|----------|------|------|------|
| 你们 | 70 | 156 | #1 | ⬆️ +15% | - |
| comp1 | 48 | 112 | #2 | ⬆️ +10% | +22 |
| comp2 | 35 | 87 | #3 | ➡️ | +35 |
| comp3 | 30 | 65 | #4 | ⬇️ -2% | +40 |

**你们的地位:** 领先 22 分 ✅

### Google SGE 对比
| 网站 | 可见性 | 引用次数 | 排名 | 趋势 | 差距 |
|------|--------|----------|------|------|------|
| comp1 | 62 | 145 | #1 | ⬆️ +15% | -7 |
| comp2 | 48 | 118 | #2 | ⬆️ +5% | - |
| 你们 | 55 | 98 | #3 | ➡️ | -7 |
| comp3 | 35 | 78 | #4 | ➡️ | +20 |

**你们的地位:** 落后 comp1 七分 ⚠️

---

## 🏆 你们的竞争优势

### 1. Claude 表现卓越 (+34 分领先)
**优势分析:**
- ✅ 内容结构最清晰
- ✅ 实体关系最明确
- ✅ 引用来源最丰富

**保持策略:**
- 继续保持当前的内容质量
- 复制成功模式到其他页面
- 定期更新和优化

### 2. ChatGPT 稳定第一 (+23 分)
**优势分析:**
- ✅ 引用次数最多
- ✅ 增长速度最快
- ✅ 品牌认知度高

**保持策略:**
- 持续产出高质量内容
- 建立主题权威性
- 增加社交媒体曝光

### 3. Perplexity 领先明显 (+22 分)
**优势分析:**
- ✅ 内容深度最佳
- ✅ 案例研究最多
- ✅ 实用性最强

**保持策略:**
- 继续深度内容创作
- 增加数据和研究支持
- 提供更多工具和资源

---

## ⚠️ 竞争对手优势

### comp1 在 Google SGE 领先
**劣势分析:**
- ❌ 我们落后 7 分
- ❌ 结构化数据不足
- ❌ 内容更新频率低

**超越策略:**
```markdown
🔴 **立即执行(优先级最高):**
1. 添加 FAQPage Schema(+5 分预期)
2. 提高内容更新频率(每周 → 每天)(+3 分预期)
3. 增加作者资质展示(+2 分预期)

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 229 lines · 26 tokens per session scan A 33846279e31b

Subscribe to this mod's changes

geo-competitor-compare is a command published in the GitHub repository huifer/claude-code-seo (110 stars, last pushed 8mo ago), licensed MIT. It adds 26 tokens to every session and 2,253 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.