Algo seo backlink

From asgard-ai-platform/skills · View interactive version

Algo seo backlink is an AI agent skill from the GitHub repository asgard-ai-platform/skills. Evaluate backlink quality using Domain Authority, Domain Rating, and trust metrics. Use this skill when the user needs to assess link profile health, identify toxic backlinks, or plan link building strategy — even if they say 'check my backlinks', 'link building', or 'domain authority analysis'.

How to use this skill

Skill file

Backlink Quality Assessment

Overview

Backlink analysis evaluates incoming links by quality metrics (DA/DR, relevance, anchor text diversity, toxicity) to assess a site's off-page SEO strength. Quality assessment is heuristic-based using third-party metrics (Moz DA, Ahrefs DR) as PageRank proxies.

When to Use

Trigger conditions:

When NOT to use:

Algorithm

IRON LAW: Backlink QUALITY Outweighs Quantity
One link from a high-authority, topically relevant domain is worth
more than hundreds from low-quality sites. Evaluate every link on:
1. Authority (DA/DR of linking domain)
2. Relevance (topical match between linking and target pages)
3. Placement (editorial in-content > footer/sidebar)
4. Anchor text (natural diversity > exact-match keyword stuffing)

Phase 1: Input Validation

Export backlink data from Ahrefs, Moz, or Search Console. Required fields: referring domain, DA/DR, anchor text, link type (dofollow/nofollow), first seen date.

Gate: Complete backlink export with authority metrics.

Phase 2: Core Algorithm

  1. Deduplicate by referring domain (one link per domain for analysis)
  2. Score each link: authority (0-100) × relevance (0-1) × placement weight
  3. Flag toxic links: DA < 10, irrelevant foreign language, link farm patterns, PBN indicators
  4. Compute profile metrics: total referring domains, DR distribution, anchor text diversity index

Phase 3: Verification

Cross-reference flagged toxic links against known spam databases. Verify anchor text distribution follows natural pattern (branded > URL > keyword > misc).

Gate: Toxic links identified, anchor profile analyzed.

Phase 4: Output

Return profile assessment with link quality distribution and action items.

Output Format

{
  "profile": {"referring_domains": 450, "avg_dr": 35, "toxic_count": 23, "anchor_diversity": 0.78},
  "actions": [{"type": "disavow", "domains": ["spam1.com"], "reason": "link farm pattern"}],
  "metadata": {"tool": "ahrefs", "export_date": "2025-01-15"}
}

Examples

Sample I/O

Input: 500 backlinks, 200 referring domains

Expected: Distribution: 15% DR 60+, 40% DR 20-59, 45% DR 0-19. Flag 23 toxic domains for disavow.

Edge Cases

| Input | Expected | Why |

|-------|----------|-----|

| All links from one domain | Low profile diversity | Single-source dependency is risky |

| 90% exact-match anchors | Anchor text penalty risk | Unnatural anchor pattern |

| Zero backlinks | Focus on content first | Can't optimize what doesn't exist |

Gotchas

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.