html-to-pdf

Installation
SKILL.md

html-to-pdf

Render HTML + CSS to PDF using WeasyPrint. Best for static report exports where the source already exists in HTML form (templates, dashboards, invoices). For programmatic PDF assembly from data structures, use the pdf-toolkit skill's reportlab path instead.

Delivery rule

First, use the available tool list for this session to choose the delivery path.

If write_file, edit_file, apply_patch, or execute_code is available:

  • Build the .pdf, .html, or requested file in the active workspace using the workflow below.
  • Call publish_artifact for the final file before your final reply when that tool is available.
  • The examples and workflow steps later in this document apply.
Installs
26
GitHub Stars
7.0K
First Seen
Jun 3, 2026
html-to-pdf — tokenrhythm/opensquilla