Agent skill

SEO Ahrefs

by AgriciDaniel in AgriciDaniel/claude-seo

Ahrefs API analyst (extension). An agent skill from AgriciDaniel/claude-seo.

MITAuto-check passedMarketing & SEO

Install SEO Ahrefs

skills CLI
$ npx skills add AgriciDaniel/claude-seo --skill seo-ahrefs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AgriciDaniel/claude-seo seo-ahrefs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-seo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/extensions/ahrefs/skills/seo-ahrefs .claude/skills/seo-ahrefs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
seo-ahrefs
GitHub stars
19k
Used in
1 other repo
Token cost
~611 tokens
SKILL.md length
272 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
MIT

At a glance

Ahrefs API analyst (extension). An agent skill from AgriciDaniel/claude-seo.

  • Works in 3 steps: Estimate cost with… → Surface the estimate to the orchestrator. → Log actual cost after each call.
  • Tasks that involve Link building
  • SKILL.md covers Prerequisites, Routing, Output conventions and Cross-skill delegation, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

SEO Ahrefs is an agent skill from AgriciDaniel/claude-seo. Ahrefs API analyst (extension). Reads referring domains, backlinks, organic keywords, and content explorer data via the tested @ahrefs/mcp@0.0.11 server. Pairs with seo-backlinks for multi-source confidence weighting.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Tested with @ahrefs/mcp@0.0.11 (installed by extensions/ahrefs/install.sh).

It sits in Marketing & SEO, covering Link building and MCP servers. It works with Ahrefs and Model Context Protocol. The repository describes itself as: Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP… The licence is MIT.

When your agent uses it

  • Tasks that involve Link building
  • Tasks that involve MCP servers

Example prompts

  • “Use the seo-ahrefs skill to ahref API analyst (extension). An agent skill from AgriciDaniel/claude-seo”
  • “/seo-ahrefs”

Requirements

  • Compatibility (from SKILL.md): Tested with @ahrefs/mcp@0.0.11 (installed by extensions/ahrefs/install.sh).

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 4b99de2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • ahrefs.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Tested with @ahrefs/mcp@0.0.11 (installed by extensions/ahrefs/install.sh).

    From compatibility in the SKILL.md frontmatter.

Context cost

SEO Ahrefs loads about 611 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 272 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~611

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AgriciDaniel/claude-seo at commit 4b99de2, republished under its MIT licence (© AgriciDaniel). 272 words, ~611 tokens.

