zubair-trabzada/dataforseo-claude · Archived

seo-backlinks

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

First seen Jul 9, 2026

Installation

$ npx skills add zubair-trabzada/dataforseo-claude --skill seo-backlinks

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from zubair-trabzada/dataforseo-claude · top by installs.

npx skills add zubair-trabzada/dataforseo-claude

Browse all from zubair-trabzada/dataforseo-claude

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 150
License LICENSE
Default branch main
Open issues 1
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Write
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,087 B
  • docs SUMMARY.md 274 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

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: [email protected]
password: their_api_password_here

When they reply:

  1. Parse login: and password: from their message.
  2. Write them to ~/.claude/skills/seo/.env:

`` DATAFORSEOLOGIN=<login> DATAFORSEOPASSWORD=<password> ``

  1. chmod 600 ~/.claude/skills/seo/.env
  2. Run a verification call: ~/.claude/skills/seo/scripts/keyword_research.py volume "test"
  3. If verification succeeds (real JSON returned): tell the user "✅ Credentials verified. Running your command now..." and proceed with the original request.
  4. If status 40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to retry.
  5. 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.


Backlink Audit Skill

Powered by: DataForSEO API — Backlinks summary + referringdomains + anchors + domainintersection.
Cost: ~$0.03-0.05 per run.

Run

Three calls, parallel:

~/.claude/skills/seo/scripts/backlinks.py summary --target <domain>
~/.claude/skills/seo/scripts/backlinks.py refdomains --target <domain> --limit 100
~/.claude/skills/seo/scripts/backlinks.py anchors --target <domain> --limit 50

What to evaluate

Volume & freshness

  • Total backlinks, total referring domains
  • New backlinks in last 30/90 days
  • Lost backlinks in last 30/90 days
  • Trend: growing, stable, declining

Quality

  • Dofollow ratio (50-80% is healthy; >95% looks artificial)
  • Domain rank distribution of referring sites

(mostly low-rank domains = weak profile)

  • TLD distribution (.edu / .gov / .org weight more)
  • IP / subnet diversity (PBN red flag if all same C-class)

Anchor text

  • Top 10 anchors by frequency
  • Branded anchor share — should be 40-60% for a healthy profile

- <30% looks unnatural - >80% means few topical links

  • Exact-match anchor share — should be < 10%

- >20% = over-optimization, manual penalty risk

Toxicity flags

  • High share of links from low-rank domains (rank < 50)
  • Sudden spike in backlinks (possible negative SEO)
  • Anchor text patterns suggesting paid links
  • Adult / gambling / pharma TLDs in referring domains

Authority Score (0-100)

Signal Weight
log10(referring_domains) scaled to 0-30 30%
Domain rank percentile 25%
Anchor naturalness (penalty for >20% exact-match) 15%
Dofollow ratio in healthy band (50-80%) 10%
TLD/IP diversity 10%
Toxicity penalty (negative) up to -10%

Return JSON shape

{
  "authority_score": 68,
  "backlink_summary": {
    "backlinks": 12345, "referring_domains": 432,
    "dofollow_pct": 67, "broken_backlinks": 12,
    "new_30d": 18, "lost_30d": 5
  },
  "top_referrers": [{"domain": "...", "rank": 612, "backlinks": 24, "dofollow": true}],
  "anchor_distribution": {
    "branded": 0.51, "exact_match": 0.08, "partial_match": 0.18,
    "naked_url": 0.12, "generic": 0.11
  },
  "toxicity_flags": ["..."]
}