Backlink Audit
Analyze website backlinks to identify toxic links, missed opportunities, and improve SEO performance.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add backlink-audit npx -- -y @trustedskills/backlink-audit
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"backlink-audit": {
"command": "npx",
"args": [
"-y",
"@trustedskills/backlink-audit"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables an AI agent to perform backlink audits for websites using either the Semrush or Ahrefs API. It analyzes a domain's backlink profile, identifying potential toxic links and uncovering opportunities for link building to improve SEO performance. The skill leverages API calls to retrieve data about backlinks, referring domains, anchor text distribution, and indexed pages.
When to use it
- SEO Analysis: To understand the current backlink profile of a website and identify areas for improvement.
- Competitive Research: To analyze the backlink profiles of competitors and discover potential link building opportunities.
- Toxic Link Identification: To pinpoint potentially harmful backlinks that could negatively impact SEO rankings.
- Link Building Strategy: To inform and guide link acquisition efforts by identifying high-value referring domains.
- Website Health Check: As part of a broader website health audit to assess the quality and quantity of backlinks.
Key capabilities
- Semrush API Integration: Utilizes Semrush's backlink data endpoints for analysis.
- Ahrefs API Integration: Provides an alternative using Ahrefs’ backlink data if Semrush access is unavailable.
- Backlinks Overview: Retrieves a summary of key backlink metrics (total backlinks, referring domains, etc.).
- Detailed Backlink List: Provides a list of individual backlinks with details like source URL, anchor text, and last seen date.
- Referring Domain Analysis: Identifies referring domains and their authority scores.
- Anchor Text Distribution: Analyzes the distribution of anchor text used in backlinks.
- Indexed Pages Report: Shows pages on a domain receiving backlinks.
Example prompts
- "Perform a backlink audit for example.com using Semrush."
- "Analyze the referring domains and their authority scores for competitorwebsite.net."
- "Show me the anchor text distribution for my website, focusing on the most common phrases."
- "Can you identify potential toxic backlinks to mydomain.com?"
Tips & gotchas
- API Key Required: This skill requires a valid Semrush API key (SEMRUSH_API_KEY) or an Ahrefs API key (AHREFS_API_KEY). You'll need to set these as environment variables.
- Semrush Priority: If both keys are available, the skill prioritizes using the Semrush API first.
- Data Limits: The endpoints have display limits (e.g., 100 results per page) which may require multiple calls or adjustments to retrieve a complete dataset.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.