seo-ahrefs-top-pages

seo-ahrefs-top-pages is a skill for Claude Code from lionkiii/claude-seo-skills. It costs 64 tokens per session (1,110 once invoked), scanned C, original, MIT.

A skill that finds the pages on a website receiving the most estimated unpaid search traffic from Ahrefs, an SEO research service. It lists traffic estimates, traffic share, ranking-keyword counts, and each page's top keyword.

In plain words
What is it for?
Use it to retrieve and sort a domain's highest-traffic pages, then calculate the combined traffic share of its top five pages.
Why use it?
It shows which pages bring in search visitors and whether traffic is concentrated in only a few pages. This helps focus SEO analysis on the site's most important pages.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

Part of the claude-seo-skills plugin — 51 skills, 6 agents shipped together

Good fit Use it to retrieve and sort a domain's highest-traffic pages, then calculate the combined traffic share of its top five pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lionkiii/claude-seo-skills/seo-ahrefs-top-pages
Install

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.

Any agent
npx skills add lionkiii/claude-seo-skills --skill seo-ahrefs-top-pages
Clone the repo
git clone --depth 1 https://github.com/lionkiii/claude-seo-skills

Made for: Claude Code.

Or install claude-seo-skills, the plugin that ships this one along with the rest of its 51 skills, 6 agents.

Wrote 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.

agentmods badge for seo-ahrefs-top-pages

README.md
[![agentmods](https://agentmods.dev/badge/skills/lionkiii/claude-seo-skills/seo-ahrefs-top-pages/github.svg)](https://agentmods.dev/skills/lionkiii/claude-seo-skills/seo-ahrefs-top-pages)
Your own site
<a href="https://agentmods.dev/skills/lionkiii/claude-seo-skills/seo-ahrefs-top-pages"><img src="https://agentmods.dev/badge/skills/lionkiii/claude-seo-skills/seo-ahrefs-top-pages/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.

agentmods 80×15 button for seo-ahrefs-top-pages

Your own site · 80×15
<a href="https://agentmods.dev/skills/lionkiii/claude-seo-skills/seo-ahrefs-top-pages"><img src="https://agentmods.dev/badge/skills/lionkiii/claude-seo-skills/seo-ahrefs-top-pages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,110 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.01110
Opus 5 $0.00032 $0.00555
Sonnet 5 $0.00013 $0.00222
Haiku 4.5 $0.00006 $0.00111

Measured 12d ago against content hash e9ba828d2c44, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

seo-ahrefs-top-pages 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
skills/seo-ahrefs-top-pages/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ahrefs Top Pages

Fetches the highest-traffic pages for a domain from Ahrefs, sorted by estimated monthly traffic, with concentration risk analysis.

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 Top Pages

Call mcp__claude_ai_ahrefs__site-explorer-top-pages with:

  • target: the bare domain (e.g., example.com)

Returns per page: url, traffic (estimated monthly visits), traffic_percent (share of total site traffic), keywords (number of ranking keywords), top_keyword

Step 2 — Sort and Analyze

  • Sort by traffic descending (highest-traffic pages first)
  • Calculate cumulative traffic share of top 5 pages:
    • Sum traffic_percent for the top 5 pages
    • If any single page accounts for >30% of traffic → flag as concentration risk
    • If top 5 pages account for >70% of total traffic → flag as concentration risk

Step 3 — Insights

Note the top 5 pages and their combined traffic percentage. Identify concentration risk and recommend diversification if needed.

Output Format

## Ahrefs Top Pages: example.com

### Top Pages by Organic Traffic

| URL | Est. Monthly Traffic | Traffic % | Keywords | Top Keyword |
|-----|---------------------|-----------|----------|-------------|
| /blog/seo-guide | 12,400 | 23.1% | 340 | "seo guide" |
| /tools/keyword-research | 8,900 | 16.6% | 210 | "keyword research tool" |
| / (homepage) | 6,200 | 11.6% | 180 | "brand name" |
| /blog/backlinks | 4,100 | 7.7% | 95 | "how to build backlinks" |
| /pricing | 2,800 | 5.2% | 42 | "seo tool pricing" |

### Concentration Analysis
- **Top page share:** /blog/seo-guide = 23.1% of total traffic
- **Top 5 pages combined:** 64.2% of total site traffic

**Status:** MODERATE CONCENTRATION — top 5 pages drive 64.2% of traffic.
Consider expanding content across more pages to reduce dependency on a small
number of high-traffic URLs.

### Risk Assessment
- No single page exceeds 30% threshold (highest: 23.1%) — acceptable
- Top 5 pages at 64.2% is approaching concentration territory (threshold: 70%)
- Recommended: build 5-10 new high-value pages targeting mid-volume keywords to
  distribute traffic more evenly

### Summary
Total estimated monthly traffic: 53,600 visits across [X] indexed pages.
The top-performing page (/blog/seo-guide) drives 23.1% of all organic traffic
with 340 ranking keywords.

Read the full file on GitHub · 127 lines

Changes

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.

  1. 12d ago First seen · 127 lines · 64 tokens per session scan C e9ba828d2c44

Subscribe to this mod's changes

seo-ahrefs-top-pages is a skill published in the GitHub repository lionkiii/claude-seo-skills (20 stars, last pushed 3mo ago), licensed MIT. It adds 64 tokens to every session and 1,110 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.

Related

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.…

amirjahfar1/automate-seo-with-claude · 225 tokens

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…

amirjahfar1/automate-seo-with-claude · 109 tokens

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…

amirjahfar1/automate-seo-with-claude · 411 tokens

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…

amirjahfar1/automate-seo-with-claude · 113 tokens

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…

amirjahfar1/automate-seo-with-claude · 116 tokens

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…

amirjahfar1/automate-seo-with-claude · 138 tokens