# Pp Ahrefs

Printing Press CLI for Ahrefs.

- Repository: https://github.com/mvanhorn/printing-press-library (2101 stars)
- Category: Marketing
- License: Apache-2.0
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add mvanhorn/printing-press-library --skill pp-ahrefs -g -a claude-code -y`
Codex: `npx skills add mvanhorn/printing-press-library --skill pp-ahrefs -g -a codex -y`
Cursor: `npx skills add mvanhorn/printing-press-library --skill pp-ahrefs -g -a cursor -y`
Gemini CLI: `npx skills add mvanhorn/printing-press-library --skill pp-ahrefs -g -a gemini-cli -y`

## Description

Printing Press CLI for Ahrefs. SEO and competitive intelligence API for backlinks, keywords, rank tracking, site audit, and SERP data.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- GENERATED FILE, DO NOT EDIT.
     This file is a verbatim mirror of library/marketing/ahrefs/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Ahrefs, Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `ahrefs-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install ahrefs --cli-only
   ```
2. Verify: `ahrefs-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/marketing/ahrefs/cmd/ahrefs-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

## Command Reference

**keywords-explorer**, Keywords Explorer endpoints.

The rest: https://github.com/mvanhorn/printing-press-library/blob/HEAD/cli-skills/pp-ahrefs/SKILL.md
