ds-report-pdf

ds-report-pdf is a skill for Claude Code from Dataslayer-AI/Marketing-skills. It costs 109 tokens per session (3,560 once invoked), scanned A, original, MIT.

A workflow for generating branded PDF reports from marketing data. It combines data retrieval, analysis, written findings, and Python code that produces a downloadable report.

In plain words
What is it for?
Creating internal or client reports from marketing data, including branded covers, headers, footers, and exported PDF files.
Why use it?
It turns raw marketing results into a client-ready document and provides a repeatable process for applying names, logos, colours, and reporting periods.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; positional $N argument.

Part of the dataslayer-marketing-skills plugin — 10 skills, 4 agents shipped together

Good fit Creating internal or client reports from marketing data, including branded covers, headers, footers, and exported PDF files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dataslayer-ai/marketing-skills/ds-report-pdf
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dataslayer-AI/Marketing-skills --skill ds-report-pdf
Clone the repo
git clone --depth 1 https://github.com/Dataslayer-AI/Marketing-skills

Made for: Claude Code.

Or install dataslayer-marketing-skills, the plugin that ships this one along with the rest of its 10 skills, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ds-report-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/dataslayer-ai/marketing-skills/ds-report-pdf/github.svg)](https://agentmods.dev/skills/dataslayer-ai/marketing-skills/ds-report-pdf)
Your own site
<a href="https://agentmods.dev/skills/dataslayer-ai/marketing-skills/ds-report-pdf"><img src="https://agentmods.dev/badge/skills/dataslayer-ai/marketing-skills/ds-report-pdf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ds-report-pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/dataslayer-ai/marketing-skills/ds-report-pdf"><img src="https://agentmods.dev/badge/skills/dataslayer-ai/marketing-skills/ds-report-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.03560
Opus 5 $0.00055 $0.01780
Sonnet 5 $0.00022 $0.00712
Haiku 4.5 $0.00011 $0.00356

Measured 11d ago against content hash 906c84a09640, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ds-report-pdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_report.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ds-report-pdf/SKILL.md · 433 lines

How it starts

The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Client PDF report generator (ds-report-pdf)

You are a marketing analyst and Python developer combined. You fetch real marketing data, analyze it, write production-quality Python code to generate a professional branded PDF, and execute it immediately. The output is a downloadable file ready to send to a client.

A reference implementation is available at: ${CLAUDE_SKILL_DIR}/scripts/generate_report.py Read it before writing your own script — use it as a starting point and adapt it to the actual data fetched from Dataslayer MCP.


Step 1 — Read branding config

Business context (auto-loaded): !cat .agents/product-marketing-context.md 2>/dev/null || echo "No context file found."

Branding config (auto-loaded): !cat dataslayer-config.json 2>/dev/null || echo "No config file found. Using defaults."

If the user passed arguments, apply them:

  • Client name: $0
  • Period: $1

Extract from config (or use defaults):

  • client_name — appears on cover and headers (default: "Client")
  • agency_name — appears in footer (default: "")
  • logo_path — local path to client logo image (PNG or JPG)
  • brand_color — hex color for headers and accents (default: "#0F6E56")
  • secondary_color — hex color for secondary elements (default: "#1D9E75")
  • report_language — "en" or "es" (default: "en")
  • report_period — e.g. "March 2026" (default: current month)
  • currency — "EUR", "USD", "GBP" (default: "EUR")
  • channels — list of channels to include (default: all connected)

Step 2 — Get the data

First, check if a Dataslayer MCP is available by looking for any tool matching *__natural_to_data in the available tools (the server name varies per installation — it may be a UUID or a custom name).

Path A — Dataslayer MCP is connected (automatic)

Fetch all configured channels in parallel for the report period.

Fetch in parallel (only channels listed in config, or all if not specified):

  Google Ads:
    - Total spend, impressions, clicks, CTR, conversions, CPA, ROAS
    - Campaign breakdown: name, spend, conversions, CPA
    - Week over week trend (last 4 weeks)

  Meta Ads:
    - Total spend, impressions, clicks, CTR, conversions, CPA
    - Campaign breakdown: name, spend, conversions, CPA

  LinkedIn Ads:
    - Total spend, impressions, clicks, CTR, conversions, CPL

  GA4:
    - Sessions, users, conversions, conversion rate
    - Top 5 organic landing pages by conversions
    - Traffic source breakdown

  Search Console:
    - Total impressions, clicks, CTR, average position
    - Top 10 queries by clicks

Read the full file on GitHub · 433 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 433 lines · 109 tokens per session scan A 906c84a09640

Subscribe to this mod's changes

ds-report-pdf is a skill published in the GitHub repository Dataslayer-AI/Marketing-skills (22 stars, last pushed 5mo ago), licensed MIT. It adds 109 tokens to every session and 3,560 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

citedy-lead-magnets

Generate AI-powered lead magnets — checklists, swipe files, and frameworks that convert visitors into subscribers. PDF generation with optional AI illustrations. No competitors in any MCP/skill store. Powered by Citedy.

citedy/adclaw · 51 tokens

pdf-extractor

Extract text, tables, and images from PDFs. Use when: extracting data from reports; converting PDF tables to CSV; pulling images from presentations; processing research papers; batch converting PDFs to text.

guia-matthieu/clawfu-skills · 42 tokens

tool-weasyprint

Render a Markdown document to a print-ready PDF with WeasyPrint — proposals, case studies, reports. Use when a workspace artifact has to leave the repo as a client-facing document, or when the user asks for a PDF, a sendable proposal, or branded output. Strips frontmatter; CSS-overridable for firm branding.

b2bforce/b2bforce · 73 tokens

market-report-pdf

Générer un rapport marketing PDF professionnel et visuellement soigné à l'aide du script Python scripts/generatepdfreport.py. Ce skill collecte toutes les données d'audit et d'analyse disponibles, les structure au format JSON attendu, invoque le script et produit un PDF de marque avec jauges de score, graphiques en…

mounra/ai-marketing · 0 tokens

marketing-informe-pdf

Generar un informe de marketing profesional y visualmente cuidado en PDF usando el script Python scripts/generarinformepdf.py. La skill recoge toda la data disponible de auditorias, la estructura en el JSON esperado, invoca el script y produce un PDF con marca, medidores de score, barras, tablas comparativas…

victorperez22/marketing-claude-code · 0 tokens

report-generator

Generate PDF/HTML reports from templates and data. Use when: creating client reports; generating weekly summaries; producing marketing performance reports; automating recurring reports.

guia-matthieu/clawfu-skills · 33 tokens