ahrefs
Complete Ahrefs API integration for SEO analysis. Covers Site Explorer (domains, backlinks, rankings), Keywords Explorer (search volume, difficulty, SERP analysis), Rank Tracker (position monitoring), Site Audit (technical SEO), SERP Overview, Batch Analysis, and Brand Radar. Use for any SEO-related queries including keyword research, backlink analysis, competitor intelligence, technical audits, and rank tracking.
Why use this skill?
Analyze your backlinks, keywords, and technical SEO with the Ahrefs skill for OpenClaw. Get competitive intelligence and performance data directly in your workflow.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/geozhu/ahrefsWhat This Skill Does
The Ahrefs skill for OpenClaw integrates the powerful Ahrefs SEO platform directly into your agentic workflow. It acts as a comprehensive SEO analysis engine that bridges the gap between raw web data and actionable insights. By leveraging the Ahrefs API, the skill allows you to perform competitive research, technical site audits, keyword difficulty analysis, and backlink profile assessments. It abstracts complex API calls into simple, natural language commands, enabling you to query site metrics, track keyword ranking movements, and generate deep-dive reports on competitor strategies without leaving your terminal or chat interface.
Installation
To install this skill, use the Clawhub CLI: clawhub install openclaw/skills/skills/geozhu/ahrefs.
Once installed, finalize the configuration by adding your credentials to your workspace environment. Open ~/.openclaw/workspace/.env and insert your unique token and plan tier:
AHREFS_API_TOKEN=your_token_here
AHREFS_API_PLAN=enterprise
Ensure you verify your connection by running grep AHREFS ~/.openclaw/workspace/.env to confirm the variables are properly registered before triggering your first query.
Use Cases
- Competitive Intelligence: Quickly analyze a competitor's Domain Rating (DR), top organic pages, and their primary traffic-driving keywords.
- Content Strategy: Use the Keywords Explorer to identify high-volume, low-difficulty keywords to target for new content.
- Technical Audits: Trigger site audits to identify and fix crawl errors, broken links, or mobile usability issues.
- Backlink Monitoring: Assess the quality and authority of incoming links to your site or track the decline of backlinks for specific URLs.
- Rank Tracking: Monitor the performance of specific target keywords over time and compare your position against industry competitors.
Example Prompts
- "Analyze competitor.com: what are their top 5 organic pages by traffic and what is their current domain rating?"
- "Research the keyword 'ai marketing tools': provide search volume, keyword difficulty, and suggest 5 related high-traffic keywords."
- "Run a site audit on mydomain.com and summarize the critical on-page SEO issues that need immediate attention."
Tips & Limitations
- Plan Limitations: The depth of data (especially advanced filtering and large-scale exports) is strictly gated by your Ahrefs subscription level. Always ensure your environment variable
AHREFS_API_PLANmatches your actual tier to avoid API errors. - Project Prerequisites: For Site Audit and Rank Tracker features, you must have the projects already configured in your Ahrefs dashboard; the skill cannot create new projects from scratch.
- Rate Limits: Be mindful of API rate limits, especially on Lite and Standard plans. If you are scraping large datasets, consider batching your requests or running them during off-peak hours.
- Cost Efficiency: Because Ahrefs API calls can consume significant credits, prioritize specific queries over broad data dumps.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-geozhu-ahrefs": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api