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.

Install

Hot:4

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=composiohq-composio-skills-ahrefs-automation&locale=en&source=copy

Ahrefs Automation

Skill Overview


Run Ahrefs SEO analysis directly in Claude Code to automate backlink analysis, keyword research, domain metric tracking, and batch URL checks—without leaving the terminal.

Use Cases


  • Competitor Analysis: Quickly gather competitors’ SEO metrics, link composition, and naturally ranking keywords, and compare multiple domains’ performance in bulk.

  • Keyword Research & Content Strategy: Find valuable search terms, evaluate keyword difficulty and traffic potential, and support data-driven content creation.

  • Backlink Quality Audits: Filter high-quality backlinks, identify low-quality links, monitor backlink growth trends, and protect your site’s SEO health.
  • Core Features


  • Comprehensive SEO Metrics Lookup: Get key indicators such as the number of backlinks, referring domains, organic keyword rankings, traffic estimates, etc. Supports queries by date and country.

  • Historical Data Tracking: Review historical trends for Domain Rating (DR), traffic, and backlinks, and analyze changes in SEO performance at daily/weekly/monthly granularity.

  • Deep Backlink Analysis: Export a complete backlink list. Supports multi-dimensional filtering by Dofollow attributes, domain ratings, anchor text, and more.

  • Keyword Discovery & Evaluation: Retrieve metrics like search volume, difficulty, CPC, and discover related long-tail variants. Supports question-based keyword mining.

  • Natural Ranking Audits: View all ranking keywords for a domain in search engines, including positions, traffic sources, and landing pages. Supports historical comparisons.

  • Batch URL Analysis: Analyze up to 100 target URLs or domains at once for fast competitor comparisons or aggregation of data across multiple sites.
  • FAQ

    How do I connect my Ahrefs account in Claude Code?


    First, add the Composio MCP server https://rube.app/mcp to your configuration. When the skill first calls the Ahrefs tool, it will provide an authentication link. Click the link to log in to your Ahrefs account and complete the binding.

    How many targets can be handled in a single batch URL analysis?


    Up to 100 URLs or domains can be analyzed simultaneously. If you need to process more targets, submit requests in batches. Each target can be configured separately with a mode (exact/prefix/domain/subdomains) and protocol (http/https/both).

    How do I filter for high-quality backlinks?


    When using the AHREFS_FETCH_ALL_BACKLINKS tool, set filtering conditions via the where parameter. For example, domain_rating_source>=30 shows only links with Domain Rating of 30 or higher, and is_dofollow=true keeps only Dofollow links. You can also use the limit parameter to control the number of results returned.

    What is Domain Rating (DR)? How do I track changes?


    Domain Rating is Ahrefs’ metric for a website’s overall authority (0–100). Use the AHREFS_DOMAIN_RATING_HISTORY tool to query DR history. Set history_grouping to weekly or monthly to view trends—ideal for analyzing authority growth over time.