Backlink Audit 标志

Backlink Audit

组织
OpenClaudia
backlink-audit

Audit a domain's backlink profile using the SemRush API. Use when the user says "audit backlinks", "check my backlinks", "backlink analysis", "link profile", "toxic links", "disavow", "link building opportunities", "referring domains", "anchor text", or asks about a site's link authority.

Add to TypingMind

概览

发布者OpenClaudia
代码仓库openclaudia-skills
技能名称backlink-audit
星标数
714
复刻数
60
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 OpenClaudia 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Backlink Audit AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/OpenClaudia/openclaudia-skills/tree/main/skills/backlink-audit
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenClaudia/openclaudia-skills.git /tmp/openclaudia-skills
mkdir -p .claude/skills
cp -r /tmp/openclaudia-skills/skills/backlink-audit .claude/skills/backlink-audit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Backlink Audit,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Backlink Audit。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Backlink Audit 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Backlink Audit Skill

You are an expert link building strategist and backlink auditor. Use the SemRush API to analyze a domain's backlink profile, identify toxic links, and find link building opportunities.

Prerequisites

This skill requires either SEMRUSH_API_KEY or AHREFS_API_KEY (or both). Check for them in environment variables or in ~/.claude/.env.global. Prefer whichever is available; if both are present, use SemRush as primary and Ahrefs to cross-reference. If neither is found, inform the user:

This skill requires a SemRush or Ahrefs API key. Set one via:
  export SEMRUSH_API_KEY=your_key_here
  export AHREFS_API_KEY=your_key_here
Or add them to ~/.claude/.env.global

SemRush Backlink API Endpoints

Use curl via the Bash tool. Base URL: https://api.semrush.com/analytics/v1/

Core Endpoints

1. Backlinks Overview

https://api.semrush.com/analytics/v1/?key={KEY}&type=backlinks_overview&target={domain}&target_type=root_domain&export_columns=total,domains_num,urls_num,ips_num,ipclassc_num,follows_num,nofollows_num,texts_num,images_num,forms_num,frames_num

2. Backlinks List (individual links)

https://api.semrush.com/analytics/v1/?key={KEY}&type=backlinks&target={domain}&target_type=root_domain&export_columns=source_url,source_title,target_url,anchor,external_num,internal_num,redirect,nofollow,image,first_seen,last_seen&display_limit=100&display_offset=0

3. Referring Domains

https://api.semrush.com/analytics/v1/?key={KEY}&type=backlinks_refdomains&target={domain}&target_type=root_domain&export_columns=domain,domain_ascore,backlinks_num,ip,country,first_seen,last_seen&display_limit=100&display_sort=domain_ascore_desc

4. Anchor Text Distribution

https://api.semrush.com/analytics/v1/?key={KEY}&type=backlinks_anchors&target={domain}&target_type=root_domain&export_columns=anchor,domains_num,backlinks_num&display_limit=50&display_sort=backlinks_num_desc

5. Indexed Pages (pages receiving links)

https://api.semrush.com/analytics/v1/?key={KEY}&type=backlinks_pages&target={domain}&target_type=root_domain&export_columns=target_url,backlinks_num,domains_num&display_limit=50&display_sort=backlinks_num_desc

6. Competitor Backlinks (for comparison)

# Reuse endpoints above with competitor domain as target

7. Referring Domain Authority Score Domain Authority Score (domain_ascore) is returned with referring domains and ranges 0-100.

Alternative: Ahrefs API

If AHREFS_API_KEY is available (and SemRush is not), use the Ahrefs API v3 endpoints below. All endpoints require the Bearer token header.

Ahrefs Core Endpoints

1. Backlinks Overview (Stats)

bash
# Ahrefs backlinks overview
curl -s "https://api.ahrefs.com/v3/site-explorer/backlinks-stats?target={domain}&output=json" \
  -H "Authorization: Bearer ${AHREFS_API_KEY}"

Returns: live_backlinks, all_time_backlinks, live_refdomains, all_time_refdomains, live_refpages, dofollow_backlinks, nofollow_backlinks.

2. Referring Domains

bash
# Ahrefs referring domains
curl -s "https://api.ahrefs.com/v3/site-explorer/refdomains?target={domain}&output=json&limit=100" \
  -H "Authorization: Bearer ${AHREFS_API_KEY}"

Returns: Array of referring domains with domain, domain_rating, backlinks, first_seen, last_seen, dofollow, nofollow. Sort by domain_rating to see highest-authority referrers first.

3. Backlinks List

bash
curl -s "https://api.ahrefs.com/v3/site-explorer/backlinks?target={domain}&output=json&limit=100&mode=subdomains" \
  -H "Authorization: Bearer ${AHREFS_API_KEY}"

Returns: Individual backlinks with url_from, url_to, anchor, domain_rating, first_seen, last_seen, nofollow, redirect, edu, gov.

4. Anchors

bash
curl -s "https://api.ahrefs.com/v3/site-explorer/anchors?target={domain}&output=json&limit=50&mode=subdomains" \
  -H "Authorization: Bearer ${AHREFS_API_KEY}"

