seo-ahrefs

seo-ahrefs is a skill for Claude Code from Infrasity-Labs/dev-gtm-claude-skills. It costs 46 tokens per session (526 once invoked), scanned A, original, MIT.

An SEO research tool that reads live Ahrefs data about a website or topic. Ahrefs is a service that measures search visibility, backlinks, keywords and content performance.

In plain words
What is it for?
Checking domain ratings, referring domains, backlinks, anchor text, organic keywords, rankings by country and popular content on a topic.
Why use it?
It removes the need to collect these search-engine metrics manually from separate reports. It also identifies which sites link to a page and which searches bring it traffic.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the marketing-skills plugin — 116 skills, 8 commands, 23 agents, 1 hook shipped together , and of writing-skills

Good fit Checking domain ratings, referring domains, backlinks, anchor text, organic keywords, rankings by country and popular content on a topic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/infrasity-labs/dev-gtm-claude-skills/seo-ahrefs
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 Infrasity-Labs/dev-gtm-claude-skills --skill seo-ahrefs
Clone the repo
git clone --depth 1 https://github.com/Infrasity-Labs/dev-gtm-claude-skills

Made for: Claude Code.

Or install marketing-skills, the plugin that ships this one along with the rest of its 116 skills, 8 commands, 23 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/infrasity-labs/dev-gtm-claude-skills/seo-ahrefs/github.svg)](https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/seo-ahrefs)
Your own site
<a href="https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/seo-ahrefs"><img src="https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/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/infrasity-labs/dev-gtm-claude-skills/seo-ahrefs"><img src="https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/seo-ahrefs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 526 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.
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.00046 $0.00526
Opus 5 $0.00023 $0.00263
Sonnet 5 $0.00009 $0.00105
Haiku 4.5 $0.00005 $0.00053

Measured 12d ago against content hash 9222142fbff3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 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.

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.

.claude/extensions/ahrefs/skills/seo-ahrefs/SKILL.md · 52 lines

What it actually says

seo-ahrefs

Live Ahrefs data via the official @ahrefs/mcp server.

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 Spam Score 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 python scripts/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.

This is the same workflow the seo-dataforseo skill uses.

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 · 52 lines · 46 tokens per session scan A 9222142fbff3

Subscribe to this mod's changes

seo-ahrefs is a skill published in the GitHub repository Infrasity-Labs/dev-gtm-claude-skills (124 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 526 once invoked, about $0.0002 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

geo-audit

Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit across AI citability, platform analysis, technical infrastructure, content quality, and schema markup. Produces a composite GEO Score (0-100) with prioritized action plan.

techhorizonlabs/thl-open · 60 tokens

geo

GEO-first SEO analysis tool. Optimizes websites for AI-powered search engines (ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews) while maintaining traditional SEO foundations. Performs full GEO audits, citability scoring, AI crawler analysis, llms.txt generation, brand mention scanning, platform-specific…

techhorizonlabs/thl-open · 139 tokens

geo-brand-mentions

Brand mention and authority scanner for AI visibility. Analyzes brand presence across platforms that AI models rely on for entity recognition and citation decisions. Produces a Brand Authority Score (0-100) with platform-specific recommendations.

techhorizonlabs/thl-open · 49 tokens

geo-llmstxt

Analyzes and generates llms.txt files -- the emerging standard for helping AI systems understand website structure and content. Can validate existing llms.txt files or generate new ones from scratch by crawling the site.

techhorizonlabs/thl-open · 46 tokens

agent-readiness-scan

Use when a client audit, GEO/AI-visibility snapshot, or remediation re-scan needs the Cloudflare agent-readiness score from isitagentready.com — e.g. Theo client audits, "is the site agent-ready", markdown negotiation / MCP / llms.txt / Content-Signal checks, or tracking score deltas after Tier 0/1 fixes.

techhorizonlabs/thl-open · 79 tokens

found-by-ai

Measure whether AI engines actually recommend a business when buyers ask. Runs the free live scan at areyoufoundbyai.com (no auth, 60s), reads the verdict and the rivals AI names instead, hands back the fix plan, and wires monitored sites into a fix-and-re-measure loop over MCP.

techhorizonlabs/thl-open · 67 tokens