html-to-pdf

html-to-pdf is a skill for Claude Code from t0ddharris/compound-marketing. It costs 68 tokens per session (2,016 once invoked), scanned A, original, no licence file.

A skill for turning HTML pages into print-quality PDF files using a web-browser rendering tool.

In plain words
What is it for?
Use it to create PDFs of HTML handouts, cards, flyers, or other designed pages.
Why use it?
It lets an HTML design be exported as a PDF while preserving its printed layout and vector quality.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the compound-marketing plugin — 54 skills, 7 agents, 1 hook shipped together

Good fit Use it to create PDFs of HTML handouts, cards, flyers, or other designed pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/t0ddharris/compound-marketing/html-to-pdf
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add t0ddharris/compound-marketing --skill html-to-pdf
Clone the repo
git clone --depth 1 https://github.com/t0ddharris/compound-marketing

Made for: Claude Code.

Or install compound-marketing, the plugin that ships this one along with the rest of its 54 skills, 7 agents, 1 hook.

Wrote 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.

agentmods badge for html-to-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/t0ddharris/compound-marketing/html-to-pdf/github.svg)](https://agentmods.dev/skills/t0ddharris/compound-marketing/html-to-pdf)
Your own site
<a href="https://agentmods.dev/skills/t0ddharris/compound-marketing/html-to-pdf"><img src="https://agentmods.dev/badge/skills/t0ddharris/compound-marketing/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.

agentmods 80×15 button for html-to-pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/t0ddharris/compound-marketing/html-to-pdf"><img src="https://agentmods.dev/badge/skills/t0ddharris/compound-marketing/html-to-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.02016
Opus 5 $0.00034 $0.01008
Sonnet 5 $0.00014 $0.00403
Haiku 4.5 $0.00007 $0.00202

Measured 9d ago against content hash 0f05269cf56a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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 9d 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.

.claude/skills/html-to-pdf/SKILL.md · 172 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

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.

  1. 9d ago First seen · 172 lines · 68 tokens per session scan A 0f05269cf56a

Subscribe to this mod's changes

html-to-pdf is a skill published in the GitHub repository t0ddharris/compound-marketing (1 stars, last pushed 8d ago), with no licence file. It adds 68 tokens to every session and 2,016 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

download-fulltext-pdf

A skill for downloading a research paper's complete PDF using an identifier such as a DOI, title, or BibTeX entry.

huangwb8/skills · 105 tokens

markdown-to-pdf

Convert Markdown (.md) files to a polished PDF with ALL images preserved and scaled to the page. Use whenever the user asks to "save this markdown as a PDF", "convert README.md to pdf", "export the .md as a pdf", "turn these notes/docs into a PDF", or wants a PDF deliverable of any GitHub-flavored Markdown document…

kennethkhoocy/applied-micro-skills · 188 tokens

download-gated-pdfs

Download the actual PDF binary from bot-gated sites (taxpolicycenter.org, urban.org, SSRN-hosted mirrors, think-tank/publisher sites) via the Wayback Machine id URL form. Use when: (1) curl/WebFetch of a .pdf URL returns HTML instead of a PDF even with a browser User-Agent, (2) pypdf fails with "invalid pdf header…

kennethkhoocy/applied-micro-skills · 137 tokens

report-helper

A Chinese-language research workflow that searches the internet and produces a formatted PDF report about a specified topic.

Jiaranbb/report-helper · 92 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables/formulas from PDFs (including scanned and photographed documents), OCR, combining or merging multiple PDFs, splitting, rotating, watermarking, creating new PDFs, encrypting/decrypting, and extracting…

kennethkhoocy/legal-scholarship-skills · 143 tokens

pdf-image-text-extractor

An OCR tool that reads text from images and PDF documents. OCR means converting text in a picture or scanned document into editable text, while keeping the source structure in the result.

redfox-data/redfox-community · 179 tokens