Skip to content
cccskills
FreePublished on GitHub

seo-competitors

Identify true SEO competitors and quantify the gap, powered by the DataForSEO Labs API. Returns the top 10 competing domains by SERP overlap, with shared and unique keywords, traffic estimates, and a Competitive Score (0-100) showing how dominant the target is in its category.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Phase 0: Credential Preflight (REQUIRED — run BEFORE anything else)

Before running any of the steps below, always invoke the shared preflight check:

~/.claude/skills/seo/scripts/preflight.sh

If exit code is 0: credentials are configured — proceed with the rest of this skill silently.

If exit code is 2: the script prints the DataForSEO setup wizard to stdout. STOP, display that wizard to the user verbatim, and wait for them to paste credentials in this format:

login: their_email@example.com
password: their_api_password_here

When they reply:

  1. Parse login: and password: from their message.
  2. Write them to ~/.claude/skills/seo/.env:
    DATAFORSEO_LOGIN=<login>
    DATAFORSEO_PASSWORD=<password>
    
  3. chmod 600 ~/.claude/skills/seo/.env
  4. Run a verification call: ~/.claude/skills/seo/scripts/keyword_research.py volume "test"
  5. If verification succeeds (real JSON returned): tell the user "✅ Credentials verified. Running your command now..." and proceed with the original request.
  6. If status 40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to retry.
  7. If any other auth error: ask them to double-check the API password (the long alphanumeric string from https://app.dataforseo.com/api-access — not their account login password).

Never echo credentials back to the user, never include them in tool output, and never commit them.


SEO Competitor Analysis Skill

Powered by: DataForSEO API — Labs competitors_domain + Labs domain_intersection. Cost: ~$0.05-0.08 per run.

Run

~/.claude/skills/seo/scripts/domain_overview.py competitors --target <domain> --limit 20

For each of the top 5 competitors, also pull intersection (shared keywords):

~/.claude/skills/seo/scripts/domain_overview.py intersect --you <domain> --competitor <competitor>

What to surface

Top 10 competitors table

RankDomainCommon keywordsTheir unique keywordsEst. trafficDomain rank

The DataForSEO competitors endpoint already ranks them by SERP overlap with your target — keep that order.

SERP overlap analysis

For the top 3 competitors:

  • How many keywords does the target share with them? (intersect call)
  • What's the average position gap? (you at #15, them at #4 = -11 gap)
  • Any keywords where the target outranks the competitor? (rare wins to defend)

Strategic groupings

  • Direct competitors — share 30%+ of keywords
  • Adjacent competitors — share 10-30% (worth monitoring, not chasing)
  • Aspirational — much higher domain rank, shared keywords < 10% (long-term)

Competitive Score (0-100)

How dominant is the target in its competitive set?

competitive_score = 100 * (target_traffic / max(sum_of_top_10_traffic, 1))

Capped at 100. Above 30 = strong, 10-30 = mid-tier, <10 = challenger.

Return JSON shape

{
  "competitive_score": 24,
  "competitors": [
    {"domain": "...", "common_keywords": 1234, "unique_keywords": 5678, "traffic": 99999, "rank": 421},
    ...
  ],
  "serp_overlap": {
    "<competitor>": {"shared": 234, "avg_gap": -8.4, "wins": 12}
  },
  "strategic_groups": {
    "direct": ["a.com", "b.com"],
    "adjacent": ["c.com"],
    "aspirational": ["d.com"]
  }
}

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

seo

Free

Full SEO toolkit for Claude Code, powered by the DataForSEO API. Replaces the data layer of an SEO agency: keyword research, competitor analysis, rank tracking, backlink audits, technical site crawls, content gap analysis, and client-ready PDF reports — all with real Google search data, not scraping. Use when the user says "seo", "keyword research", "rank check", "backlinks", "competitor analysis", "site audit", "content gap", "compare domains", or passes a domain / URL / keyword for SEO analysis.

The English summary is being prepared. Showing the original description.

zubair-trabzada/dataforseo-claude169Updated May 21, 2026

Full SEO audit powered by the DataForSEO API. Orchestrates 5 specialist subagents (keywords, technical, competitors, content, backlinks) hitting DataForSEO Keywords Data, SERP, On-Page, Backlinks, and Labs endpoints in parallel, then produces a composite SEO Score (0-100) with prioritized action plan and audit JSON ready for PDF export.

The English summary is being prepared. Showing the original description.

zubair-trabzada/dataforseo-claude169Updated May 21, 2026

Backlink profile audit via the DataForSEO Backlinks API. Returns total backlinks, referring domains, dofollow ratio, top anchors with over-optimization flags, top referring domains by authority, and a toxicity assessment with an Authority Score (0-100).

The English summary is being prepared. Showing the original description.

zubair-trabzada/dataforseo-claude169Updated May 21, 2026

Head-to-head SEO comparison of two domains powered by the DataForSEO API. Side-by-side metrics across keywords, traffic, backlinks, referring domains, and shared keyword overlap with a verdict on which domain has the stronger SEO position.

The English summary is being prepared. Showing the original description.

zubair-trabzada/dataforseo-claude169Updated May 21, 2026

Content topical authority and gap analysis powered by the DataForSEO Labs API. Clusters a domain's ranked keywords into topics, identifies strong vs weak vs missing topic clusters versus competitors, and returns a Content Score (0-100) plus the highest-leverage content opportunities to write next.

The English summary is being prepared. Showing the original description.

zubair-trabzada/dataforseo-claude169Updated May 21, 2026

Find keywords competitors rank for that you don't, via the DataForSEO Labs domain_intersection endpoint. Surfaces the highest-leverage content opportunities sorted by search volume and the competitor's ranking position, with cross-competitor consensus signals.

The English summary is being prepared. Showing the original description.

zubair-trabzada/dataforseo-claude169Updated May 21, 2026

See all skills by zubair-trabzada

Report a problem with this skill