Agent skill

Competitor Intelligence

by huifer in huifer/claude-code-seo

“深度竞争对手分析专家,提供全方位的竞争情报、差距分析和超越策略。”

— description from SKILL.md by huifer
MITAuto-check: notesMarketing & SEO

Install Competitor Intelligence

skills CLI
$ npx skills add huifer/claude-code-seo --skill competitor-intelligence -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huifer/claude-code-seo competitor-intelligence --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huifer/claude-code-seo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/competitor-intelligence .claude/skills/competitor-intelligence && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
competitor-intelligence
GitHub stars
110
Token cost
~636 tokens
SKILL.md length
190 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 9 steps: 竞争对手识别 → 多维度评估 → 差距分析 → …
  • SKILL.md covers 核心职责, 工作流程, 评分系统详解 and 输出格式, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Competitor Intelligence is a skill in huifer/claude-code-seo (110 stars). Its SKILL.md is about 636 tokens. Licence: MIT.

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash, Write, Edit

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. 竞争对手识别
  2. 多维度评估
  3. 差距分析
  4. 策略生成
  5. 内容策略(25 分)
  6. 技术实现(20 分)
  7. 外链建设(20 分)
  8. 社交媒体(15 分)
  9. 品牌影响力(20 分)

What it can do on your machine

Read from SKILL.md and the folder at commit 8b723e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Competitor Intelligence loads about 636 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 190 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~14
When it runs · the whole SKILL.md, loaded when a task matches
~636

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash, Write, Edit

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from huifer/claude-code-seo at commit 8b723e4, republished under its MIT licence (© huifer). 190 words, ~636 tokens.

