Backlink gap analysis skill

Find and prioritize ethical backlink and digital-PR opportunities using SandBase DataForSEO backlink data.

by sandbaseai·Apache-2.0 license·★ 199 Stars on the repo·GitHub ↗

Use now
SKILL.md · the author's own words
# Backlink Gap Analysis

Use backlink evidence to find relevant, reachable link-building opportunities. This Skill calls the named DataForSEO backlink capabilities…

Do not send outreach or create links — this Skill is read-only research. Read [example workflows](references/example-workflows.md) when the…

## Operating principles

- Recommend only ethical, relevant link opportunities. Exclude PBNs, link farms, paid-link schemes, and manipulative tactics.
- Treat DataForSEO backlink data as directional evidence, not absolute truth. Backlink databases are sampled and may be days to weeks behin…
- Separate observations (what the data shows) from judgment (which opportunities are worth pursuing).
- Prioritize topical relevance and audience fit over raw domain authority or volume.
- Keep user domains, competitor details, and strategy confidential unless sharing is explicitly requested.

## Workflow

Word-for-word excerpt, not a result. Read the full SKILL.md ↓

Files of Backlink gap analysis

sandbaseai/main1 file shown
SKILL.md
Show the full text167 lines

Use backlink evidence to find relevant, reachable link-building opportunities. This Skill calls the named DataForSEO backlink capabilities in the SandBase API map through the SandBase MCP gateway. In a SandBase Agent, run the capabilities directly. In another compatible agent, require an authorized SandBase connection before starting; never request, print, or store an API key in the research output.

Do not send outreach or create links — this Skill is read-only research. Read example workflows when the user needs a starting prompt or wants to understand the output.

Operating principles

  • Recommend only ethical, relevant link opportunities. Exclude PBNs, link farms, paid-link schemes, and manipulative tactics.
  • Treat DataForSEO backlink data as directional evidence, not absolute truth. Backlink databases are sampled and may be days to weeks behind reality.
  • Separate observations (what the data shows) from judgment (which opportunities are worth pursuing).
  • Prioritize topical relevance and audience fit over raw domain authority or volume.
  • Keep user domains, competitor details, and strategy confidential unless sharing is explicitly requested.

Workflow

1. Frame the analysis

Collect or infer: the target domain, market/industry, 2–5 competitor domains, link-building constraints (no paid links, no guest post farms, etc.), and the goal (authority building, specific page promotion, digital PR angles, or general gap analysis).

Classify the request as one or more of:

  • Profile audit: understand the target's current backlink health
  • Gap analysis: find where competitors have links the target doesn't
  • Asset discovery: identify which target pages attract links (or could)
  • Prospect prioritization: build a ranked outreach target list
  • Anchor assessment: evaluate anchor-text health and risk
2. Select and call SandBase capabilities

Read the SandBase API map before selecting tools. Use the listed tool_name through the SandBase gateway:

  1. Call sandbase_describe_tool for the selected tool_name and read its current input schema.
  2. Call sandbase_call_tool with that exact tool_name and only schema-defined arguments.
  3. Keep the tool name, target domain, and query parameters with the returned data.
3. Profile the target domain

Use dataforseo_v3_backlinks_summary_live and dataforseo_v3_backlinks_referring_domains_live:

What to extract Why it matters
Total backlinks and referring domains Baseline authority signal
Domain rank / authority score Contextualizes difficulty of gap-closing
New vs. lost links trend Health trajectory
Top referring domain types Reveals current acquisition pattern
Dofollow vs. nofollow ratio Link equity distribution

Tips:

  • Compare the target's profile size against competitors before diving into gaps — a 10x size difference changes strategy.
  • Note if the target has strong links in one topic area but not another (topical authority gaps).
  • Flag unnatural patterns early (sudden spikes, high % from one country, anchor over-optimization).

Use dataforseo_v3_backlinks_competitors_live and dataforseo_v3_backlinks_backlinks_live:

Strategy Tool and approach
Find link competitors backlinks_competitors_live — identifies domains competing for similar link sources
Inspect competitor-earned links backlinks_backlinks_live for each competitor — reveals specific pages linking to them
Compare acquisition patterns Look at link type (editorial, directory, resource page, PR mention)

Tips:

  • Focus on links from the last 12 months for actionable opportunities (older links may be from defunct sites).
  • Look for referring domains that link to 2+ competitors but not the target — highest-probability gaps.
  • Distinguish editorial links (earned through content quality) from structural links (directories, profiles) — they require different acquisition strategies.
  • Note the content type that earned the link (data, tool, guide, news mention) — this reveals what assets to create.
