Skip to content

Skills for the Ahrefs API, SDK, and AI/agent interactions

License

Notifications You must be signed in to change notification settings

ahrefs/ahrefs-api-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Ahrefs API Skills

Claude Code skills for the Ahrefs API and Python SDK.

Skills teach your AI coding assistant the SDK's patterns, available methods, and best practices — so it can write correct Ahrefs API code without guessing.

Prerequisites

Install the Ahrefs Python SDK and set your API key:

pip install git+https://github.com/ahrefs/ahrefs-python.git
export AHREFS_API_KEY="your-api-key"

Installation

npx skills add ahrefs/ahrefs-api-skills --skill ahrefs-python --global

Then ask Claude Code to use the Ahrefs API — it will know the SDK patterns, all 52 methods, error handling, and filter syntax.

What's included

The ahrefs-python skill provides:

  • SDK usage rules — always use the typed client, correct response access patterns, date formats
  • All 52 API methods — Site Explorer, Keywords Explorer, Rank Tracker, Site Audit, Brand Radar, SERP Overview, Batch Analysis
  • Filter syntax reference — BNF grammar and examples for building query filters

Links

About

Skills for the Ahrefs API, SDK, and AI/agent interactions

Topics

Resources

License

Stars

Watchers

Forks

Contributors