zubair-trabzada/dataforseo-claude · Archived

seo-report-pdf

Generate a professional, client-ready PDF SEO report from a saved DataForSEO-powered audit. Produces a polished PDF with score gauges, prioritized action plan, keyword opportunity tables, and competitive landscape — ready to send to a client.

First seen Jul 9, 2026

Installation

$ npx skills add zubair-trabzada/dataforseo-claude --skill seo-report-pdf

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from zubair-trabzada/dataforseo-claude · top by installs.

npx skills add zubair-trabzada/dataforseo-claude

Browse all from zubair-trabzada/dataforseo-claude

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 150
License LICENSE
Default branch main
Open issues 1
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Read, Write
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,384 B
  • docs SUMMARY.md 266 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

Phase 0: Credential Preflight (REQUIRED — run BEFORE anything else)

Before running any of the steps below, always invoke the shared preflight check:

~/.claude/skills/seo/scripts/preflight.sh

If exit code is 0: credentials are configured — proceed with the rest of this skill silently.

If exit code is 2: the script prints the DataForSEO setup wizard to stdout. STOP, display that wizard to the user verbatim, and wait for them to paste credentials in this format:

login: [email protected]
password: their_api_password_here

When they reply:

  1. Parse login: and password: from their message.
  2. Write them to ~/.claude/skills/seo/.env:

`` DATAFORSEOLOGIN=<login> DATAFORSEOPASSWORD=<password> ``

  1. chmod 600 ~/.claude/skills/seo/.env
  2. Run a verification call: ~/.claude/skills/seo/scripts/keyword_research.py volume "test"
  3. If verification succeeds (real JSON returned): tell the user "✅ Credentials verified. Running your command now..." and proceed with the original request.
  4. If status 40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to retry.
  5. If any other auth error: ask them to double-check the API password (the long alphanumeric string from https://app.dataforseo.com/api-access — not their account login password).

Never echo credentials back to the user, never include them in tool output, and never commit them.


SEO PDF Report Skill

Powered by: Reads the audit JSON produced by /seo audit, built from live DataForSEO API data. PDF generation uses ReportLab — no additional API calls.

Prerequisite

/seo audit <domain> must have run first and saved ~/.claude/skills/seo/output/<domain>-audit.json. If that file doesn't exist, tell the user to run the audit first.

Run

~/.claude/skills/seo/scripts/generate_pdf_report.py \
    --input ~/.claude/skills/seo/output/<domain>-audit.json \
    --output ~/.claude/skills/seo/output/<domain>-report.pdf

When the PDF is generated, print the absolute path and (on macOS) offer to open it:

open ~/.claude/skills/seo/output/<domain>-report.pdf

What's in the PDF

The generator (scripts/generatepdfreport.py) reads the audit JSON and produces:

  • Cover with composite Overall / Keywords / Technical / Authority score cards
  • Executive Summary
  • Key Metrics block
  • Prioritized Action Plan table (color-coded by priority)
  • Top Keyword Opportunities table (with volume, CPC, difficulty, position)
  • Competitive Landscape table

All sections gracefully skip if their data is missing from the audit JSON, so partial audits still render a valid PDF.

Customization

To change colors/fonts/branding for a client deliverable, edit the constants at the top of [scripts/generatepdfreport.py](../../seo/scripts/generatepdfreport.py):

BRAND_PRIMARY = colors.HexColor("#1f4e79")
BRAND_ACCENT  = colors.HexColor("#2e8b57")