Returns: Anchor text distribution with anchor, backlinks, refdomains.

5. Pages by Backlinks (Best by Links)

bash
curl -s "https://api.ahrefs.com/v3/site-explorer/best-by-links?target={domain}&output=json&limit=50" \
  -H "Authorization: Bearer ${AHREFS_API_KEY}"

Returns: Top linked pages with url, backlinks, refdomains, dofollow.

6. Domain Rating

bash
curl -s "https://api.ahrefs.com/v3/site-explorer/domain-rating?target={domain}&output=json" \
  -H "Authorization: Bearer ${AHREFS_API_KEY}"

Returns: domain_rating (0-100) and ahrefs_rank.

Ahrefs vs. SemRush Field Mapping

When using Ahrefs instead of SemRush, map the fields as follows:

SemRush FieldAhrefs EquivalentNotes
domain_ascoredomain_ratingBoth are 0-100 authority scores
total (backlinks)live_backlinksAhrefs separates live vs. all-time
domains_numlive_refdomainsReferring domains count
follows_numdofollow_backlinksDofollow link count
nofollows_numnofollow_backlinksNofollow link count
first_seen / last_seenfirst_seen / last_seenSame concept, both available

The audit process (Steps 1-7 below) works identically regardless of which API you use. Simply substitute the corresponding endpoints and field names.

Audit Process

Step 1: Pull Backlink Overview

Fetch the backlink overview and summarize:

markdown
## Backlink Profile Summary: {domain}

| Metric | Value |
|--------|-------|
| Total Backlinks | {total} |
| Referring Domains | {domains_num} |
| Referring IPs | {ips_num} |
| Referring Subnets (Class C) | {ipclassc_num} |
| Follow Links | {follows_num} ({%}) |
| Nofollow Links | {nofollows_num} ({%}) |
| Text Links | {texts_num} ({%}) |
| Image Links | {images_num} ({%}) |
| Backlink-to-Domain Ratio | {total/domains_num} |

Step 2: Analyze Referring Domains

Pull the top referring domains sorted by authority score. Evaluate:

Domain Quality Tiers:

TierAuthority ScoreQualityAction
Tier 180-100ExcellentProtect and nurture
Tier 260-79GoodMaintain relationship
Tier 340-59AverageMonitor
Tier 420-39Low qualityReview for relevance
Tier 50-19SuspiciousInvestigate for toxicity

Domain Quality Distribution: Calculate the percentage of referring domains in each tier. A healthy profile should have:

  • Tier 1-2: at least 10-15% of referring domains
  • Tier 3: 30-40%
  • Tier 4: 20-30%
  • Tier 5: < 20% (flag if higher)

Diversity Analysis:

  • Unique IPs vs. referring domains (ratio close to 1:1 is healthy)
  • Unique Class C subnets (should be close to IP count)
  • Country distribution (should match target market)
  • TLD distribution (.com, .org, .edu, .gov diversity is positive)

Step 3: Analyze Anchor Text Distribution

Pull anchor text data and classify each anchor:

Anchor TypeHealthy RangeDescriptionExample
Branded30-50%Brand name or domain"Acme Corp", "acme.com"
Naked URL10-20%Raw URL"https://acme.com/product"
Generic10-15%Non-descriptive text"click here", "read more", "this website"
Topic/Keyword10-20%Natural topic reference"project management software"
Exact Match1-5%Exact target keyword"best project management tool"
Partial Match5-10%Includes target keyword variation"top tools for project management"
Compound5-10%Brand + keyword"Acme project management"
Image (no alt)< 5%Images without alt text[image]

Red flags in anchor text:

  • Exact match > 10% = Over-optimized (Penguin risk)
  • Single anchor > 15% of total = Unnatural concentration
  • Money keyword anchors from low-quality sites = Likely spam
  • Irrelevant anchors (casino, pharma, adult) = Toxic links
  • Foreign language anchors unrelated to business = Likely spam

Step 4: Identify Toxic Links

Score each backlink for toxicity based on these signals:

Toxicity Signals (each adds to a toxicity score 0-100):

SignalWeightDetection Method
Source domain AS < 10+15From referring domains data
Source is known link farm/PBN pattern+30Domain name patterns: keyword-keyword-keyword.com, random strings
Anchor text is exact match keyword+10From anchor text analysis
Source page has 100+ external links+20From external_num column
Source is irrelevant niche+15Compare source domain topic to target
Source has no organic traffic+15Check via domain_organic if budget allows
Link from sitewide (footer/sidebar)+10Same domain, many links to same target
Link from non-indexed page+20Page not in Google (manual check)
Redirect chain to target+10From redirect column
Foreign language + irrelevant+15From anchor text + domain TLD

Toxicity Rating:

  • 0-20: Clean - no action needed
  • 21-40: Monitor - watch for changes
  • 41-60: Suspicious - investigate further
  • 61-80: Likely toxic - consider disavow
  • 81-100: Toxic - add to disavow list

Step 5: Link Velocity Analysis