Download SKILL.mdSave it as .claude/skills/seo-ahrefs/SKILL.md (or your agent's skills folder).
name
seo-ahrefs
description
Ahrefs API analyst (extension). Reads referring domains, backlinks, organic keywords, and content explorer data via the tested @ahrefs/mcp@0.0.11 server. Pairs with seo-backlinks for multi-source confidence weighting.
compatibility
Tested with @ahrefs/mcp@0.0.11 (installed by extensions/ahrefs/install.sh).
metadata.version
2.4.2

seo-ahrefs

Live Ahrefs data via the tested @ahrefs/mcp@0.0.11 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

CommandAction
/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.

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

© AgriciDaniel, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in extensions/ahrefs/skills/seo-ahrefs of AgriciDaniel/claude-seo.

Open the folder on GitHubat commit 4b99de2

Used in 1 other repository

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in AgriciDaniel/claude-seo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

SEO Ahrefs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SEO Ahrefs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SEO Ahrefs this skillAgriciDaniel/claude-seo19k1 repos~611Automated safety check: PassMIT
SEO APIseranking/seo-skills161—~4.1kAutomated safety check: PassMIT
SEO Backlink Auditrampstackco/claude-skills945—~2kAutomated safety check: PassMIT
SEO Dataforseohashgraph-online/awesome-codex-plugins1.3k—~4.5kAutomated safety check: NotesMIT
Find AI Directoriesjeremylongshore/tons-of-skills-marketplace2.8k—~3.6kAutomated safety check: NotesMIT
Find MCP Directoriesjeremylongshore/tons-of-skills-marketplace2.8k—~3.4kAutomated safety check: NotesMIT

Similar skills

  • SEO API

    seranking/seo-skills

    SE Ranking API integration architect. An agent skill from seranking/seo-skills.

    161 GitHub stars~4.1k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • SEO Backlink Audit

    rampstackco/claude-skills

    Audit a backlink profile using Ahrefs MCP data: profile health, anchor text distribution, toxic link identification, lost link reclamation, and gap analysis against competitors.

    945 GitHub stars~2k tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed
  • SEO Dataforseo

    hashgraph-online/awesome-codex-plugins

    Live SEO data via DataForSEO API credentials. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~4.5k tokensUpdated today
    Marketing & SEOAuto-check: notes
  • Find AI Directories

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses whenever the user wants to find, rank, or shortlist directories and listing sites where they can submit an AI product — an AI tool, AI app, AI agent, or agent skill / plugin…

    2.8k GitHub stars~3.6k tokensUpdated today
    Marketing & SEOAuto-check: notes
  • Find MCP Directories

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses whenever the user wants to find, rank, or shortlist directories and registries where they can submit or list an MCP server (Model Context Protocol server) — to get backlinks…

    2.8k GitHub stars~3.4k tokensUpdated today
    Marketing & SEOAuto-check: notes
  • Find Product Directories

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses whenever the user wants to find, rank, or shortlist directories, listing sites, or launch platforms where they can submit a software product, SaaS, app, tool, or startup — to…

    2.8k GitHub stars~4.4k tokensUpdated today
    Marketing & SEOAuto-check: notes

More from AgriciDaniel/claude-seo

All 33 skills in this repo
  • Hreflang and International SEO

    AgriciDaniel/claude-seo

    Audits, validates and generates hreflang tags for multi-language and multi-region sites in HTML, HTTP headers or XML sitemaps, flagging common code and return-tag mistakes.

    19k GitHub starsUsed in 5 repos~3.4k tokens
    Auto-check passed
  • Google SEO APIs

    AgriciDaniel/claude-seo

    Pulls real Google data for SEO work: Search Console, PageSpeed Insights, CrUX field data, the Indexing API and GA4 organic traffic, through /seo google commands.

    19k GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • SEO Keyword Clustering

    AgriciDaniel/claude-seo

    Clusters keywords by how much their search results overlap and designs a hub-and-spoke content plan with an internal link matrix and an interactive cluster map.

    19k GitHub starsUsed in 2 repos~3.3k tokens
    Auto-check passed
  • SEO Content Brief Generator

    AgriciDaniel/claude-seo

    Builds research-backed SEO content briefs with competitor scoring, per-section word counts and page-type templates, for new pages or improving existing ones.

    19k GitHub starsUsed in 2 repos~2.6k tokens
    Auto-check passed
  • FLOW SEO Framework

    AgriciDaniel/claude-seo

    Brings the FLOW framework's stage-specific SEO prompts into the agent, from keyword discovery through backlinks, on-page work and conversion to local SEO, loaded on demand.

    19k GitHub starsUsed in 2 repos~1.4k tokens
    Auto-check passed
  • SEO Image Generator

    AgriciDaniel/claude-seo

    Generates Open Graph previews, blog hero images, product photos and infographics for SEO use through Gemini image tools and the banana extension.

    19k GitHub starsUsed in 2 repos~2.1k tokens
    Auto-check passed

Categories

Questions about SEO Ahrefs

What does SEO Ahrefs do?

Ahrefs API analyst (extension). An agent skill from AgriciDaniel/claude-seo. SEO Ahrefs is an agent skill from AgriciDaniel/claude-seo. Ahrefs API analyst (extension).

When should I use SEO Ahrefs?

SEO Ahrefs fits situations like: tasks that involve Link building; tasks that involve MCP servers.

How do I install SEO Ahrefs in Claude Code?

Run `npx skills add AgriciDaniel/claude-seo --skill seo-ahrefs -a claude-code`. Or copy the skill folder (extensions/ahrefs/skills/seo-ahrefs in AgriciDaniel/claude-seo) into .claude/skills/seo-ahrefs in your project. Claude Code loads it when a task matches its description.

How do I install SEO Ahrefs in Codex?

Run `npx skills add AgriciDaniel/claude-seo --skill seo-ahrefs -a codex`. Or copy the skill folder (extensions/ahrefs/skills/seo-ahrefs in AgriciDaniel/claude-seo) into .agents/skills/seo-ahrefs in your project. Codex loads it when a task matches its description.

Can I use SEO Ahrefs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgriciDaniel/claude-seo --skill seo-ahrefs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/seo-ahrefs, .gemini/skills/seo-ahrefs, .github/skills/seo-ahrefs and .opencode/skills/seo-ahrefs in your project.

What does SEO Ahrefs need to run?

SKILL.md names no scripts, command-line tools or credentials: SEO Ahrefs is instructions for the agent only. Compatibility (from SKILL.md): Tested with @ahrefs/mcp@0.0.11 (installed by extensions/ahrefs/install.sh)..

Does SEO Ahrefs access the network?

SKILL.md names 1 domain. As links in the text: ahrefs.com. This is read from the text; nothing was executed.

Is SEO Ahrefs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does SEO Ahrefs use?

SEO Ahrefs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does SEO Ahrefs use?

About 611 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to SEO Ahrefs?

Skills that share tags, products or a category with SEO Ahrefs: SEO API (seranking/seo-skills, 161 stars), SEO Backlink Audit (rampstackco/claude-skills, 945 stars), SEO Dataforseo (hashgraph-online/awesome-codex-plugins, 1.3k stars) and Find AI Directories (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SEO Ahrefs?

AgriciDaniel (a GitHub user) maintains it in AgriciDaniel/claude-seo, which has 18,627 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 4, 2026.

Source: AgriciDaniel/claude-seo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.