PDF Report

Generate downloadable PDF reports from structured data or custom HTML.

5|Updated May 6, 2026
One-click install
npx skills add https://github.com/binary16labs/prime-silo --skill pdf-report-binary16labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PDF Report
Source: https://github.com/binary16labs/prime-silo/tree/main/app/L0/_all/mod/_core/skillset/ext/skills/pdf-report
Command: npx skills add https://github.com/binary16labs/prime-silo --skill pdf-report-binary16labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates professional, browser-rendered PDF reports from structured JSON or custom HTML, avoiding manual exporting, formatting drift, and one-off layout work.

Core Features & Use Cases

  • Structured report generation: Build consistent sections, cards, metrics, lists, and raw HTML from a typed report object.
  • Custom HTML-to-PDF rendering: Produce a PDF from fully custom markup and CSS when you need a specific visual direction.
  • Theming & layout control: Apply theme overrides (colors, typography, surface styling) and configure page size, orientation, margins, scale, and quality.
  • Immediate download outputs: Download a generated PDF directly from the browser as a valid application/pdf file.

Quick Start

Generate a PDF report from your structured report object by instructing the AI to call downloadPdfFromReport with a title, sections, and a filename.

Frequently Asked Questions about PDF Report

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate branded PDF reports from structured JSON data in the browser?

To generate branded PDF reports from structured JSON data, provide a typed report object with sections, cards, and metrics. The Skill renders the structured data into HTML, converts it to a canvas, slices it into page-sized segments, and outputs a downloadable PDF file.

Can I convert custom HTML and CSS to a PDF directly in a browser workflow?

Yes, you can convert custom HTML and CSS to a PDF directly in the browser. The Skill takes your fully custom markup, renders it via html2canvas, slices the resulting image into page-sized segments, and assembles a valid PDF byte stream for immediate download.

What page layout and theming options can I control when exporting HTML to PDF?

When exporting HTML to PDF, you can control page size presets, orientation, margins, scaling, and JPEG quality. You can also apply theme overrides to customize colors, typography, and surface styling for consistent branding across your reports.

Does this browser rendering approach work for dynamic analyst reporting and on-screen review?

Yes, this browser rendering approach works for dynamic analyst reporting and on-screen review. It creates consistent, branded PDF exports from dynamic content without manual formatting, avoiding layout drift and one-off export work.

What is the best way to automate repeatable PDF exports without manual formatting?

The best way to automate repeatable PDF exports is to generate them from structured report data or custom HTML. This approach applies theming and layout configurations programmatically, ensuring formatting consistency and avoiding manual exporting.

Are there limitations when slicing a canvas image to assemble a PDF byte stream?

Slicing a canvas image to assemble a PDF byte stream relies on rasterization, meaning text is output as an image rather than selectable vectors. You must configure scaling and JPEG quality carefully to balance visual fidelity and file size across page segments.