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.
npx skills add zacharygcook/agent-skills --skill local-html-pdf-reportsgit clone --depth 1 https://github.com/zacharygcook/agent-skillsWrote 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/zacharygcook/agent-skills/local-html-pdf-reports)<a href="https://agentmods.dev/skills/zacharygcook/agent-skills/local-html-pdf-reports"><img src="https://agentmods.dev/badge/skills/zacharygcook/agent-skills/local-html-pdf-reports/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/zacharygcook/agent-skills/local-html-pdf-reports"><img src="https://agentmods.dev/badge/skills/zacharygcook/agent-skills/local-html-pdf-reports.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.00054 | $0.00512 |
| Opus 5 | $0.00027 | $0.00256 |
| Sonnet 5 | $0.00011 | $0.00102 |
| Haiku 4.5 | $0.00005 | $0.00051 |
Grade A, and why
local-html-pdf-reports 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 11d 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 — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Local HTML and PDF Reports
Build a review folder containing a complete Markdown record, a designed self-contained HTML view, a PDF generated from that HTML, and page images used for visual verification.
Layout
notes/<topic>-<yyyy-mm-dd>/
report.md
report.html
report.pdf
render-check/
command-output/ # optional raw evidence
Use the repository's preferred scratch location and naming when one exists. Do not promote disposable reports into tracked documentation without user approval.
Content Contract
- Markdown is the complete evidence record: bottom line, scope, criteria, results, commands, artifacts, limitations, and next steps.
- HTML is the designed review surface. It may be a concise executive view or a full-text review when the user needs to inspect every detail.
- PDF must be regenerated after the final HTML edit.
- Raw logs belong in separate files when they would overwhelm the report.
Design
Use a restrained print-friendly system: strong typographic hierarchy, high contrast, one intentional accent color, compact cards, readable tables, semantic status labels, and no external runtime dependencies. Add navigation/search or collapsible sections for long reports. Preserve accessibility, selectable text, and useful print behavior.
See references/style-guide.md for a reusable visual baseline. Adapt it to an established repository house style when one exists.
Generate and Verify
- Format Markdown and HTML with repository-native tooling.
- Print HTML to PDF with an installed browser using the intended page size and no browser headers/footers.
- Inspect PDF metadata and page size.
- Render every PDF page to an image.
- Actually inspect the images for clipping, overflow, illegible code, broken tables, awkward page breaks, or nearly empty spill pages.
- Fix, regenerate, and reinspect until clean.
Example tools include Chromium/Chrome headless printing, pdfinfo, and pdftoppm; discover installed commands rather than assuming exact paths.
What ships with it
2 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.
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.
- 11d ago First seen · 50 lines · 54 tokens per session scan A f08a7cdc6e73
local-html-pdf-reports is a skill published in the GitHub repository zacharygcook/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 512 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.
Other skills, from other repositories
invoice
A printable invoice page — sender + recipient block, line items table, tax breakdown, totals, and payment instructions. Use when the brief mentions "invoice", "bill", "billing statement", or "发票".
md-to-pdf
Convert Markdown to styled PDFs with Mermaid diagrams, LaTeX/KaTeX math, tables, and code highlighting. Triggers on: "convert markdown to pdf", "make a pdf from this md", "export markdown as pdf", "pdf from markdown with equations".
arxiv-preflight
Pre-submission validation audit for arXiv papers across TeX source, PDF, figures, metadata, bibliography, file organization, and common-error scans. Produces pass/fail report with specific fixes per arXiv requirement. Triggers on: "check my arXiv submission", "validate for arXiv", "arXiv preflight", "ready for arXiv"…
marp-slides
Author MARP markdown slide decks exportable to PDF, PPTX, and HTML via marp-cli. Covers Marpit directives, custom CSS themes, SVG chart recipes, and dashboard components. Triggers on: "marp", "marp deck", "markdown slides", "slides from markdown", "marp-cli", "pdf from markdown", "pptx from markdown".
vault-artifact-toolchain
Use when the user wants agent-friendly vault artifacts or source ingest with text-first tools: Mermaid .mmd diagrams rendered with mmdc, Marp Markdown decks compiled to PDF/PPTX, Obsidian Excalidraw Markdown sketches, notebooklm-py summaries, yt-dlp talk metadata/captions, markitdown document conversion, or Makefile…
kagi-summarizer
Summarize any URL or text using Kagi's Universal Summarizer API. Supports multiple engines (including the enterprise-grade Muriel model), bullet-point takeaways, and output translation to 28 languages. Use when you need a high-quality summary of an article, paper, video transcript, or any document.