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
Resources
1Install
npx skillscat add adbertram/cli-tools/ahrefs-cli Install via the SkillsCat registry.
| 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> |