Competitor Analysis
Benchmark 3-5 competitors across keywords, content, backlinks, and AI citations into an evidence-backed action plan.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up β so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/competitor-analysis-aaron-he-zhu/β the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description β no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the βWhat this skill doesβ section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
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.
What this skill does
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, andmemory/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.
Decision Gates
Stop and ask β when the competitor set cannot be established:
- 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:
- Identify Competitors β separate direct competitors, indirect alternatives, and content competitors if the user has not named them already.
- Gather Competitor Data β capture URL, domain age, estimated traffic, domain authority, business model, target audience, and key offerings.
- Analyze Keyword Rankings β document total rankings, top 10/top 3 counts, high-value keywords, intent mix, and keyword gaps.
- Audit Content Strategy β review content volume, top performers, publishing patterns, themes, and success factors.
- Analyze Backlink Profile β review backlink totals, quality mix, top linking domains, link acquisition patterns, and linkable assets.
- Technical SEO Assessment β evaluate Core Web Vitals, mobile-friendliness, architecture, internal linking, URL structure, and standout strengths/weaknesses.
- GEO / AI Citation Analysis β test which queries cite competitors, what formats get cited, and where competitors still leave openings.
- 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.
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.
Link Intersection
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
- Analysis Templates β Step-by-step analysis templates
- Battlecard Template β Quick-reference battlecard format
- Positioning Frameworks β Positioning and differentiation frameworks
- Example Report β Worked sample
Next Best Skill
Primary: content-gap-analysis. Also: serp-analysis and backlink-analyzer.
Related skills
AI Search Optimization
coreyhaines31
Optimize your content to be cited and surfaced by AI search engines.
App Store Listing Audit
coreyhaines31
Analyze your app listing against best practices and get a prioritized optimization plan.
Competitor Comparison Pages
coreyhaines31
Create SEO-optimized comparison pages positioning your product against competitors.
Competitor Research Profiler
coreyhaines31
Analyze competitor URLs to generate detailed profiles with market data and insights.