adbertram

ahrefs-cli

Use this skill for service operations only. DO NOT use this skill for CLI implementation lifecycle work such as creating, testing, updating, troubleshooting, validating, removing, or documenting the CLI tool itself; delegate those tasks to cli-tool-expert. MANDATORY: Execute ahrefs operations using the `ahrefs` CLI tool. CLI interface for Ahrefs SEO platform (browser automation) -- site audits, Site Explorer domain metrics, authentication, profiles, and caching. Triggers: ahrefs, ahrefs cli, site audit, ahrefs site audit, site explorer, ahrefs site explorer, domain rating, domain overview, organic traffic, top pages, referring domains, backlinks, ahrefs SEO, ahrefs crawl, ahrefs login, ahrefs auth profiles, check ahrefs auth, run site audit

adbertram 6 Updated 3mo ago

Resources

1
GitHub

Install

npx skillscat add adbertram/cli-tools/ahrefs-cli

Install via the SkillsCat registry.

SKILL.md
Execute ahrefs operations using the `ahrefs` CLI. All Ahrefs interactions should use this CLI. The `ahrefs` CLI follows this pattern: ```bash ahrefs [arguments] [options] ```
Task Command
Check auth status ahrefs auth status
Login to Ahrefs ahrefs auth login
List site audit crawls ahrefs site-audit list <project_id>
Get full site audit report ahrefs site-audit get <project_id>
Domain overview metrics ahrefs site-explorer overview <domain>
Top pages by organic traffic ahrefs site-explorer top-pages <domain>
List profiles ahrefs auth profiles list
Clear response cache ahrefs cache clear
</quick_start>
**MANDATORY: Consult the adjacent `usage.json` at `/_repo/skills/-cli/usage.json` before executing ANY `ahrefs` command.** This file contains complete command syntax, all arguments, all options, and usage instructions for every command. Never guess at command syntax. - **auth** -- Authentication management (login, status, test, logout) and nested `auth profiles` - **cache** -- Manage response cache (clear) - **site-audit** -- Site audit operations (list crawls, get reports, manage audit cache) - **site-explorer** -- Site Explorer / domain-overview metrics: `overview ` (Domain Rating, estimated organic traffic, ranking organic keywords, referring domains, backlinks) and `top-pages ` (top pages by organic traffic; supports `--limit`, `--filter`, `--properties`) </essential_principles> **`usage.json`** -- Complete command tree with arguments, options, defaults, and usage instructions for every command. </reference_index> - Command executes without error - Output is displayed in requested format - Correct command and flags used (verified against usage.json) </success_criteria>

Categories