pdf-report-builder

pdf-report-builder is a skill for Claude Code from bestdeejay-design/agent-skills. It costs 180 tokens per session (1,114 once invoked), scanned A, original, MIT.

A converter that turns Markdown, a plain-text document format often used for README files and technical notes, into a PDF report.

In plain words
What is it for?
Use it to make printable or shareable PDFs from project reports, README files, specifications, checklists, and client documents.
Why use it?
It removes the need to format the document manually or install one specific PDF tool. It can choose an available converter on the computer, such as Chrome, WeasyPrint, or a PDF typesetting engine.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to make printable or shareable PDFs from project reports, README files, specifications, checklists, and client documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bestdeejay-design/agent-skills/pdf-report-builder
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 bestdeejay-design/agent-skills --skill pdf-report-builder
Clone the repo
git clone --depth 1 https://github.com/bestdeejay-design/agent-skills

Made for: Claude Code.

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 pdf-report-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/pdf-report-builder/github.svg)](https://agentmods.dev/skills/bestdeejay-design/agent-skills/pdf-report-builder)
Your own site
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/pdf-report-builder"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/pdf-report-builder/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 pdf-report-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/pdf-report-builder"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/pdf-report-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,114 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.00180 $0.01114
Opus 5 $0.00090 $0.00557
Sonnet 5 $0.00036 $0.00223
Haiku 4.5 $0.00018 $0.00111

Measured 5d ago against content hash 93a51a30c406, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

pdf-report-builder 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/pdf_report_builder.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/pdf-report-builder/SKILL.md · 80 lines

How it starts

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

PDF Report Builder

Сборка PDF-отчёта из Markdown-файла: заголовки, таблицы, код, цитаты — в аккуратный одностраничный PDF.

Загружай этот скилл когда нужно сделать PDF-документ из Markdown: отчёт по проекту, README в PDF, спецификацию, чек-лист для клиента, экспорт документации вне GitHub.

🎯 When to use

Use this skill when:

  • Есть .md-файл и нужен PDF (отчёт, README, спецификация, сопроводительное письмо)
  • Нужно отправить документ клиенту/коллеге в печатном формате
  • Просят «сделай отчёт в pdf», «markdown в pdf», «собери документ»
  • Нужен PDF с графиками (встраивает Chart.js в HTML перед конвертацией)

Do NOT use when:

  • Достаточно HTML — проще отдать .md или github-rendered страницу
  • Нужна презентация — это presentation-maker
  • Нужна интерактивная диаграмма — это diagram-maker / data-analysis

📦 Files

  • SKILL.md — этот файл
  • scripts/pdf_report_builder.py — конвертер markdown → PDF (Python 3 stdlib)

🧰 Usage

# Из файла:
python3 skills/pdf-report-builder/scripts/pdf_report_builder.py -i report.md -o report.pdf --title "Project Report"

# Из stdin (пайплайн):
cat notes.md | python3 pdf_report_builder.py --stdin -o notes.pdf --title "Notes"

# Markdown с графиками → PDF:
# 1. Сгенерируй HTML с графиками через data-analysis --output html
# 2. Конвертируй HTML в PDF через pdf-report-builder
python3 skills/pdf-report-builder/scripts/pdf_report_builder.py -i report.html -o report.pdf --title "Отчёт с графиками"

🧭 Движки (по приоритету)

  1. Chrome/Chromium/Edge headless--headless --print-to-pdf (обычно стоит на macOS)
  2. weasyprintpython3 -m pip install weasyprint
  3. pandoc + PDF-движокpdflatex/tectonic/typst/context

Если ни одного нет — скрипт печатает подсказку по установке и завершается с кодом 1. Разметка отрисовывается через pandoc (если установлен) или встроенный конвертер (заголовки, списки, таблицы, код, цитаты, ссылки).

📊 Встраивание графиков

Для PDF с графиками используй пайплайн:

  1. data-analysis --output html — генерирует HTML с Chart.js графиками
  2. pdf-report-builder -i report.html -o report.pdf — конвертирует в PDF

Read the full file on GitHub · 80 lines

Files

What ships with it

2 files 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. 5d ago Changed · +16 lines · +9 tokens per session 93a51a30c406
  2. 10d ago First seen · 64 lines · 171 tokens per session scan A fc2632401ff9

Subscribe to this mod's changes

pdf-report-builder is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 180 tokens to every session and 1,114 once invoked, about $0.0009 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-31.