Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add lionkiii/claude-seo-skills --skill seo-ahrefs-anchor-analysisgit clone --depth 1 https://github.com/lionkiii/claude-seo-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lionkiii/claude-seo-skills/seo-ahrefs-anchor-analysis)<a href="https://agentmods.dev/skills/lionkiii/claude-seo-skills/seo-ahrefs-anchor-analysis"><img src="https://agentmods.dev/badge/skills/lionkiii/claude-seo-skills/seo-ahrefs-anchor-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lionkiii/claude-seo-skills/seo-ahrefs-anchor-analysis"><img src="https://agentmods.dev/badge/skills/lionkiii/claude-seo-skills/seo-ahrefs-anchor-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.01061 |
| Opus 5 | $0.00030 | $0.00531 |
| Sonnet 5 | $0.00012 | $0.00212 |
| Haiku 4.5 | $0.00006 | $0.00106 |
Grade C, and why
seo-ahrefs-anchor-analysis scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- Verify with: cat ~/.claude/mcp.json | grep -i ahrefs Reads MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
- Verify with: cat ~/.claude/mcp.json | grep -i ahrefs How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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). Striphttps://,http://, and trailing slashes before passing to Ahrefs tools.
MCP Check
Before proceeding, verify Ahrefs MCP is available:
- Use ToolSearch with query
+ahrefs - If tools are returned → Ahrefs MCP is available, proceed to Execution
- If no tools returned → display the Ahrefs MCP error template from
references/mcp-degradation.mdand 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_domainsacross all anchors to get the total - Calculate each anchor's
% of Total= (referring_domains/ total) * 100 - Sort by
referring_domainsdescending
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% = may indicate over-reliance on keyword anchors
-
- Exact-match keyword anchors (exact target keyword with no brand):
-
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 (<10%) |
| Generic anchors (click here, etc.) | 5.6% | HEALTHY (<30%) |
| Anchor diversity | 45+ unique anchors | NATURAL |
**Overall:** Healthy anchor profile. Branded anchors dominate at 62.3%, with
acceptable exact-match at 9.5%. No over-optimization signals detected.
### Recommendations
- Maintain branded anchor dominance — continue building brand mentions
- Monitor exact-match anchors — approaching 10% threshold; avoid actively
building more exact-match links
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 123 lines · 59 tokens per session scan C 8aaf14b1f5d3
seo-ahrefs-anchor-analysis is a skill published in the GitHub repository lionkiii/claude-seo-skills (20 stars, last pushed 3mo ago), licensed MIT. It adds 59 tokens to every session and 1,061 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (reads agent configuration directories, reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
seo-images
Image SEO audit for a URL or domain. Pulls raw image inventory via Firecrawl, then audits alt-text quality, modern-format coverage (WebP / AVIF), responsive sizing (srcset / sizes), lazy-loading and LCP signals (loading, fetchpriority, decoding), CLS-safe dimensions, descriptive file names, and ImageObject JSON-LD.…
seo-technical-audit
Focused one-shot technical SEO audit for a domain. Crawlability, indexability, security, mobile, structured data, JS rendering — single-pass deliverable, not a diff. Distinct from seo-drift (which tracks changes over time) and from seo-page (which audits keywords/traffic for one URL, not technical health). Use when…
seo-api
DataForSEO API integration architect for developers. Covers the entire DataForSEO surface — DataForSEO Labs (ranked keywords, keyword ideas/suggestions/related, domain rank overview, competitors, domain/page intersection, subdomains, relevant pages, bulk keyword difficulty, bulk traffic estimation, search intent…
seo-ads
Paid-search competitive landscape for a domain or keyword. Reconstructs the paid footprint keyword-by-keyword from live SERP ad blocks — advertisers, ad copy patterns, who else bids on the same keywords, CPC/competition signals, SERP shopping/ad-pack visibility — and produces a competitive ads brief plus a recommended…
seo-backlinks-profile
Full backlink profile for a domain — referring domains, anchor text distribution, authority distribution, IP and subnet diversity, growth/decay trend, toxic-candidate flagging. Distinct from seo-backlink-gap (which is gap-vs-competitor only). Produces a profile health score and reviewable disavow candidate list (never…
seo-content-audit
E-E-A-T + CITE quality audit for an EXISTING piece of content. Scores Experience, Expertise, Authoritativeness, Trustworthiness, and citation-readiness for AI search; surfaces veto items that block publication; produces a publish / publish-with-fixes / no-publish verdict. Distinct from seo-content-brief (produces a…