Agent skill · marketing growth · composiohq

Ahrefs Automation

Automate SEO research with Ahrefs -- analyze backlink profiles, research keywords, track domain metrics history, audit organic rankings, and perform batch URL analysis through the Composio Ahrefs integration.

Why this skill is useful

Adds specific commands and workflows for automating SEO analysis using Ahrefs that the AI wouldn't reliably generate on its own.

What it needs

Requires ahrefs account access. About 4k tokens when loaded. Last updated 2026-07-24. 71,973 stars on the source repository.

What this skill does

Ahrefs Automation Run Ahrefs SEO analytics directly from Claude Code. Analyze backlink profiles, research keywords, track domain authority over time, audit organic keyword rankings, and batch-analyze multiple URLs without leaving your terminal. Toolkit docs: composio.dev/toolkits/ahrefs --- Setup 1. Add the Composio MCP server to your configuration: 2. Connect your Ahrefs account when prompted. The agent will provide an authentication link. 3. Most tools require a target (domain or URL) and a country code (ISO 3166-1 alpha-2). Some also require a date in YYYY-MM-DD format. --- Core Workflows 1. Site Explorer Metrics Retrieve comprehensive SEO metrics for a domain including backlink counts, referring domains, organic keyword rankings, and traffic estimates. Tool: AHREFSRETRIEVESITEEXPLORERMETRICS Key parameters: target (required) -- domain or URL to analyze date (required) -- metrics date in YYYY-MM-DD format country -- ISO country code (e.g., us, gb, de) mode -- scope: exact, prefix, domain, or subdomains (default) protocol -- both, http, or https volumemode -- monthly or average Example prompt: "Get Ahrefs site metrics for example.com as of today in the US" --- 2. Historical Metrics Tracking Track how a domain's SEO metrics have changed over time for trend analysis and competitive benchmarking. Tools: AHREFSRETRIEVESITEEXPLORERMETRICSHISTORY, AHREFSDOMAINRATINGHISTORY For full metrics history: target (required) -- domain to track datefrom (required) -- start date in YYYY-MM-DD dateto -- end date historygrouping -- daily, weekly, or monthly (default) select -- columns like date,orgcost,orgtraffic,paidcost,paidtraffic For Domain Rating (DR) history: target (required), datefrom (required), dateto, historygrouping Example prompt: "Show me the monthly Domain Rating history for example.com over the last year" --- 3. Backlink Analysis Retrieve a comprehensive list of backlinks including source URLs, anchor text, link attributes, and referring domain metrics. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills composiohq/ahrefs-automation

View the source on GitHub

Browse the @skills marketplace