Agent skill

Competitor Analysis

by aaron-he-zhu in aaron-he-zhu/aaron-marketing-skills

A skill your agent uses when the user asks to "analyze competitors" or "竞品分析"; benchmarks competitor keywords, content, backlinks, AI citations, and traffic share into strengths, weaknesses, and an…

Apache-2.0Auto-check passedMarketing & SEO

Install Competitor Analysis

skills CLI
$ npx skills add aaron-he-zhu/aaron-marketing-skills --skill competitor-analysis -a claude-code

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

GitHub CLI
$ gh skill install aaron-he-zhu/aaron-marketing-skills competitor-analysis --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/aaron-he-zhu/aaron-marketing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/seo-geo/survey/competitor-analysis .claude/skills/competitor-analysis && 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-analysis
GitHub stars
2.9k
Used in
1 other repo
Token cost
~2k tokens
SKILL.md length
704 words
Files
5 (incl. references)
Skills in repo
119
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the user asks to "analyze competitors" or "竞品分析"; benchmarks competitor keywords, content, backlinks, AI citations, and traffic share into strengths, weaknesses, and an…

  • Works in 8 steps: Identify Competitors — separate direct… → Gather Competitor Data — capture URL,… → Analyze Keyword Rankings — document… → …
  • The user asks to analyze competitors
  • SKILL.md covers Quick Start, Skill Contract, Data Sources and Decision Gates, plus 6 more sections
  • Calls python3

What it does