Download SKILL.mdSave it as .claude/skills/competitor-intelligence/SKILL.md (or your agent's skills folder).
name
competitor-intelligence
description
深度竞争对手分析专家,提供全方位的竞争情报、差距分析和超越策略。
allowed-tools
Read, Grep, Glob, Bash, Write, Edit

你是竞争情报专家,专注于深度分析竞争对手的各个方面,识别超越机会和制定竞争策略。

核心职责

  1. 深度竞争分析

    • 全方位竞争对手评估(内容、技术、外链、社交、品牌)
    • 多维度对比分析
    • 竞争对手策略解码
    • 竞争格局分析
  2. 差距识别

    • 内容差距分析
    • 关键词差距识别
    • 技术差距评估
    • 外链机会发现
  3. 超越策略

    • 快速获胜机会识别
    • 优先级排序
    • 可执行建议
    • ROI 预测
  4. SERP 分析

    • SERP 特征跟踪
    • 排名差距分析
    • 特征优化建议

工作流程

1. 竞争对手识别
输入:主要域名
分析:
- 识别直接竞争对手
- 识别间接竞争对手
- 分析竞争格局
- 确定分析重点
2. 多维度评估
输出:5 维度评分(0-100)
├─ 内容策略(25 分)
├─ 技术实现(20 分)
├─ 外链建设(20 分)
├─ 社交媒体(15 分)
└─ 品牌影响力(20 分)
3. 差距分析
输出:优劣势对比
- 你们的优势
- 对手的优势
- 差距量化
- 机会识别
4. 策略生成
输出:优先级排序的策略
🔴 高优先级(高影响 + 低投入)
🟡 中优先级(高影响 + 高投入)
🟢 低优先级(低影响 + 低投入)

评分系统详解

1. 内容策略(25 分)
内容数量(8 分)
  • 内容总量(4 分)
  • 更新频率(4 分)
内容质量(10 分)
  • 内容深度(4 分)
  • 原创性(3 分)
  • 多样性(3 分)
内容表现(7 分)
  • 平均访问量(3 分)
  • 社交分享(2 分)
  • 跳出率(2 分)
2. 技术实现(20 分)
页面速度(8 分)
  • 桌面速度(4 分)
  • 移动速度(4 分)
技术基础(7 分)
  • HTTPS(2 分)
  • 移动友好(2 分)
  • Schema.org(3 分)
用户体验(5 分)
  • 导航清晰(2 分)
  • 设计质量(2 分)
  • 交互性(1 分)
3. 外链建设(20 分)
外链数量(7 分)
  • 总外链数(3 分)
  • 引用域名数(4 分)
外链质量(8 分)
  • 平均 DA/DR(4 分)
  • 高质量外链占比(4 分)
外链多样性(5 分)
  • 链接类型分布(3 分)
  • 锚文本多样性(2 分)
4. 社交媒体(15 分)
粉丝数量(5 分)
  • 总粉丝数(3 分)
  • 粉丝质量(2 分)
互动率(6 分)
  • 平均互动/帖子(4 分)
  • 互动率(2 分)
内容策略(4 分)
  • 发布频率(2 分)
  • 内容类型(2 分)
5. 品牌影响力(20 分)
品牌提及(7 分)
  • 在线提及量(4 分)
  • 情感分析(3 分)
搜索可见性(8 分)
  • 品牌搜索量(3 分)
  • 非品牌排名(5 分)
行业地位(5 分)
  • 市场份额(3 分)
  • 思想领导力(2 分)

输出格式

竞争情报报告结构
markdown
# 🔍 深度竞争情报报告

## 内容策略对比
[详细对比分析]

## 技术实现对比
[技术指标对比]

## 外链建设对比
[外链分析]

## 社交媒体对比
[社交媒体表现]

## 品牌影响力对比
[品牌分析]

## 差距和机会
[优劣势分析]

## 超越策略
[可执行策略]

## 预期成果
[ROI 预测]

自动触发条件

  1. 用户运行 /competitor-intel 命令
  2. 用户请求"竞争分析"或"竞争对手"
  3. 检测到竞争相关查询

数据存储

  • 分析结果:.claude-flow/cache/reports/competitor-intel/分析ID.json
  • 历史数据:.claude-flow/cache/history/competitors.json
  • 竞争对手数据库:.claude-flow/cache/data/competitors-db.json

双语支持

  • 自动检测内容语言(中文/英文)
  • 根据语言调整评分标准
  • 提供双语输出选项

相关资源

  • 竞争分析方法:skills/competitor-intelligence/resources/competitor-research-methods.md
  • SERP 特征指南:skills/competitor-intelligence/resources/serp-features-guide.md
  • 竞争情报模板:skills/competitor-intelligence/templates/competitive-intel-report.md

相关命令

  • /keyword-gap-analysis - 关键词差距分析
  • /content-gap-analysis - 内容差距分析
  • /backlink-opportunities - 外链机会发现
  • /serp-feature-tracking - SERP 特征跟踪
  • /geo-competitor-compare - GEO 竞争对比(Phase 1)

© huifer, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/competitor-intelligence of huifer/claude-code-seo.

Open the folder on GitHubat commit 8b723e4

Compare with similar skills

Competitor Intelligence next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Competitor Intelligence compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Competitor Intelligence this skillhuifer/claude-code-seo110—~636Automated safety check: NotesMIT
Geo Fundamentalswasp-lang/wasp19k9 repos~861Automated safety check: PassMIT
Ab Testingcoreyhaines31/marketingskills54k3 repos~2.8kAutomated safety check: PassMIT
Hreflang and International SEOAgriciDaniel/claude-seo18k5 repos~3.4kAutomated safety check: PassMIT
Referralscoreyhaines31/marketingskills54k2 repos~2.4kAutomated safety check: PassMIT
SEO GeoReScienceLab/opc-skills1.8k4 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Geo Fundamentals

    wasp-lang/wasp

    Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).

    19k GitHub starsUsed in 9 repos~861 tokens
    Marketing & SEOAuto-check passed
  • Ab Testing

    coreyhaines31/marketingskills

    When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program.

    54k GitHub starsUsed in 3 repos~2.8k tokens
    Marketing & SEOAuto-check passed
  • Hreflang and International SEO

    AgriciDaniel/claude-seo

    Audits, validates and generates hreflang tags for multi-language and multi-region sites in HTML, HTTP headers or XML sitemaps, flagging common code and return-tag mistakes.

    18k GitHub starsUsed in 5 repos~3.4k tokens
    Marketing & SEOAuto-check passed
  • Referrals

    coreyhaines31/marketingskills

    When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy.

    54k GitHub starsUsed in 2 repos~2.4k tokens
    Marketing & SEOAuto-check passed
  • SEO Geo

    ReScienceLab/opc-skills

    SEO & GEO (Generative Engine Optimization) for websites. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub starsUsed in 4 repos~2.1k tokens
    Marketing & SEOAuto-check passed
  • Ad Creative

    LeoYeAI/openclaw-marketing-skills

    When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform.

    1k GitHub starsUsed in 8 repos~3.4k tokens
    Marketing & SEOAuto-check passed

More from huifer/claude-code-seo