5. Assess relevance and linkable assets

Use dataforseo_v3_backlinks_anchors_live and dataforseo_v3_backlinks_domain_pages_live:

Anchor text analysis:

  • Healthy profile: diverse anchors, brand-heavy, natural language
  • Risk signals: over-optimized exact-match anchors, foreign-language spam anchors
  • Opportunity signals: competitors with branded anchors from editorial coverage

Domain pages analysis:

  • Which target pages already attract links? (potential to amplify)
  • Which competitor pages attract the most links? (asset patterns to replicate)
  • What page types earn links? (tools, data, guides, research, free resources)
6. Rank and filter prospects

Score each prospect on a transparent framework:

Dimension Question Signal
Topical relevance Does this domain cover the target's industry? Content overlap with target
Audience fit Would the linking site's readers be potential customers? Traffic quality, not just DA
Linking pattern Does this domain actually link out? History of editorial or resource links
Accessibility Can this link be earned ethically? Editorial guidelines, contact info
Asset fit Does the target have (or could create) content this site would link to? Content gap analysis
Risk Is there any manipulation, spam, or penalty risk? Spam score, link neighborhood

Exclude prospects that:

  • Have no topical relevance to the target
  • Show signs of being link farms or PBNs
  • Only link to sites through paid arrangements
  • Are in completely different languages or markets (unless intentional)

Output

Return a structured analysis:

Profile summary
Metric Target Competitor 1 Competitor 2
Referring domains ... ... ...
Domain authority ... ... ...
New links (30d) ... ... ...
Top link type ... ... ...
Priority prospects
# Referring domain Topical fit Links to competitors Suggested angle Difficulty Priority
1 ... ... ... ... ... ...

Content or tools the target should build to attract links from the identified prospect pool.

Anchor health assessment

Current state and any recommendations for anchor diversification.

Exclusions

Prospects reviewed but excluded, with reasons (keeps the analysis auditable).

Evidence gaps and next steps

What data is missing, and the smallest action to improve the analysis.

Tips for better results

  • Start with competitors, not the target: The most actionable insights come from what competitors have earned that the target hasn't.
  • Quality over quantity: 10 highly relevant prospects are worth more than 100 generic directories.
  • Look for "link-earning events": Product launches, data publications, tool releases, and newsworthy announcements that earned competitors links.
  • Check the linker's linking behavior: A site that regularly links out in editorial content is far more accessible than one that rarely includes external links.
  • Consider the full funnel: Not all valuable links come from high-DA sites. Niche industry blogs with engaged audiences can drive qualified traffic and relevance signals.

Failure handling

  • If SandBase is unavailable or unauthorized, report the failed capability and ask the user to connect or authorize SandBase; do not silently substitute a direct provider API.
  • If a domain returns no data, it may be too new, too small, or using a subdomain format the API doesn't recognize. Try with/without www, or note the data gap.
  • If competitor data is sparse, the competitor may be too small for the backlink database. Suggest alternative competitors or note the limitation.
  • If all prospects are low-relevance, recommend authority-building strategies (content creation, digital PR) before link outreach.

Quality gate

Before delivering, verify that:

  • Every recommended prospect has a clear topical relevance justification.
  • Excluded prospects are documented with reasons.
  • The analysis distinguishes editorial links from structural/directory links.
  • Risk factors (spam, manipulation) are flagged for any borderline prospects.
  • Recommendations are actionable: each has a suggested angle or asset type.
  • The output honestly states what the data can and cannot prove.