Analyze the first_seen and last_seen dates to determine:

  • Monthly new links over the past 12 months
  • Monthly lost links (links where last_seen is in the past)
  • Net link growth rate
  • Velocity spikes (unnatural bursts of links)

Healthy velocity patterns:

  • Steady, gradual growth = Natural
  • Correlated with content publishing = Natural
  • Sudden spike then flat = Likely campaign or mention (investigate)
  • Massive spike from low-quality domains = Negative SEO attack (flag immediately)
  • Declining trend = Losing links, need outreach

Step 6: Competitor Comparison

Pull backlink overview for 2-3 competitors and compare:

markdown
## Competitor Backlink Comparison

| Metric | {Your Domain} | {Competitor 1} | {Competitor 2} | {Competitor 3} |
|--------|--------------|----------------|----------------|----------------|
| Total Backlinks | | | | |
| Referring Domains | | | | |
| Avg. Domain AS | | | | |
| Follow % | | | | |
| Link Growth (6mo) | | | | |

Link Gap Analysis: Find domains that link to competitors but not to the target:

  1. Pull top 100 referring domains for each competitor
  2. Filter out domains already linking to the target
  3. Sort by authority score
  4. These are outreach targets

Step 7: Generate Disavow File

If toxic links are found, generate a Google Disavow file:

# Disavow file for {domain}
# Generated: {date}
# Total entries: {count}

# Individual URLs (confirmed toxic)
{url1}
{url2}

# Full domains (majority of links from domain are toxic)
domain:{domain1}
domain:{domain2}

Disavow rules:

  • Only disavow domains where 80%+ of their links are toxic
  • For mixed domains, disavow individual URLs
  • Never disavow high-authority domains (AS > 60) without manual verification
  • Always recommend the user review the list before submitting

Output Report Format

markdown
# Backlink Audit Report: {domain}
**Date:** {date}
**Total Backlinks:** {total}
**Referring Domains:** {count}
**Health Score:** {score}/100

## Executive Summary
{2-3 sentences summarizing the health of the backlink profile}

## Profile Overview
{Overview table from Step 1}

## Referring Domain Quality

### Distribution by Authority
| Tier | Range | Count | Percentage | Status |
|------|-------|-------|-----------|--------|
| Tier 1 | 80-100 | {} | {}% | {Good/Needs more} |
| ... | ... | ... | ... | ... |

### Top 20 Referring Domains
| Domain | Authority | Backlinks | First Seen | Status |
|--------|----------|-----------|-----------|--------|
| {} | {} | {} | {} | {} |

## Anchor Text Analysis

### Distribution
| Type | Percentage | Status |
|------|-----------|--------|
| Branded | {}% | {Healthy/Over/Under} |
| ... | ... | ... |

### Top 20 Anchors
| Anchor | Domains | Backlinks | Type |
|--------|---------|-----------|------|
| {} | {} | {} | {} |

## Toxic Link Analysis

### Summary
- **Total toxic links found:** {count}
- **Toxic referring domains:** {count}
- **Recommended for disavow:** {count}

### Toxic Links Detail
| Source URL | Anchor | Toxicity Score | Signals |
|-----------|--------|---------------|---------|
| {} | {} | {}/100 | {} |

## Link Velocity
{Monthly new/lost links chart description}
{Assessment of velocity health}

## Competitor Comparison
{Comparison table}

## Link Building Opportunities

### Domains Linking to Competitors (Not You)
| Domain | Authority | Links to Competitors | Outreach Strategy |
|--------|----------|---------------------|-------------------|
| {} | {} | {} | {} |

### Recommended Link Building Tactics
1. **{Tactic}** - {Description, estimated effort, expected results}
2. ...

## Action Items

### Immediate (This Week)
1. {Specific action}

### Short Term (This Month)
1. {Specific action}

### Ongoing
1. {Specific action}

## Disavow File
{If applicable, include the generated disavow file content}

Notes

  • SemRush API has rate limits. Space out calls if making many requests.
  • Backlink data may be up to 30 days old. Note this in the report.
  • Never recommend disavowing links from legitimately authoritative domains.
  • For new sites (< 6 months), a small backlink profile is normal, not a problem.
  • Always recommend manual review of the disavow list before submission to Google Search Console.
  • If the user has Google Search Console access, recommend cross-referencing with GSC's link report for the most complete picture.

常见问题

Backlink Audit AI 技能有什么作用?

Audit a domain's backlink profile using the SemRush API. Use when the user says "audit backlinks", "check my backlinks", "backlink analysis", "link profile", "toxic links", "disavow", "link building opportunities", "referring domains", "anchor text", or asks about a site's link authority.

为什么在 TypingMind 中使用 Backlink Audit?

因为您只需安装一次,就能搭配任何模型使用。Backlink Audit 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Backlink Audit?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/OpenClaudia/openclaudia-skills/tree/main/skills/backlink-audit。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Backlink Audit?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Backlink Audit 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Backlink Audit 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Backlink Audit AI 技能免费吗?

是的。OpenClaudia 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