Agent skill

SEO Domain Comparison

by zubair-trabzada in zubair-trabzada/dataforseo-claude

Compares two domains side by side with DataForSEO data on traffic, keywords, backlinks, referring domains and keyword overlap, then states which has the stronger position.

MITAuto-check: notesMarketing & SEO

Install SEO Domain Comparison

skills CLI
$ npx skills add zubair-trabzada/dataforseo-claude --skill seo-compare -a claude-code

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

GitHub CLI
$ gh skill install zubair-trabzada/dataforseo-claude seo-compare --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/zubair-trabzada/dataforseo-claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/seo-compare .claude/skills/seo-compare && 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
seo-compare
GitHub stars
165
Token cost
~892 tokens
SKILL.md length
258 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Compares two domains side by side with DataForSEO data on traffic, keywords, backlinks, referring domains and keyword overlap, then states which has the stronger position.

  • Works in 7 steps: Parse login: and password: from their… → Write them to ~/.claude/skills/seo/.env → chmod 600 ~/.claude/skills/seo/.env → …
  • Benchmarking your domain against a competitor's
  • SKILL.md covers Phase 0: Credential Preflight…, Run (parallel), Output: side-by-side table and SERP overlap section, plus 1 more section
  • Needs DATAFORSEO_PASSWORD

What it does

A preflight script runs first. If DataForSEO credentials are missing, the agent shows the setup wizard, waits for you to paste your login and API password, stores them in a local .env file with restricted permissions, and verifies them with a test call, without echoing them back. Handling of a pending account verification and of wrong-password errors is spelled out.

The comparison itself runs domain overview and backlink summary scripts for each domain plus a keyword intersection call, in parallel, at roughly five cents per comparison. Output is a side-by-side table with a winner column, a SERP overlap section giving shared keywords and where each domain wins, and a short verdict of three to four sentences on which domain is stronger and why.

When your agent uses it

  • Benchmarking your domain against a competitor's
  • Finding how much keyword overlap two sites share
  • Comparing backlink profiles and referring domains of two sites

Example prompts

  • “Compare example.com and rival.com on traffic, backlinks and shared keywords.”
  • “Which of these two domains has the stronger SEO position, and where do they overlap?”

Requirements

  • DataForSEO API login and API password
  • The shared seo skill scripts, including preflight.sh
  • Pre-approved tools (allowed-tools): Bash, Write

Workflow steps

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

  1. Parse login: and password: from their message.
  2. Write them to ~/.claude/skills/seo/.env
  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…
  6. If status 40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to…
  7. If any other auth error: ask them to double-check the API password (the long alphanumeric string from…

What it can do on your machine

Read from SKILL.md and the folder at commit 67ac4f0. 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:

    • Bash
    • Write

    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 bash).

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

  • Network

    Links to these hosts (documentation or services it may open):

    • dataforseo.com

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DATAFORSEO_PASSWORD

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

Context cost

SEO Domain Comparison loads about 892 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 258 words of instructions outside code blocks.

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

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.

  • NoteMentions a .env fileSKILL.md:29
    2. Write them to `~/.claude/skills/seo/.env`:
  • NoteMentions a .env fileSKILL.md:34
    3. `chmod 600 ~/.claude/skills/seo/.env`
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Write

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 zubair-trabzada/dataforseo-claude at commit 67ac4f0, republished under its MIT licence (© zubair-trabzada). 258 words, ~892 tokens.