1---
2name: backlink-gap-analysis
3description: Find and prioritize ethical backlink and digital-PR opportunities using SandBase DataForSEO backlink data. Use when asked to analyze backlink profiles, find referring-domain gaps, compare link competitors, or prepare a link-outreach target list.
4---
5 
6# Backlink Gap Analysis
7 
8Use backlink evidence to find relevant, reachable link-building opportunities. This Skill calls the named DataForSEO backlink capabilities in [the SandBase API map](references/sandbase-api-map.md) through the SandBase MCP gateway. In a SandBase Agent, run the capabilities directly. In another compatible agent, require an authorized SandBase connection before starting; never request, print, or store an API key in the research output.
9 
10Do not send outreach or create links — this Skill is read-only research. Read [example workflows](references/example-workflows.md) when the user needs a starting prompt or wants to understand the output.
11 
12## Operating principles
13 
14- Recommend only ethical, relevant link opportunities. Exclude PBNs, link farms, paid-link schemes, and manipulative tactics.
15- Treat DataForSEO backlink data as directional evidence, not absolute truth. Backlink databases are sampled and may be days to weeks behind reality.
16- Separate observations (what the data shows) from judgment (which opportunities are worth pursuing).
17- Prioritize topical relevance and audience fit over raw domain authority or volume.
18- Keep user domains, competitor details, and strategy confidential unless sharing is explicitly requested.
19 
20## Workflow
21 
22### 1. Frame the analysis
23 
24Collect or infer: the target domain, market/industry, 2–5 competitor domains, link-building constraints (no paid links, no guest post farms, etc.), and the goal (authority building, specific page promotion, digital PR angles, or general gap analysis).
25 
26Classify the request as one or more of:
27- **Profile audit**: understand the target's current backlink health
28- **Gap analysis**: find where competitors have links the target doesn't
29- **Asset discovery**: identify which target pages attract links (or could)
30- **Prospect prioritization**: build a ranked outreach target list
31- **Anchor assessment**: evaluate anchor-text health and risk
32 
33### 2. Select and call SandBase capabilities
34 
35Read [the SandBase API map](references/sandbase-api-map.md) before selecting tools. Use the listed `tool_name` through the SandBase gateway:
36 
371. Call `sandbase_describe_tool` for the selected `tool_name` and read its current input schema.
382. Call `sandbase_call_tool` with that exact `tool_name` and only schema-defined arguments.
393. Keep the tool name, target domain, and query parameters with the returned data.
40 
41### 3. Profile the target domain
42 
43Use `dataforseo_v3_backlinks_summary_live` and `dataforseo_v3_backlinks_referring_domains_live`:
44 
45| What to extract | Why it matters |
46|---|---|
47| Total backlinks and referring domains | Baseline authority signal |
48| Domain rank / authority score | Contextualizes difficulty of gap-closing |
49| New vs. lost links trend | Health trajectory |
50| Top referring domain types | Reveals current acquisition pattern |
51| Dofollow vs. nofollow ratio | Link equity distribution |
52 
53Tips:
54- Compare the target's profile size against competitors before diving into gaps — a 10x size difference changes strategy.
55- Note if the target has strong links in one topic area but not another (topical authority gaps).
56- Flag unnatural patterns early (sudden spikes, high % from one country, anchor over-optimization).
57 
58### 4. Identify competitor link sources
59 
60Use `dataforseo_v3_backlinks_competitors_live` and `dataforseo_v3_backlinks_backlinks_live`:
61 
62| Strategy | Tool and approach |
63|---|---|
64| Find link competitors | `backlinks_competitors_live` — identifies domains competing for similar link sources |
65| Inspect competitor-earned links | `backlinks_backlinks_live` for each competitor — reveals specific pages linking to them |
66| Compare acquisition patterns | Look at link type (editorial, directory, resource page, PR mention) |
67 
68Tips:
69- Focus on links from the last 12 months for actionable opportunities (older links may be from defunct sites).
70- Look for referring domains that link to 2+ competitors but not the target — highest-probability gaps.
71- Distinguish editorial links (earned through content quality) from structural links (directories, profiles) — they require different acquisition strategies.
72- Note the content type that earned the link (data, tool, guide, news mention) — this reveals what assets to create.
73 
74### 5. Assess relevance and linkable assets
75 
76Use `dataforseo_v3_backlinks_anchors_live` and `dataforseo_v3_backlinks_domain_pages_live`:
77 
78**Anchor text analysis:**
79- Healthy profile: diverse anchors, brand-heavy, natural language
80- Risk signals: over-optimized exact-match anchors, foreign-language spam anchors
81- Opportunity signals: competitors with branded anchors from editorial coverage
82 
83**Domain pages analysis:**
84- Which target pages already attract links? (potential to amplify)
85- Which competitor pages attract the most links? (asset patterns to replicate)
86- What page types earn links? (tools, data, guides, research, free resources)
87 
88### 6. Rank and filter prospects
89 
90Score each prospect on a transparent framework:
91 
92| Dimension | Question | Signal |
93|---|---|---|
94| Topical relevance | Does this domain cover the target's industry? | Content overlap with target |
95| Audience fit | Would the linking site's readers be potential customers? | Traffic quality, not just DA |
96| Linking pattern | Does this domain actually link out? | History of editorial or resource links |
97| Accessibility | Can this link be earned ethically? | Editorial guidelines, contact info |
98| Asset fit | Does the target have (or could create) content this site would link to? | Content gap analysis |
99| Risk | Is there any manipulation, spam, or penalty risk? | Spam score, link neighborhood |
100 
101Exclude prospects that:
102- Have no topical relevance to the target
103- Show signs of being link farms or PBNs
104- Only link to sites through paid arrangements
105- Are in completely different languages or markets (unless intentional)
106 
107## Output
108 
109Return a structured analysis:
110 
111### Profile summary
112 
113| Metric | Target | Competitor 1 | Competitor 2 |
114|---|---|---|---|
115| Referring domains | ... | ... | ... |
116| Domain authority | ... | ... | ... |
117| New links (30d) | ... | ... | ... |
118| Top link type | ... | ... | ... |
119 
120### Priority prospects
121 
122| # | Referring domain | Topical fit | Links to competitors | Suggested angle | Difficulty | Priority |
123|---|---|---|---|---|---|---|
124| 1 | ... | ... | ... | ... | ... | ... |
125 
126### Recommended assets to create
127 
128Content or tools the target should build to attract links from the identified prospect pool.
129 
130### Anchor health assessment
131 
132Current state and any recommendations for anchor diversification.
133 
134### Exclusions
135 
136Prospects reviewed but excluded, with reasons (keeps the analysis auditable).
137 
138### Evidence gaps and next steps
139 
140What data is missing, and the smallest action to improve the analysis.
141 
142## Tips for better results
143 
144- **Start with competitors, not the target**: The most actionable insights come from what competitors have earned that the target hasn't.
145- **Quality over quantity**: 10 highly relevant prospects are worth more than 100 generic directories.
146- **Look for "link-earning events"**: Product launches, data publications, tool releases, and newsworthy announcements that earned competitors links.
147- **Check the linker's linking behavior**: A site that regularly links out in editorial content is far more accessible than one that rarely includes external links.
148- **Consider the full funnel**: Not all valuable links come from high-DA sites. Niche industry blogs with engaged audiences can drive qualified traffic and relevance signals.
149 
150## Failure handling
151 
152- If SandBase is unavailable or unauthorized, report the failed capability and ask the user to connect or authorize SandBase; do not silently substitute a direct provider API.
153- If a domain returns no data, it may be too new, too small, or using a subdomain format the API doesn't recognize. Try with/without www, or note the data gap.
154- If competitor data is sparse, the competitor may be too small for the backlink database. Suggest alternative competitors or note the limitation.
155- If all prospects are low-relevance, recommend authority-building strategies (content creation, digital PR) before link outreach.
156 
157## Quality gate
158 
159Before delivering, verify that:
160 
161- Every recommended prospect has a clear topical relevance justification.
162- Excluded prospects are documented with reasons.
163- The analysis distinguishes editorial links from structural/directory links.
164- Risk factors (spam, manipulation) are flagged for any borderline prospects.
165- Recommendations are actionable: each has a suggested angle or asset type.
166- The output honestly states what the data can and cannot prove.
167 