Competitor Analysis is an agent skill from aaron-he-zhu/aaron-marketing-skills. Use when the user asks to "analyze competitors" or "竞品分析"; benchmarks competitor keywords, content, backlinks, AI citations, and traffic share into strengths, weaknesses, and an action plan. Not for a pairwise topic-coverage gap map — use content-gap-analysis. 竞品分析/竞争对手

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/analysis-templates.md`, `references/battlecard-template.md` and `references/example-report.md`). Compatibility notes: Claude Code and compatible agent-skill hosts

It sits in Marketing & SEO, covering Competitor analysis, AI search optimization and Link building. It works with Firecrawl. The repository describes itself as: 120 marketing skills as an AI marketing staff — plugin, portable skills, or an 8-bot team across 7 disciplines (narrative, SEO/GEO, social, email, paid, influencer, launch) on… The licence is Apache-2.0.

When your agent uses it

  • The user asks to analyze competitors
  • Benchmarks competitor keywords
  • Traffic share into strengths

Example prompts

  • “analyze competitors”
  • “/competitor-analysis”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Claude Code and compatible agent-skill hosts

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Identify Competitors — separate direct competitors, indirect alternatives, and content competitors if the user has not named them already.
  2. Gather Competitor Data — capture URL, domain age, estimated traffic, domain authority, business model, target audience, and key offerings.
  3. Analyze Keyword Rankings — document total rankings, top 10/top 3 counts, high-value keywords, intent mix, and keyword gaps.
  4. Audit Content Strategy — review content volume, top performers, publishing patterns, themes, and success factors.
  5. Analyze Backlink Profile — review backlink totals, quality mix, top linking domains, link acquisition patterns, and linkable assets.
  6. Technical SEO Assessment — evaluate Core Web Vitals, mobile-friendliness, architecture, internal linking, URL structure, and standout…
  7. GEO / AI Citation Analysis — test which queries cite competitors, what formats get cited, and where competitors still leave openings.
  8. Synthesize Competitive Intelligence — deliver an Executive Summary, comparison table, CITE comparison, strengths to learn from, weaknesses…

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    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.

  • Compatibility

    Claude Code and compatible agent-skill hosts

    From compatibility in the SKILL.md frontmatter.

Context cost

Competitor Analysis loads about 2k tokens when it runs, and up to ~5.7k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 704 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.7k

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 passed

The automated check found no risky patterns in SKILL.md.

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 aaron-he-zhu/aaron-marketing-skills at commit 0ab9024, republished under its Apache-2.0 licence (© aaron-he-zhu). 704 words, ~1,975 tokens.

Download SKILL.mdSave it as .claude/skills/competitor-analysis/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
competitor-analysis
description
Use when the user asks to "analyze competitors" or "竞品分析"; benchmarks competitor keywords, content, backlinks, AI citations, and traffic share into strengths, weaknesses, and an action plan. Not for a pairwise topic-coverage gap map — use content-gap-analysis. 竞品分析/竞争对手
compatibility
Claude Code and compatible agent-skill hosts
slug
competitor-analysis
displayName
Competitor Analysis · 竞品分析
summary
竞品分析/竞争对手
version
20.1.0
license
Apache-2.0
homepage
https://github.com/aaron-he-zhu/aaron-marketing-skills
when_to_use
Use when analyzing competitor SEO strategy, comparing domains, benchmarking against competitors, or finding competitor keywords and content gaps.
argument-hint
<competitor URL or domain>
metadata.author
aaron-he-zhu
metadata.version
20.1.0

Competitor Analysis

Analyzes competitor SEO and GEO strategies to reveal repeatable wins, weak spots, and market gaps.

Quick Start

Analyze SEO strategy for [competitor URL]
Compare my site [URL] against [competitor 1], [competitor 2], [competitor 3]

Skill Contract

Expected output: a prioritized competitor brief plus the standard handoff summary for memory/research/.

  • Reads: competitor URLs/domains, your own site metrics, business model, target audience, industry context, and any user-provided or tool data.
  • Writes: a user-facing analysis and reusable summary.
  • Promotes: durable competitor facts, keyword priorities, entity candidates, and pending strategy decisions to memory/hot-cache.md, memory/open-loops.md, and memory/research/.
  • Done when: 3-5 competitors are benchmarked across keywords, backlinks, and traffic share in one comparison table; each strength-to-learn and weakness-to-exploit cites evidence; and the deliverable closes with an Immediate / Short-term / Long-term plan.
  • Primary next skill: content-gap-analysis when the competitive landscape is clear.
Handoff Summary

Emit the standard shape from skill-contract.md §Handoff Summary Format.

Data Sources

Optional integrations: ~~SEO tool, ~~analytics, ~~AI monitor. Without tools, ask for competitor URLs, your site metrics, and industry context. See CONNECTORS.md.

Zero-dependency competitor fetch (keyless): python3 "${CLAUDE_PLUGIN_ROOT}/scripts/connectors/firecrawl.py" scrape <competitor-url> returns the rendered page as LLM-ready markdown (JavaScript-heavy pages included), firecrawl.py map <competitor-domain> --limit 500 inventories their URL surface fast, and firecrawl.py search "<brand or topic>" --tbs qdr:m finds their fresh coverage — all on Firecrawl's keyless free tier (~1,000 credits/mo). The connector pre-flights the target's robots.txt locally and refuses on a Disallow per SECURITY.md §Scraping Boundaries. See scripts/connectors/README.md.

Decision Gates

Stop and ask — when the competitor set cannot be established:

  1. No competitors named and none inferable from CLAUDE.md, prior research, or the user's niche → ask the user to name 2-5 competitors, OR offer to infer them from a target keyword via serp-analysis first.

Continue silently — do not stop for: which 3-5 of a longer list to deep-dive (pick the closest direct competitors and note the rest); missing your-own-site metrics (benchmark competitors against each other and mark your row N/A); missing optional tool data (label Estimated and proceed).

Instructions

When a user requests competitor analysis:

  1. Identify Competitors — separate direct competitors, indirect alternatives, and content competitors if the user has not named them already.
  2. Gather Competitor Data — capture URL, domain age, estimated traffic, domain authority, business model, target audience, and key offerings.
  3. Analyze Keyword Rankings — document total rankings, top 10/top 3 counts, high-value keywords, intent mix, and keyword gaps.
  4. Audit Content Strategy — review content volume, top performers, publishing patterns, themes, and success factors.
  5. Analyze Backlink Profile — review backlink totals, quality mix, top linking domains, link acquisition patterns, and linkable assets.
  6. Technical SEO Assessment — evaluate Core Web Vitals, mobile-friendliness, architecture, internal linking, URL structure, and standout strengths/weaknesses.
  7. GEO / AI Citation Analysis — test which queries cite competitors, what formats get cited, and where competitors still leave openings.
  8. Synthesize Competitive Intelligence — deliver an Executive Summary, comparison table, CITE comparison, strengths to learn from, weaknesses to exploit, keyword opportunities, content recommendations, and an Immediate / Short-term / Long-term plan.
Show full SKILL.md (233 more words)Show less

Label every metric Measured (tool/export), User-provided, or Estimated (model inference); never present an estimate as measured; if a required metric is unavailable, mark it N/A — do not invent it.

Quality bar: every strength or weakness ties to a labeled metric and a named competitor — a specific ranking or backlink figure for a named domain, not "strong content presence".

Reference: See Analysis Templates for the compact templates used at each step.

Example

See references/example-report.md for a full sample analyzing HubSpot's marketing keyword dominance.

Advanced Analysis Types

Content Gap Analysis

For a pairwise topic-coverage gap map ("content [competitor] has that I don't, sorted by traffic potential"), hand off to content-gap-analysis — that is its dedicated job.

Video Benchmarking

When a competitor invests in video, benchmark their YouTube outliers (views >=2x their channel average) and the title/thumbnail packaging that drives those wins — those patterns show what topics and framing earn reach. See platforms/youtube.md.

Find sites linking to [competitor 1] AND [competitor 2] but not me
SERP Feature Analysis
What SERP features do competitors win? (Featured snippets, PAA, etc.)
Historical Tracking
How has [competitor]'s SEO strategy evolved over the past year?

Save Results

Write path: memory/research/competitor-analysis/YYYY-MM-DD-<topic>.md; promote durable competitor facts and entity candidates to memory/hot-cache.md. See Skill Contract §Save Results Template.

Reference Materials

Next Best Skill

Primary: content-gap-analysis. Also: serp-analysis and offsite-signal-analyzer. If the goal is a head-to-head "us vs them" page, hand the vetted competitor set to page-play-builder.

© aaron-he-zhu, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in seo-geo/survey/competitor-analysis of aaron-he-zhu/aaron-marketing-skills.

  • SKILL.md
  • references/analysis-templates.md
  • references/battlecard-template.md
  • references/example-report.md
  • references/positioning-frameworks.md

Open the folder on GitHubat commit 0ab9024

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aaron-he-zhu/aaron-marketing-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Competitor Analysis 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 Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Competitor Analysis this skillaaron-he-zhu/aaron-marketing-skills2.9k1 repos~2kAutomated safety check: PassApache-2.0
SEO DataforseoAgriciDaniel/codex-seo7992 repos~4.6kAutomated safety check: PassMIT
SEO Dataforseohashgraph-online/awesome-codex-plugins1.3k—~4.5kAutomated safety check: NotesMIT
DataForSEO Live SEO DataAgriciDaniel/claude-seo19k—~4.4kAutomated safety check: PassMIT
SEO Dataforseosickn33/agentic-awesome-skills47k2 repos~4.4kAutomated safety check: NotesMIT
Run Competitive IntelOthmane-Khadri/YALC-the-GTM-operating-system318—~445Automated safety check: NotesMIT

Similar skills

  • SEO Dataforseo

    AgriciDaniel/codex-seo

    Live SEO data via DataForSEO MCP server. An agent skill from AgriciDaniel/codex-seo.

    799 GitHub starsUsed in 2 repos~4.6k tokens
    Marketing & SEOAuto-check passed
  • SEO Dataforseo

    hashgraph-online/awesome-codex-plugins

    Live SEO data via DataForSEO API credentials. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~4.5k tokensUpdated today
    Marketing & SEOAuto-check: notes
  • DataForSEO Live SEO Data

    AgriciDaniel/claude-seo

    Pulls live SERP results, keyword metrics, backlink profiles and AI visibility data through the DataForSEO MCP server, with a cost check before each call.

    19k GitHub stars~4.4k tokensUpdated 5 days ago
    Marketing & SEOAuto-check passed
  • SEO Dataforseo

    sickn33/agentic-awesome-skills

    Use DataForSEO for live SERPs, keyword metrics, backlinks, competitor analysis, on-page checks, and AI visibility data.

    47k GitHub starsUsed in 2 repos~4.4k tokens
    Marketing & SEOAuto-check: notes
  • Run Competitive Intel

    Othmane-Khadri/YALC-the-GTM-operating-system

    Pull competitive intelligence on a competitor — pricing, positioning, recent changes, customer stories — via the competitive-intel CLI.

    318 GitHub stars~445 tokensUpdated 1 mo ago
    Marketing & SEOAuto-check: notes
  • Competitor Comparison Matrix

    firecrawl/web-agent

    Compares two or more products or companies on pricing, features and positioning by scraping their sites, and returns a normalized JSON matrix.

    1.2k GitHub stars~1.1k tokensUpdated 5 mo ago
    Marketing & SEOAuto-check passed

More from aaron-he-zhu/aaron-marketing-skills

All 119 skills in this repo
  • Ad Account Auditor

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when auditing a paid ad account for incremental contribution, wasted spend, or measurement integrity before scaling; runs a typed 20-item ROAS profile with verified vetoes…

    2.9k GitHub starsUsed in 2 repos~2.2k tokens
    Auto-check passed
  • Ad Creative Builder

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "write ad copy", "generate RSA headlines", or "build ad creative at volume"; produces ad units — RSA headlines/descriptions, hooks, and an angle matrix…

    2.9k GitHub starsUsed in 2 repos~2.2k tokens
    Auto-check passed
  • Ad Test Designer

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "design an A/B test", "set up a creative/landing test", "run an incrementality test", or "is this result statistically and practically material?"…

    2.9k GitHub starsUsed in 2 repos~2.8k tokens
    Auto-check passed
  • Bid Strategy Planner

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "pick a bid strategy", "set a tCPA/tROAS target", or "plan the learning-phase entry"; produces a bid-strategy choice (tCPA / tROAS / max-conversions /…

    2.9k GitHub starsUsed in 2 repos~2.6k tokens
    Auto-check passed
  • Conversion Signal QA

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "QA my conversion tracking before launch", "check my UTMs / pixel / event firing", "set up a tracking pre-flight", or "set the dedup rule so Meta and…

    2.9k GitHub starsUsed in 2 repos~2.4k tokens
    Auto-check passed
  • Creator Registry

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks "what did we pay this creator last time" or to "update the creator roster"; curates creator identity, rate, rights, exclusivity, compliance-event, and…

    2.9k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed

Works with

Categories

Questions about Competitor Analysis

What does Competitor Analysis do?

A skill your agent uses when the user asks to "analyze competitors" or "竞品分析"; benchmarks competitor keywords, content, backlinks, AI citations, and traffic share into strengths, weaknesses, and an…. Competitor Analysis is an agent skill from aaron-he-zhu/aaron-marketing-skills. Use when the user asks to "analyze competitors" or "竞品分析"; benchmarks competitor keywords, content, backlinks, AI citations, and traffic share into strengths, weaknesses, and an action plan.

When should I use Competitor Analysis?

Competitor Analysis fits situations like: the user asks to analyze competitors; benchmarks competitor keywords; traffic share into strengths.

How do I install Competitor Analysis in Claude Code?

Run `npx skills add aaron-he-zhu/aaron-marketing-skills --skill competitor-analysis -a claude-code`. Or copy the skill folder (seo-geo/survey/competitor-analysis in aaron-he-zhu/aaron-marketing-skills) into .claude/skills/competitor-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Competitor Analysis in Codex?

Run `npx skills add aaron-he-zhu/aaron-marketing-skills --skill competitor-analysis -a codex`. Or copy the skill folder (seo-geo/survey/competitor-analysis in aaron-he-zhu/aaron-marketing-skills) into .agents/skills/competitor-analysis in your project. Codex loads it when a task matches its description.

Can I use Competitor Analysis 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 aaron-he-zhu/aaron-marketing-skills --skill competitor-analysis -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-analysis, .gemini/skills/competitor-analysis, .github/skills/competitor-analysis and .opencode/skills/competitor-analysis in your project.

What does Competitor Analysis need to run?

Going by SKILL.md and its folder, Competitor Analysis needs the command-line tools its instructions call (python3). Our summary lists: Python 3. Compatibility (from SKILL.md): Claude Code and compatible agent-skill hosts.

Does Competitor Analysis 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 Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Competitor Analysis use?

Competitor Analysis is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Competitor Analysis use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.8k tokens, read only when the agent opens those files.

What are the alternatives to Competitor Analysis?

Skills that share tags, products or a category with Competitor Analysis: SEO Dataforseo (AgriciDaniel/codex-seo, 799 stars), SEO Dataforseo (hashgraph-online/awesome-codex-plugins, 1.3k stars), DataForSEO Live SEO Data (AgriciDaniel/claude-seo, 19k stars) and SEO Dataforseo (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Competitor Analysis?

aaron-he-zhu (a GitHub user) maintains it in aaron-he-zhu/aaron-marketing-skills, which has 2,894 GitHub stars. The repository holds 119 skills in this directory. The repository was last updated on October 10, 2026.

Source: aaron-he-zhu/aaron-marketing-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.