Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add atman-33/workhub/plugin install visualsWrote 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.
[](https://agentmods.dev/skills/atman-33/workhub/html-to-pdf)<a href="https://agentmods.dev/skills/atman-33/workhub/html-to-pdf"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/html-to-pdf/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.
<a href="https://agentmods.dev/skills/atman-33/workhub/html-to-pdf"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/html-to-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.01546 |
| Opus 5.5 | $0.00033 | $0.00618 |
| Sonnet 5.5 | $0.00017 | $0.00309 |
| Haiku 4.5 | $0.00008 | $0.00155 |
Grade A, and why
html-to-pdf 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 2mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTML to PDF
Chromium renders the file exactly as a browser would — @page, flexbox, grid,
webfonts, SVG, @media print, and JavaScript all work — and writes a PDF.
Source: the option surface and troubleshooting come from
html-to-pdf-skill; the deck
capture from frontend-slides.
See the plugin's NOTICE.md.
Pick the mode first
This is the only decision that matters, and getting it wrong produces a PDF that looks plausible in the file listing and is wrong when opened.
| Input | Mode |
|---|---|
| Report, one-pager, explainer, dashboard — anything that scrolls | --mode page (default) |
Slide deck whose slides carry class="slide" |
--mode slides |
A deck's print stylesheet un-hides every slide and page-breaks between them,
so --mode page does emit one page per slide — at paper size, in portrait,
with a 1920x1080 composition squeezed into it, and with every slide but the
one that was active rendered blank, because entrance animations key off a class
the deck only sets on the current slide. Measured on a four-slide deck: A4
portrait pages, three of them empty.
--mode slides shows each slide in turn at stage resolution, pins the entrance
animations to their finished state, captures each one and assembles the
captures into a 16:9 PDF.
If the file's mode is not obvious, grep it: class="slide" on repeated
elements means a deck.
Run it
node "${CLAUDE_PLUGIN_ROOT}/skills/html-to-pdf/scripts/html-to-pdf.mjs" report.html
Output defaults to the input path with a .pdf extension. Pass a second path
to choose the output, or several .html inputs to convert them in one run.
First run installs Playwright into ~/.workhub/visuals-playwright, which
downloads Chromium and takes about a minute. Nothing is installed into the
project. Tell the user before starting so the pause is expected. If the
automatic install fails, fall back to:
npm install -g playwright
npx playwright install chromium
What ships with it
1 file 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.
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.
- 2mo ago First seen · 146 lines · 83 tokens per session scan A 524aacd7b237
html-to-pdf is a skill published in the GitHub repository atman-33/workhub (3 stars, last pushed 3d ago), licensed MIT. It adds 83 tokens to every session and 1,546 once invoked, about $0.0003 per session on Opus 5.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-09-05.
html-to-pdf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| html-to-pdfatman-33/workhub | Skill | 3 | 3d ago | MIT | A | 83 | Claude Code |
| learniurykrieger/claude-bedrock | Skill | 113 | 7mo ago | MIT | C | 169 | Claude Code |
| paddleocr-doc-parsingopenmaster-ai/clawmaster | Skill | 19 | 4mo ago | none | A | 0 | Claude Code, Codex |
| skill-doc-deliverynyldn/claude-octopus | Skill | 4.5k | today | MIT | A | 29 | Claude Code |
| add-pdf-reportmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 30 | Claude Code |
| huashu-book-pdfhuangrichao2020/pretty-skills | Skill | 54 | 4d ago | MIT | A | 187 | Claude Code, Codex |
| extract-resumesuxrobGM/jobpilot | Skill | 117 | 22d ago | MIT | A | 32 | Claude Code |