Discussion

Alternatives

Agentic Browsing ReadinessAudit and fix agent readiness: the Lighthouse Agentic Browsing fraction, accessibility tree for agents, robots.txt and Content-Signal for AI agents, WAF treatment of agent traffic, llms.txt, Markdown delivery, ai-catalog.json, /.well-known discovery files, and WebMCP tools. Exclude AI citability and brand signals (seo-geo) and commerce protocol depth (seo-ecommerce).Marketing · MITBacklink Profile AnalysisBacklink profile analysis: referring domains, anchor text distribution, toxic link detection, competitor gap analysis. Works with free APIs (Moz, Bing Webmaster, Common Crawl) and DataForSEO extension. Use when user says backlinks, link profile, referring domains, anchor text, toxic links, link gap, link building, disavow, or backlink audit.Marketing · MIT/setup-cmsConnect a CMS to notfair SEO tools. Guides users through configuring WordPress, Strapi, Contentful, or Ghost — tests the connection, and writes credentials to .env.local. Once set up, seo-analysis automatically cross- references CMS content against Google Search Console data. Use whenever the user says "connect my CMS", "set up WordPress", "configure Strapi", "add Contentful", "connect Ghost", or "CMS setup". Also trigger if the user asks why no CMS data appears in a seo-analysis report. · MITBacklink checkBacklink profile for any domain — referring domains, authority, anchors, new/lost links, and a side-by-side vs a competitor. Use when asked "check my backlinks", "backlink profile of X", "who links to them", or "link gap vs competitor".Marketing · MIT