# AGENTS.md - Ahrefs CLI

You are being asked to install or use the Ahrefs CLI from the Printing Press library.

## What it is

ahrefs-pp-cli is an agent-native command line tool for Ahrefs. Explore Ahrefs SEO data from the terminal: backlinks, keywords, rank tracking, site audits, SERPs, usage limits, and crawler IP ranges.
It is a single Go binary that ships with an agent skill, and it installs with one command.

## Install

Recommended (installs the binary and the agent skill):

    npx -y @mvanhorn/printing-press-library install ahrefs

Hermes:

    hermes skills install mvanhorn/printing-press-library/cli-skills/pp-ahrefs --force

OpenClaw:

    clawhub install printing-press-library/ahrefs

## MCP server

This CLI ships an MCP server (ahrefs-pp-mcp) with 29 tools. Point any MCP client at it, including Claude Desktop.

## After install

Call ahrefs-pp-cli from the shell, or use the /pp-ahrefs skill inside an agent.
Run ahrefs-pp-cli --help to list commands.

## Links

- Documentation: https://printingpress.dev/documentation/ahrefs
- Library page: https://printingpress.dev/library/marketing/ahrefs
- This file: https://printingpress.dev/documentation/ahrefs/agents.md
