seo-ahrefs

seo-ahrefs is a skill for Claude Code from AgriciDaniel/claude-seo. It costs 52 tokens per session (591 once invoked), scanned A, original, MIT.

A connection to Ahrefs, an SEO research service that provides data about links, search rankings, and competing content. It retrieves live information about websites and topics through the Ahrefs API.

In plain words
What is it for?
Use it to review website authority, referring domains, backlinks, organic keywords, traffic by country, and top content for a topic.
Why use it?
It avoids collecting backlink, keyword, and competitor data by hand, while making the source of each reported metric clear.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-seo plugin — 31 skills, 18 agents, 1 hook shipped together

Good fit Use it to review website authority, referring domains, backlinks, organic keywords, traffic by country, and top content for a topic.

Compare 6 skills from other repositories ↓
About the project

Claude SEO is an open-source Claude Code plugin that runs specialized agents and skills to audit websites across technical SEO, content quality, structured data, AI-search optimization, local and e-commerce SEO, and international SEO. SEO practitioners use it to produce prioritized recommendations based on primary-source guidance, with optional extensions for external data and crawling.

AgriciDaniel/claude-seo · 16,757 stars · on GitHub · claude-seo.md

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add AgriciDaniel/claude-seo
Claude Code
/plugin install claude-seo

Made for: Claude Code.

Or install claude-seo, the plugin that ships this one along with the rest of its 31 skills, 18 agents, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agricidaniel/claude-seo/seo-ahrefs"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-seo/seo-ahrefs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 591 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.00591
Opus 5 $0.00026 $0.00296
Sonnet 5 $0.00010 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured today against content hash 92fe17088164, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

seo-ahrefs scanned grade A with 0 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

extensions/ahrefs/skills/seo-ahrefs/SKILL.md · 54 lines

How it starts

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

seo-ahrefs

Live Ahrefs data via the tested @ahrefs/[email protected] server. Package check (2026-07-10): verify the current Ahrefs MCP package source before changing this tested version.

Prerequisites

  • Run extensions/ahrefs/install.sh (Linux/macOS) or install.ps1 (Windows) before using this skill.
  • An Ahrefs API token (https://ahrefs.com/api).
  • Node 18+ on $PATH for the MCP server.

Before calling any Ahrefs tool, verify the MCP is connected by checking that any Ahrefs MCP tool is available in this session. If tools are not available, tell the user the extension is not installed and provide the install command above.

Routing

Command Action
/seo ahrefs metrics <url> Domain / URL rating, referring domain count, organic traffic estimate
/seo ahrefs backlinks <url> Top referring domains, anchor distribution, follow/nofollow ratio
/seo ahrefs organic <url> Organic keywords, ranking distribution, traffic by country
/seo ahrefs content <topic> Content Explorer top results, social shares, referring domains

Output conventions

  • Cite the data source on every metric: "Ahrefs (live, confidence 1.00)".
  • When Ahrefs and Moz disagree on the same metric, trust Ahrefs and note the discrepancy in the report.
  • Toxic link assessment: combine Ahrefs backlink quality signals with the existing seo-backlinks Common Crawl + verify crawler signals.

Cross-skill delegation

  • For multi-source confidence weighting across Moz + Bing + Common Crawl + Ahrefs, hand back to seo-backlinks.
  • For SERP-feature analysis where Ahrefs and DataForSEO overlap, prefer DataForSEO for live SERP data.

Cost guardrails

Ahrefs API usage is metered per unit. Before running a batch (>= 50 URLs):

  1. Estimate cost with "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run dataforseo_costs.py (the cost-tracker module is generic and supports Ahrefs unit accounting).
  2. Surface the estimate to the orchestrator.
  3. Log actual cost after each call.

Read the full file on GitHub · 54 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. today Changed 92fe17088164
  2. 12d ago First seen · 54 lines · 52 tokens per session scan A ea83a54d8499

Subscribe to this mod's changes

seo-ahrefs is a skill published in the GitHub repository AgriciDaniel/claude-seo (16,757 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 591 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. 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

blog

Full-lifecycle blog engine with 31 sub-skills, 12 content templates, 5-category 100-point scoring, and 5 specialized agents. Routes user requests to the right sub-skill: writing, rewriting, analysis, outlines, audits, schema, charts, images, repurposing, AI citation SEO, FLOW framework prompts, topic-cluster…

AgriciDaniel/claude-blog · 202 tokens

blog-cluster

Semantic topic cluster planning and automated execution engine for claude-blog. Performs SERP-based keyword research, groups keywords by search intent and SERP overlap, builds a hub-and-spoke cluster architecture, generates an interactive SVG cluster map, and executes the full cluster by orchestrating blog-write calls…

AgriciDaniel/claude-blog · 135 tokens

blog-rewrite

Rewrite and optimize existing blog posts for Google SEO (May 2026 Core Update, March 2026 core/spam context, June 2026 spam context, E-E-A-T) and AI citation visibility as one SEO discipline. Full rewrite for both Google rankings AND AI citations. For AI-citation-only audit (no Google work), use blog-geo instead.…

AgriciDaniel/claude-blog · 176 tokens

blog-discourse

Research what people are actually saying about a topic in the last 30 days across Reddit, X / Twitter, YouTube, Hacker News, dev.to, Medium, and other public discourse platforms. API-free; uses WebSearch with platform-targeted site operators plus recency filters. Produces DISCOURSE.md (a structured brief) and JSON…

AgriciDaniel/claude-blog · 168 tokens

blog-seo-check

Post-writing SEO validation with pass/fail checklist covering title tag length and keyword placement, meta description quality, heading hierarchy and keyword density, internal/external link audit with anchor text analysis, canonical URL verification, Open Graph meta tags (og:title, og:description, og:image), Twitter…

AgriciDaniel/claude-blog · 137 tokens

blog-cannibalization

Detect keyword cannibalization across blog posts by extracting primary keywords from titles and headings, clustering semantically similar targets, and flagging posts competing for the same search intent. Supports local-only mode (grep-based) and DataForSEO API mode (Page Intersection endpoint at $0.01/call). Outputs…

AgriciDaniel/claude-blog · 106 tokens