html-to-pdf

html-to-pdf is a skill for Claude Code from aviz85/claude-skills-library. It costs 58 tokens per session (2,779 once invoked), scanned A, original, no licence file.

A converter that renders HTML webpages as PDF files, including support for Hebrew and other right-to-left text layouts.

In plain words
What is it for?
Use it to create PDFs from HTML pages, websites, or web-generated documents.
Why use it?
It helps preserve the webpage's visual layout when exporting it to a document, including for right-to-left languages.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create PDFs from HTML pages, websites, or web-generated documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aviz85/claude-skills-library/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 aviz85/claude-skills-library --skill html-to-pdf
Clone the repo
git clone --depth 1 https://github.com/aviz85/claude-skills-library

Made for: Claude Code.

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/aviz85/claude-skills-library/html-to-pdf/github.svg)](https://agentmods.dev/skills/aviz85/claude-skills-library/html-to-pdf)
Your own site
<a href="https://agentmods.dev/skills/aviz85/claude-skills-library/html-to-pdf"><img src="https://agentmods.dev/badge/skills/aviz85/claude-skills-library/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/aviz85/claude-skills-library/html-to-pdf"><img src="https://agentmods.dev/badge/skills/aviz85/claude-skills-library/html-to-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,779 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. Third-party audits
  • Socket warn 15 Sept 2026
  • Snyk warn 15 Sept 2026
How audits are shown
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.00058 $0.02779
Opus 5.5 $0.00023 $0.01112
Sonnet 5.5 $0.00012 $0.00556
Haiku 4.5 $0.00006 $0.00278

Measured 1mo ago against content hash c49ee97aaec4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/html-to-pdf.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/html-to-pdf/SKILL.md · 356 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

Files

What ships with it

3 files 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.

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. 1mo ago First seen · 356 lines · 58 tokens per session scan A c49ee97aaec4

Subscribe to this mod's changes

html-to-pdf is a skill published in the GitHub repository aviz85/claude-skills-library (50 stars, last pushed 3mo ago), with no licence file. It adds 58 tokens to every session and 2,779 once invoked, about $0.0002 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-03.

Related

Other skills, from other repositories

large-file-build

Build large HTML files in chunks when a single writefile exceeds stream limits.

PrismML-Eng/Bonsai-demo · 18 tokens

answer-me-with-html

Create an offline static HTML technical report only when expressly requested, without running untrusted HTML, shell commands or network requests.

seaworld008/Commonly-used-high-value-skills · 29 tokens

svg-press

Teaches agents how to hand-craft self-contained SVG diagrams that render correctly in browsers, tags, and Playwright PDF/PNG. Covers containment math, viewBox sizing, arrow construction, text hierarchy, KDCube brand color tokens, semantic zone fills, badges, the PNG inspection loop, writepng parameters, multi-diagram…

kdcube/kdcube · 87 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

zebbern/claude-code-guide · 92 tokens

format-converter-brief

Produces a clear, step-by-step brief explaining exactly how to convert a finished article or document from one format (Word, plain text, InDesign export) into a specified target format (Markdown, HTML, or structured plain text), preserving all editorial elements correctly.

ur-grue/autopunk-media-skills · 58 tokens

pdf-to-docx

Convert PDF files to editable Word documents using pdf2docx.

claude-office-skills/skills · 17 tokens