agentsclimarketplace

Html to pdf

Skill fulgur-rs/agent-skills/skills/html-to-pdf

Agent skills for document generation and conversion using fulgur

Install
npx -y skills add fulgur-rs/agent-skills --skill html-to-pdf

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Convert HTML to PDF using the fulgur CLI (npx @fulgur-rs/cli). Generates HTML from a description if no file is provided.

SKILL.md

2.0 KB, 500 tokens by cl100k_base, as published. Nobody here has run it

HTML to PDF

Use this skill when the user wants to convert an HTML file to PDF, or wants to create a PDF document from scratch.

Workflow

Step 1 — Determine the HTML source

  • If the user provides an HTML file path, use it directly.
  • If no HTML is provided, ask for the document's purpose and content, then generate the HTML and save it to a temporary file (e.g. output.html).

When generating HTML, produce clean, print-ready markup:

  • Use inline styles or a <style> block — no external stylesheets unless the user provides one.
  • Set appropriate page dimensions via CSS (@page { size: A4; margin: 20mm; }).
  • Use web-safe fonts or note that custom fonts can be bundled with -f.

Step 2 — Determine conversion options

Infer from context or ask if unclear:

OptionFlagDefault
Page size-s A4 | Letter | A3A4
Landscape-lportrait
Margin (mm)--margin "top right bottom left"browser default
Font file-f path/to/font.ttfnone
Extra CSS--css path/to/style.cssnone
Image-i name=path/to/image.pngnone
JSON data-d path/to/data.jsonnone

Step 3 — Run the conversion

npx @fulgur-rs/cli render -o <output>.pdf [options] <input>.html

Examples:

# Basic
npx @fulgur-rs/cli render -o output.pdf input.html

# A4 landscape with custom margin
npx @fulgur-rs/cli render -o output.pdf -s A4 -l --margin "15 20" input.html

# Japanese font
npx @fulgur-rs/cli render -o output.pdf -f NotoSansJP.ttf input.html

# Template with JSON data
npx @fulgur-rs/cli render -o invoice.pdf -d data.json template.html

Step 4 — Report completion

Tell the user where the PDF was saved. If the conversion fails, show the error output and suggest fixes (missing font, malformed HTML, etc.).

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most pdf office docs skills give in 500 tokens

Counted across 636 of the 690 authors here whose files we hold, read 2026-08-07

  • extract text using pdfplumberin 89 of 636, across 23 files
  • create PDFs using reportlabin 83 of 636, across 16 files
  • read forms.md to fill out pdf formsin 80 of 636, across 13 files
  • OCR scanned PDFs using pytesseractin 77 of 636, across 10 files
  • merge or split PDFs using qpdfin 70 of 636, across 3 files
  • use excel formulas instead of hardcoded calculated valuesin 68 of 636, across 13 files
  • unpack edit xml and repack existing documentsin 63 of 636, across 8 files
  • document sources for hardcoded valuesin 61 of 636, across 9 files
  • write minimal python code without unnecessary commentsin 59 of 636, across 7 files
  • run the recalculation script after adding or modifying formulasin 59 of 636, across 7 files
  • fix all identified formula errors and recalculatein 58 of 636, across 6 files
  • format years as text stringsin 57 of 636, across 5 files

Said here and by no other author read

  • use the provided html file directly
  • generate html if none is provided
  • save generated html to a temporary file
  • set page dimensions via css
  • bundle custom fonts with the font flag
  • infer conversion options from context

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.