seo-ahrefs

seo-ahrefs is a skill for Claude Code from joaoguirunas/team-os. It costs 61 tokens per session (720 once invoked), scanned B, original, MIT.

An Ahrefs API analyst that reads backlink, referring-domain, organic-keyword, and content-explorer data through a tested server connection. Ahrefs is an SEO data service for analysing search visibility and links.

In plain words
What is it for?
It helps inspect referring domains, backlinks, ranking keywords, and content-explorer data when carrying out SEO or link research.
Why use it?
It provides a way to bring Ahrefs data into analysis and combine it with backlink results from another source for greater confidence.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It helps inspect referring domains, backlinks, ranking keywords, and content-explorer data when carrying out SEO or link research.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joaoguirunas/team-os/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 joaoguirunas/team-os --skill seo-ahrefs
Clone the repo
git clone --depth 1 https://github.com/joaoguirunas/team-os

Made for: Claude Code.

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/joaoguirunas/team-os/seo-ahrefs/github.svg)](https://agentmods.dev/skills/joaoguirunas/team-os/seo-ahrefs)
Your own site
<a href="https://agentmods.dev/skills/joaoguirunas/team-os/seo-ahrefs"><img src="https://agentmods.dev/badge/skills/joaoguirunas/team-os/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/joaoguirunas/team-os/seo-ahrefs"><img src="https://agentmods.dev/badge/skills/joaoguirunas/team-os/seo-ahrefs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 720 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00061 $0.00720
Opus 5.5 $0.00024 $0.00288
Sonnet 5.5 $0.00012 $0.00144
Haiku 4.5 $0.00006 $0.00072

Measured 20d ago against content hash f8b3cdc7d52e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

seo-ahrefs scanned grade B with 1 finding 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 20d 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 MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

- Register the Ahrefs MCP server in the project's `.mcp.json` (or `claude mcp add ahrefs -e API_KEY=<token> -- npx -y @ahrefs/[email protected]`), passing the token through the `API_KEY` environment variable. No installer scrip
.claude/skills/seo-ahrefs/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 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

  • An Ahrefs API token (https://ahrefs.com/api).
  • Register the Ahrefs MCP server in the project's .mcp.json (or claude mcp add ahrefs -e API_KEY=<token> -- npx -y @ahrefs/[email protected]), passing the token through the API_KEY environment variable. No installer script ships with this pack.
  • 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 Ahrefs MCP server is not configured and point to the .mcp.json / claude mcp add setup 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_PROJECT_DIR}/.claude/skills/seo/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 · 58 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. 20d ago Changed · +4 lines · +9 tokens per session scan A → B f8b3cdc7d52e
  2. 25d ago First seen · 54 lines · 52 tokens per session scan A c0721bf8f7d3

Subscribe to this mod's changes

seo-ahrefs is a skill published in the GitHub repository joaoguirunas/team-os (4 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 720 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.

Related

Other skills, from other repositories

jsonl-log-analyzer

Analyze large JSONL log files using schema-aware partitioned analysis. Discovers field schema, generates tailored jq extraction recipes, and orchestrates parallel chunk analysts with synthesis. Use when processing JSONL logs exceeding context limits, performing log analytics, or investigating incident logs.

zircote-plugins/claude-team-orchestration · 58 tokens

orchestration-patterns

Apply proven orchestration patterns for agent teams including parallel specialists, pipelines, swarms, research+implementation, plan approval, and multi-file refactoring. Use when choosing a team structure, designing workflows, or implementing specific coordination patterns.

zircote-plugins/claude-team-orchestration · 52 tokens

task-system

Manage shared task lists for agent teams including creating tasks, setting dependencies, claiming work, and tracking progress. Use when creating work items, building task pipelines, coordinating task ownership, or managing task dependencies.

zircote-plugins/claude-team-orchestration · 43 tokens

spawn-backends

Configure how teammate agents run including in-process, tmux, and iTerm2 backends. Use when choosing a display mode, setting up split panes, troubleshooting backend issues, or configuring teammateMode.

zircote-plugins/claude-team-orchestration · 44 tokens

error-handling

Debug and recover from agent team errors including common errors, hooks for quality gates, known limitations, and recovery strategies. Use when encountering team errors, enforcing quality gates with hooks, understanding limitations, or debugging agent issues.

zircote-plugins/claude-team-orchestration · 47 tokens

messaging

Send messages between agents using SendMessage including direct messages, broadcasts, shutdown requests/responses, and plan approvals. Use when communicating between agents, understanding message formats, or handling structured protocol messages.

zircote-plugins/claude-team-orchestration · 41 tokens