# Seo Ahrefs Anchor Analysis

> >

- **Type:** Skill
- **Install:** `agentstack add skill-lionkiii-claude-seo-skills-seo-ahrefs-anchor-analysis`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [lionkiii](https://agentstack.voostack.com/s/lionkiii)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [lionkiii](https://github.com/lionkiii)
- **Source:** https://github.com/lionkiii/claude-seo-skills/tree/main/skills/seo-ahrefs-anchor-analysis

## Install

```sh
agentstack add skill-lionkiii-claude-seo-skills-seo-ahrefs-anchor-analysis
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Ahrefs Anchor Text Analysis

Fetches the anchor text distribution for a domain's backlink profile from Ahrefs,
sorted by referring domains count, and assesses the health of the anchor profile.

## References

@skills/seo/references/mcp-degradation.md
@skills/seo/references/ahrefs-api-reference.md

## Inputs

- `domain`: The bare domain to analyze (e.g., `example.com`). Strip `https://`,
  `http://`, and trailing slashes before passing to Ahrefs tools.

## MCP Check

Before proceeding, verify Ahrefs MCP is available:

1. Use ToolSearch with query `+ahrefs`
2. If tools are returned → Ahrefs MCP is available, proceed to Execution
3. If no tools returned → display the Ahrefs MCP error template from
   `references/mcp-degradation.md` and stop

## Execution

**Step 1 — Call Anchors**

Call `mcp__claude_ai_ahrefs__site-explorer-anchors` with:
- `target`: the bare domain (e.g., `example.com`)

Returns per anchor: `anchor` (text), `referring_domains` count, `backlinks` count

**Step 2 — Calculate Percentages**

- Sum all `referring_domains` across all anchors to get the total
- Calculate each anchor's `% of Total` = (`referring_domains` / total) * 100
- Sort by `referring_domains` descending

**Step 3 — Health Assessment**

Classify the anchor text distribution using these thresholds:

- **Branded anchors** (domain name, brand name, company name):
  - >40% of referring domains = healthy
  - 10% = over-optimized risk (potential Google penalty signal)
  - 3–10% = acceptable range
- **Generic anchors** ("click here", "here", "this link", "read more", naked URLs):
  - >30% = may indicate low-quality link profile
  - 10–30% = normal range
- **Diverse distribution** (no single non-branded anchor >5%) = natural profile signal

## Output Format

```
## Ahrefs Anchor Text Analysis: example.com

### Anchor Text Distribution

| Anchor Text | Referring Domains | Backlinks | % of Total |
|-------------|------------------|-----------|------------|
| example.com | 1,420 | 3,100 | 44.2% |
| brand name | 580 | 890 | 18.1% |
| seo tools | 210 | 340 | 6.5% |
| click here | 180 | 210 | 5.6% |
| best seo software | 95 | 112 | 3.0% |

**Total referring domains across all anchors:** 3,210

### Profile Health Assessment

| Signal | Value | Status |
|--------|-------|--------|
| Branded anchors (example.com + brand name) | 62.3% | HEALTHY (>40%) |
| Exact-match keyword anchors (seo tools, best seo software) | 9.5% | ACCEPTABLE (` for a full static SEO analysis without live Ahrefs data
- Use `/seo technical ` for technical SEO issues without backlink/keyword data

**To connect Ahrefs MCP:**
- Ensure the Ahrefs MCP is registered at user scope in ~/.claude/mcp.json
- Verify with: cat ~/.claude/mcp.json | grep -i ahrefs
- Ahrefs MCP must be registered at user scope (not project scope) to work in subagents
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [lionkiii](https://github.com/lionkiii)
- **Source:** [lionkiii/claude-seo-skills](https://github.com/lionkiii/claude-seo-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-lionkiii-claude-seo-skills-seo-ahrefs-anchor-analysis
- Seller: https://agentstack.voostack.com/s/lionkiii
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