All 12 skills in this repo
  • AI Content Creator

    huifer/claude-code-seo

    AI 内容创作专家,生成高质量的 SEO 和 GEO 优化内容,支持多种内容类型和风格. An agent skill from huifer/claude-code-seo.

    110 GitHub stars~1.7k tokensUpdated 9 mo ago
    Auto-check: notes
  • Content Optimizer

    huifer/claude-code-seo

    分析博客文章和页面内容的质量,包括标题结构、关键词密度、可读性、内链机会、图片 alt 文本等。提供 E-E-A-T 权威性建设(Experience, Expertise, Authoritativeness, Trustworthiness)和内容策略建议,包括支柱页面、集群内容、作者权威性、关键词蚕食检测、Featured Snippets 优化、多媒体内容优化。

    110 GitHub stars~4k tokensUpdated 9 mo ago
    Auto-check passed
  • Geo Optimizer

    huifer/claude-code-seo

    生成式引擎优化专家,分析和优化内容在 AI 搜索引擎(ChatGPT、Claude、Perplexity、Google SGE)中的可见性和引用率。

    110 GitHub stars~650 tokensUpdated 9 mo ago
    Auto-check: notes
  • Guest Blogger

    huifer/claude-code-seo

    基于项目内容分析主题和关键词,生成客座博客搜索策略。提供 Google 高级搜索语法、客座博客资源列表(从 resources/guest-blog-sources.md 读取)和投稿邮件模板(从 templates/guest-blog-pitch.md 读取)。自动评估客座博客质量(DA、相关性、流量),提供个性化的投稿建议和优先级排序。

    110 GitHub stars~2.8k tokensUpdated 9 mo ago
    Auto-check passed
  • Local SEO

    huifer/claude-code-seo

    本地 SEO 分析和优化专家。自动检测项目是否需要本地 SEO,分析 NAP(Name, Address, Phone)一致性、本地关键词优化、Google Business Profile (GBP) 优化和本地结构化数据生成。提供本地商家搜索引擎排名优化建议,包括 NAP 标准化、本地关键词策略、GBP 完整性检查、评论策略、地图嵌入和本地 SEO 审计。

    110 GitHub stars~2.6k tokensUpdated 9 mo ago
    Auto-check passed
  • Metadata Optimizer

    huifer/claude-code-seo

    分析和优化 Next.js 项目的元数据,包括 title、description、Open Graph、Twitter Cards。自动检测 App Router 或 Pages Router,提供长度建议、关键词优化和最佳实践指导。支持中英文双语 SEO 分析。

    110 GitHub stars~1.1k tokensUpdated 9 mo ago
    Auto-check passed

Categories

Questions about Competitor Intelligence

How do I install Competitor Intelligence in Claude Code?

Run `npx skills add huifer/claude-code-seo --skill competitor-intelligence -a claude-code`. Or copy the skill folder (skills/competitor-intelligence in huifer/claude-code-seo) into .claude/skills/competitor-intelligence in your project. Claude Code loads it when a task matches its description.

How do I install Competitor Intelligence in Codex?

Run `npx skills add huifer/claude-code-seo --skill competitor-intelligence -a codex`. Or copy the skill folder (skills/competitor-intelligence in huifer/claude-code-seo) into .agents/skills/competitor-intelligence in your project. Codex loads it when a task matches its description.

Can I use Competitor Intelligence in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huifer/claude-code-seo --skill competitor-intelligence -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/competitor-intelligence, .gemini/skills/competitor-intelligence, .github/skills/competitor-intelligence and .opencode/skills/competitor-intelligence in your project.

What does Competitor Intelligence need to run?

SKILL.md names no scripts, command-line tools or credentials: Competitor Intelligence is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash, Write, Edit.

Does Competitor Intelligence access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Competitor Intelligence safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Competitor Intelligence use?

Competitor Intelligence is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Competitor Intelligence use?

About 636 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Competitor Intelligence?

Skills that share tags, products or a category with Competitor Intelligence: Geo Fundamentals (wasp-lang/wasp, 19k stars), Ab Testing (coreyhaines31/marketingskills, 54k stars), Hreflang and International SEO (AgriciDaniel/claude-seo, 18k stars) and Referrals (coreyhaines31/marketingskills, 54k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Competitor Intelligence?

huifer (a GitHub user) maintains it in huifer/claude-code-seo, which has 110 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on January 4, 2026.

Source: huifer/claude-code-seo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.