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.5 | $0.00032 | $0.01270 |
| Sonnet 5.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 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 — 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.
- 2mo 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 (21 stars, last pushed 5d ago), licensed MIT. It adds 81 tokens to every session and 3,176 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-03.
pdf-export compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdf-exportd-padmanabhan/agent-engineering-handbook | Skill | 21 | 5d ago | MIT | A | 81 | Claude Code, Codex |
| build-with-simplepdfSimplePDF/simplepdf-embed | Skill | 408 | 7d ago | MIT | A | 103 | Claude Code, Codex |
| google-apps-scriptjezweb/claude-skills | Skill | 1.1k | 1mo ago | MIT | A | 89 | Claude Code |
| edit-pdfSimplePDF/simplepdf-embed | Skill | 408 | 7d ago | MIT | B | 74 | Claude Code, Codex |
| resume-export-standardssaeedkolivand/ai-job-hunter-app | Skill | 65 | today | Apache-2.0 | A | 81 | Claude Code |
| docs-initsiberiacancode/agent-skills | Skill | 25 | 4d ago | MIT | A | 14 | Claude Code, Codex |
| summarizedjblack1209-coder/OpenClaw-Bot | Skill | 5 | 1mo ago | Apache-2.0 | A | 32 | Claude Code, Codex |