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 d-padmanabhan/agent-engineering-handbook --skill pdf-exportgit clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbookWrote 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/d-padmanabhan/agent-engineering-handbook/pdf-export)<a href="https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/pdf-export"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/pdf-export/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/d-padmanabhan/agent-engineering-handbook/pdf-export"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/pdf-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00081 | $0.03176 |
| Opus 5 | $0.00041 | $0.01588 |
| Sonnet 5 | $0.00016 | $0.00635 |
| Haiku 4.5 | $0.00008 | $0.00318 |
Grade A, and why
pdf-export 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 6d 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 — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add client-side PDF export
Wire a "Download PDF" feature into a React/TypeScript web app. The output is generated entirely in the browser - the user clicks a button, the SPA rasterizes the relevant DOM nodes, and jspdf assembles the PDF and triggers a download.
When to trigger this skill
- "Add a download PDF button..."
- "Let users export this report / slide / dashboard / chart as a PDF"
- "Save the current page as PDF"
- "Print this to a file"
- "We need PDF export"
- Any time a developer asks for browser-native PDF generation (no server, no Puppeteer)
Do not use this skill if the user wants:
- Server-rendered PDFs (use Puppeteer / Playwright on a server)
- Vector PDFs from data structures (use
pdfkitorpdfmake) - "Print this page" with
window.print()(that's a one-liner; just suggest it)
Step 1: Clarify the scope
Before writing code, ask the user 2 short questions if any of these are unclear:
- Single element or multi-page?
- One DOM element (a report, a card, a chart) -> Pattern A
- A sequence of slides / pages / sections -> Pattern B
- Page size? Default to letter or A4 portrait for reports; 16:9 landscape (1920x1080) for slide decks. Confirm if unsure.
For multi-page docs, also ask: do they want a clickable TOC (outline bookmarks)? Default yes for >3 pages.
Step 2: Detect framework and package manager
# In project root:
cat package.json | head -20 # look for react/next/vite/vue
test -f bun.lock && echo bun || test -f pnpm-lock.yaml && echo pnpm || test -f yarn.lock && echo yarn || echo npm
grep -E '"tailwindcss":' package.json # check Tailwind major version
Critical: if Tailwind 4 is in use, you MUST use html2canvas-pro (not vanilla html2canvas). Tailwind 4 emits oklch() colors that vanilla html2canvas cannot parse and the export will throw at runtime. Tailwind 3 works with either, but prefer -pro anyway - it's a maintained fork.
Step 3: Install
Pick the matching command:
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.
- 6d ago First seen · 309 lines · 81 tokens per session scan A 5c9fd079afb2
pdf-export is a skill published in the GitHub repository d-padmanabhan/agent-engineering-handbook (17 stars, last pushed 3d ago), licensed MIT. It adds 81 tokens to every session and 3,176 once invoked, about $0.0004 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-09-03.
Other skills, from other repositories
plan-update
Use when you need to update a plan document with deep research across all compiler passes. Launches parallel subagents to analyze how a topic affects every compiler phase, then consolidates findings into the plan doc.
multi-surface-render
Multi-surface rendering with json-render — one JSON spec produces React web, Next.js, React Native, Ink terminal UIs, PDFs, emails, Remotion videos, OG images, and 3D scenes. Covers renderer target selection, registry mapping, and platform APIs (renderToBuffer, renderToStream, renderToFile). Use when generating output…
paper2html
Convert an academic paper PDF into a publish-ready, self-contained single-page project homepage (a self-contained index.html) — the kind of paper landing page researchers host on GitHub Pages. Triggers when the user says "turn a paper into a project page/webpage", "paper2html", "generate a paper landing page / project…
resume-export-standards
ATS-safe + accessible resume/CV export standards (PDF/DOCX) — real ATS parsing limits, single-column rules, document-metadata accessibility (full PDF/UA-1 tagging is a future goal), country/industry CV norms (US/UK/DE), keyword hygiene. Load for changes under export/, model/, theme/, templates/, locale/, fonts…
benchmark
Local-only regression / benchmark skill for ui-clone-skills maintainers. Drives the standard ui-reverse-engineering pipeline against the canonical reference site (https://realfood.gov) and records AE/SSIM, iteration count, gate fail counts, and outcome to benchmark/history.csv so prompt / sub-doc / model-version drift…
storybook-story-generation
Use after React components are built (Phase 4.5 of the Figma/Canva/screenshot pipeline) or whenever a project needs Storybook coverage — auto-generates .stories.tsx and .mdx docs from components via ts-morph AST parsing, with prop controls, variant stories, action args, and default args. Keywords: Storybook, generate…