<< All versions

Skill v1.0.0

currentAutomated scan100/100
makushingu/harness-maxxing/pdf-document
──Details
PublishedOctober 22, 2026 at 09:31 PM
Content Hashsha256:59eba1ccfe697f49...
Git SHA959475fcfcbe
──Files
Files (1 file, 1.2 KB)
SKILL.md1.2 KBactive
SKILL.md · 23 lines · 1.2 KB

version: "1.0.0" name: pdf-document description: Produce a well-designed PDF - a quote, an invoice, a report, a guide, a one-pager, a CV, a menu, a certificate - by writing HTML/CSS and printing it with the server's headless browser. Use when the user asks for a PDF or a printable document.


PDF documents

  1. Write one self-contained HTML file next to where the PDF belongs (the topic folder), with its

CSS inline: @page { size: A4; margin: 18mm }, a clean font stack (system fonts, or a Google Font via <link>), headings, tables with borders, page breaks with break-before: page. Images: relative paths next to the HTML, or absolute file:// paths.

  1. Print it:

``bash maxxing pdf <file>.html <file>.pdf # also works with an https:// URL ``

  1. Check it: pdftotext <file>.pdf - | head for the text, and render page 1 to PNG

(pdftoppm -png -r 60 -f 1 -l 1 <file>.pdf /tmp/p1) and look at it. Fix and print again.

  1. Keep the HTML: the next version is an edit away. Never put secrets or bank details in the

document unless the user gave them for this purpose.

No headless browser yet (maxxing video status)? maxxing deps update (as root) installs it.

All versions