HarborRank

SEO Competitor Analysis Skill

Study a competitor's ranking keywords, page types and links against your own Search Console data, and get the pages to build instead. For Claude Code and Codex.

Run this skill in your agent
>/competitor-analysis

Pick the one site that keeps ranking above you. This skill works out what it ranks for, which kinds of pages carry it, how much of its strength is links, and where it is thin. Then it tells you what to build. It does not tell you to copy them.

What the agent does

  1. Sizes the competitor with get_domain_overview: estimated traffic and keyword count, for the country you name.
  2. Sizes you the same way. With Search Console connected it uses your real clicks and impressions instead, which is more accurate than any estimate of your own site.
  3. Pulls their keywords with get_ranked_keywords, filtered so the rows stay useful: top positions only, a minimum volume, their brand terms removed.
  4. Checks they are a real search competitor with find_serp_competitors when you named them from the sales side. A rival you meet in deals may barely overlap with you in search.
  5. Groups what they rank for into themes: product and category pages, comparisons and alternatives, tools and templates, guides, brand searches, and local pages.
  6. Checks their links with get_backlinks_overview when authority looks like the reason they win. This is a paid-plan tool; on Free the skill continues without it.
  7. Looks at head-to-head results for the terms you both want, with get_serp_results, before saying anything about their pages. Keyword rows alone do not show what a page looks like.
  8. For local businesses it compares Maps results around the business, not national domain numbers, because a shop's local strength rarely shows in its organic footprint.
  9. Offers to keep watching them. If you have a rank tracker, it can add the competitor with add_rank_tracker_competitors, so every check records their position next to yours at no extra cost. Basic compares 3 competitors per tracker, Pro and Agency 10. It asks first.

What you get back

A snapshot, the biggest lesson, and the best opening first. Then:

AreaCompetitor patternEvidenceYour opportunity

And sections for their top keyword themes, the page types working for them, link notes, head-to-head observations, and your priority actions. Evidence and inference are kept apart, so you can see which claims come from data and which are the agent's reading of it.

Prompts that work

/competitor-analysis semrush.com versus my site, only keywords an SEO freelancer would search
/competitor-analysis goodlesselectric.com, I run an electrician site in Springfield, MA

Cost

Two domain overviews, one or two keyword pulls, a links check and a few results pages: usually a few hundred credits. Without the links check it fits comfortably in the Free plan.

Read the skill

competitor-analysis/SKILL.md on GitHub.

Next