Home
cd ../playbooks
Data & ReportingIntermediate

GEO Report PDF Renderer

Render a GEO audit markdown file into a styled client-ready PDF with a cover page, color-coded score tables, and severity callouts

10 minutes
By Zubair TrabzadaSource
#geo#pdf#reporting#client-deliverable

A markdown audit is a file. A PDF with a navy cover page and a color-coded score badge is a deliverable you can charge for. This playbook converts one into the other with pandoc and headless Chrome, no Python and no design work.

Who it's for: GEO and SEO agencies sending client deliverables, freelance consultants, marketing teams presenting to executives, anyone who needs an audit to look like a report

Example

"Turn GEO-AUDIT-REPORT.md into a PDF" → GEO-REPORT.pdf with a dark navy cover carrying the brand name, domain, and score badge, score cells shaded green through red by value, severity-tagged finding callouts, automatic section page breaks, and page-numbered footers

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add geo-report-pdf
# GEO PDF Report Generator

Turn a finished GEO audit markdown file into a styled, client-ready PDF using pandoc plus headless Chrome. No Python, no ReportLab, no JSON wrangling.

## Prerequisites

- **pandoc** — `brew install pandoc` (macOS), `choco install pandoc` or `winget install JohnMacFarlane.Pandoc` (Windows), `apt install pandoc` (Debian/Ubuntu)
- **Google Chrome or Chromium** — used in headless mode to print HTML to PDF

Find the Chrome binary once and reuse the path:

| OS | Typical path |

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Takes a finished GEO audit written in markdown and prints it to a styled PDF. Claude reads the cover metadata out of the report header, runs pandoc to build a self-contained HTML file, then drives headless Chrome to print that HTML to PDF.

Pairs with the GEO Client Report Generator, which produces the markdown this consumes.


Quick Start

Step 1: Create a Project Folder

mkdir -p ~/Documents/GEOReports

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ~/Documents/GEOReports/

Step 3: Start Working

cd ~/Documents/GEOReports
claude

With your audit markdown in the folder, say "turn the audit report into a PDF."


Dependencies

Two external tools, both must be installed before the first run:

  • pandoc — brew install pandoc, winget install JohnMacFarlane.Pandoc, or apt install pandoc
  • Google Chrome or Chromium — used headless to print the HTML to PDF

The playbook also needs an input file. It looks for GEO-AUDIT-REPORT.md in the current directory and stops if that file is absent rather than inventing audit data.

The upstream geo-seo-claude suite installs a pandoc HTML template and stylesheet under ~/.claude/skills/geo/templates/. Running this as a standalone CLAUDE.md, you will not have them, so the template instructs Claude to generate a local geo-pdf/template.html and geo-pdf/style.css on the first run and reuse them afterward.


What the PDF Contains

  • Cover page with a dark navy gradient, brand name, domain, GEO score badge colored by value, audit date, business type, locations, and CMS
  • Score cells shaded by threshold: 80 and up green, 65 and up blue, 50 and up amber, 35 and up orange, below 35 red
  • Severity callouts on findings, with left borders in red, orange, yellow, or green
  • Automatic page breaks before major sections
  • Dark-theme monospace styling for JSON schema blocks
  • Footer with brand name, date, and page numbers

Troubleshooting

Problem Fix
pandoc: command not found Install pandoc, then reopen the terminal
Chrome not found Check the binary path for your OS
PDF is blank Raise --virtual-time-budget to 8000 so the inline script finishes
Cover metadata missing The audit markdown needs the standard header format Claude parses
Fonts look wrong The PDF renders offline and falls back to system fonts. Expected.

$Related Playbooks

Data & Reporting

GEO Client Report Generator

Turn AI-search audit findings into a client-ready GEO report with a weighted 0-100 readiness score and a three-tier action plan

10 minutes
Intermediate
Data & Reporting

Intelligence Report

Generate marketing intelligence briefings.

15 minutes
Intermediate
Data & Reporting

Interactive Dashboard Builder

Build self-contained HTML dashboards with Chart.js for data visualization

10 minutes
Intermediate
Data & Reporting

Funnel Metrics Analyst

Get a daily one-paragraph analysis of your funnel metrics — what moved, what's stalling, and what to do about it. An actual opinion, not a dashboard.

15 minutes
Advanced
Data & Reporting

Live Dashboard

Create live Looker Studio dashboards.

15 minutes
Intermediate
Data & Reporting

Natural Language SQL Writer

Write optimized SQL queries from plain English across multiple database dialects

10 minutes
Intermediate
Data & Reporting

Send Report

Deliver performance reports.

15 minutes
Intermediate
Data & Reporting

Simulate

Simulate revenue impact via Monte Carlo.

15 minutes
Intermediate
Data & Reporting

Google Sheets Automation

Google Sheets automation workflows - data sync, task management, reporting dashboards, and multi-platform integrations

10 minutes
Advanced
Data & Reporting

Table Extraction from Documents

Extract tables from PDF documents with support for merged cells and multi-page layouts using camelot.

10 minutes
Beginner
Data & Reporting

Scientific Matplotlib

Low-level plotting library for full customization. Use when you need fine-grained control over every plot element, creating novel plot types, or integrating with specific scientific workflows. Export to PNG/PDF/SVG for publication. For quick stati...

5 minutes
Beginner
Data & Reporting

Scientific Networkx

Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centra...

10 minutes
Intermediate

Browse all Data & Reporting playbooks →