Download SKILL.mdSave it as .claude/skills/seo-compare/SKILL.md (or your agent's skills folder).
name
seo-compare
description
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.
allowed-tools
Bash, Write

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

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

bash
~/.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 Domain Comparison Skill

Powered by: DataForSEO API — Labs domain_rank_overview + Backlinks summary + Labs domain_intersection (×2 for both domains). Cost: ~$0.05 per comparison.

Run (parallel)

bash
~/.claude/skills/seo/scripts/domain_overview.py overview --target <d1>
~/.claude/skills/seo/scripts/domain_overview.py overview --target <d2>
~/.claude/skills/seo/scripts/backlinks.py summary --target <d1>
~/.claude/skills/seo/scripts/backlinks.py summary --target <d2>
~/.claude/skills/seo/scripts/domain_overview.py intersect --you <d1> --competitor <d2> --limit 100

Output: side-by-side table

                          | <d1>          | <d2>          | Winner
--------------------------|---------------|---------------|-------
Estimated organic traffic | 12,400/mo     | 8,900/mo      | <d1>
Total ranking keywords    | 3,420         | 5,180         | <d2>
Top-10 keywords           | 412           | 287           | <d1>
Backlinks                 | 14,200        | 8,900         | <d1>
Referring domains         | 612           | 891           | <d2>
Dofollow ratio            | 71%           | 58%           | <d1>
Domain rank               | 421           | 502           | <d2>

SERP overlap section

From the intersect call:

Shared keywords: <N>
- Where <d1> wins: <X> keywords
- Where <d2> wins: <Y> keywords
- Top 5 keywords where <d1> outranks <d2>: ...
- Top 5 keywords where <d2> outranks <d1>: ...

Verdict

3-4 sentence summary covering:

  1. Which domain is stronger overall
  2. Where the weaker one is winning anyway (their leverage points)
  3. The single biggest gap the weaker domain should close
  4. The single biggest threat to the stronger domain

© zubair-trabzada, 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/seo-compare of zubair-trabzada/dataforseo-claude.

Open the folder on GitHubat commit 67ac4f0

Compare with similar skills

SEO Domain Comparison 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.

SEO Domain Comparison compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SEO Domain Comparison this skillzubair-trabzada/dataforseo-claude165—~892Automated safety check: NotesMIT
Backlink Profile AnalysisAgriciDaniel/claude-seo19k—~3.8kAutomated safety check: PassMIT
SEO Competitorrampstackco/claude-skills945—~1.8kAutomated safety check: PassMIT
Pp Ahrefsmvanhorn/printing-press-library2.1k—~2.4kAutomated safety check: NotesApache-2.0
FLOW SEO FrameworkAgriciDaniel/claude-seo19k2 repos~1.4kAutomated safety check: PassMIT
SEO DataforseoAgriciDaniel/codex-seo7992 repos~4.6kAutomated safety check: PassMIT

Similar skills

  • Backlink Profile Analysis

    AgriciDaniel/claude-seo

    Analyzes a site's backlink profile, anchor text, toxic links, competitor gaps and disavow candidates, using whichever link data sources are configured.

    19k GitHub stars~3.8k tokensUpdated 6 days ago
    Marketing & SEOAuto-check passed
  • SEO Competitor

    rampstackco/claude-skills

    Run a competitive SEO analysis comparing the user's site to chosen competitors across SERP overlap, content depth, backlink profiles, technical posture, and brand presence.

    945 GitHub stars~1.8k tokensUpdated 4 days ago
    Marketing & SEOAuto-check passed
  • Pp Ahrefs

    mvanhorn/printing-press-library

    Printing Press CLI for Ahrefs. An agent skill from mvanhorn/printing-press-library.

    2.1k GitHub stars~2.4k tokensUpdated yesterday
    Marketing & SEOAuto-check: notes
  • FLOW SEO Framework

    AgriciDaniel/claude-seo

    Brings the FLOW framework's stage-specific SEO prompts into the agent, from keyword discovery through backlinks, on-page work and conversion to local SEO, loaded on demand.

    19k GitHub starsUsed in 2 repos~1.4k tokens
    Marketing & SEOAuto-check passed
  • 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
  • Roblox Homepage Ranking Auditor

    kennyzir/7deer_skills

    Audit a Roblox or game-site homepage against the RB Auto Golden Homepage model.

    322 GitHub stars~3.8k tokensUpdated 12 days ago
    Marketing & SEOAuto-check passed

More from zubair-trabzada/dataforseo-claude

All 16 skills in this repo
  • DataForSEO SEO Toolkit

    zubair-trabzada/dataforseo-claude

    Runs keyword research, rank checks, backlink and competitor analysis, site audits and PDF reports from live Google data through the DataForSEO API.

    165 GitHub stars~3.2k tokensUpdated 4 mo ago
    Auto-check: notes
  • DataForSEO Site Audit

    zubair-trabzada/dataforseo-claude

    Runs a full SEO audit through the DataForSEO API with five parallel subagents and produces a composite 0 to 100 SEO score, an action plan and an audit JSON for PDF export.

    165 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • Backlink Audit via DataForSEO

    zubair-trabzada/dataforseo-claude

    Audits a domain's backlink profile with the DataForSEO Backlinks API and reports referring domains, anchor text, dofollow ratio and a toxicity assessment.

    165 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check: notes
  • SEO Competitor Analysis with DataForSEO

    zubair-trabzada/dataforseo-claude

    Finds a domain's real SEO competitors through DataForSEO Labs, ranked by SERP overlap, with shared keywords, traffic estimates and a 0-100 competitive score.

    165 GitHub stars~957 tokensUpdated 4 mo ago
    Auto-check: notes
  • SEO Content Authority

    zubair-trabzada/dataforseo-claude

    Clusters the keywords a domain ranks for into topics, compares coverage with competitors and returns a content score using DataForSEO data.

    165 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check: notes
  • SEO Content Gap

    zubair-trabzada/dataforseo-claude

    Find keywords competitors rank for that you don't, via the DataForSEO Labs domainintersection endpoint.

    165 GitHub stars~823 tokensUpdated 4 mo ago
    Auto-check: notes

Categories

Questions about SEO Domain Comparison

What does SEO Domain Comparison do?

Compares two domains side by side with DataForSEO data on traffic, keywords, backlinks, referring domains and keyword overlap, then states which has the stronger position. A preflight script runs first.env file with restricted permissions, and verifies them with a test call, without echoing them back.

When should I use SEO Domain Comparison?

SEO Domain Comparison fits situations like: benchmarking your domain against a competitor's; finding how much keyword overlap two sites share; comparing backlink profiles and referring domains of two sites.

How do I install SEO Domain Comparison in Claude Code?

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

How do I install SEO Domain Comparison in Codex?

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

Can I use SEO Domain Comparison 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 zubair-trabzada/dataforseo-claude --skill seo-compare -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/seo-compare, .gemini/skills/seo-compare, .github/skills/seo-compare and .opencode/skills/seo-compare in your project.

What does SEO Domain Comparison need to run?

Going by SKILL.md and its folder, SEO Domain Comparison needs credentials named DATAFORSEO_PASSWORD. Our summary lists: DataForSEO API login and API password; The shared seo skill scripts, including preflight.sh. Its frontmatter pre-approves these tools: Bash, Write.

Does SEO Domain Comparison access the network?

SKILL.md names 1 domain. As links in the text: dataforseo.com. This is read from the text; nothing was executed.

Is SEO Domain Comparison safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file; 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 SEO Domain Comparison use?

SEO Domain Comparison 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 SEO Domain Comparison use?

About 892 tokens (SKILL.md is roughly 3.6k 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 SEO Domain Comparison?

Skills that share tags, products or a category with SEO Domain Comparison: Backlink Profile Analysis (AgriciDaniel/claude-seo, 19k stars), SEO Competitor (rampstackco/claude-skills, 945 stars), Pp Ahrefs (mvanhorn/printing-press-library, 2.1k stars) and FLOW SEO Framework (AgriciDaniel/claude-seo, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SEO Domain Comparison?

zubair-trabzada (a GitHub user) maintains it in zubair-trabzada/dataforseo-claude, which has 165 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on May 20, 2026.

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