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 TrendTweekers/mintpdf --skill generate-pdfgit clone --depth 1 https://github.com/TrendTweekers/mintpdfWrote 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/trendtweekers/mintpdf/generate-pdf)<a href="https://agentmods.dev/skills/trendtweekers/mintpdf/generate-pdf"><img src="https://agentmods.dev/badge/skills/trendtweekers/mintpdf/generate-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.
<a href="https://agentmods.dev/skills/trendtweekers/mintpdf/generate-pdf"><img src="https://agentmods.dev/badge/skills/trendtweekers/mintpdf/generate-pdf.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.00028 | $0.00459 |
| Opus 5.5 | $0.00011 | $0.00184 |
| Sonnet 5.5 | $0.00006 | $0.00092 |
| Haiku 4.5 | $0.00003 | $0.00046 |
Grade A, and why
generate-pdf scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST https://mintpdf.dev/v1/pdf \ What it actually says
Generate a PDF with MintPDF
Use this when a user needs a finished document rather than text: an invoice, a receipt, a report, a summary they will send to someone else.
Fastest path (no key, no signup)
curl -X POST https://mintpdf.dev/v1/pdf \
-H "Content-Type: application/json" \
-d '{"markdown":"# Invoice #42\n\n| Item | Price |\n|---|---|\n| Widget | $9.00 |","pageNumbers":true}' \
--output invoice.pdf
Add "output":"url" to get JSON with a download link (valid one hour) instead of raw bytes.
As an MCP server
Remote: https://mintpdf.dev/mcp (streamable HTTP)
Local: npx -y mintpdf-mcp
Tools: generate_pdf (html or markdown in) and pdf_from_url (public URL in).
Options
format (A4, Letter, Legal, A3, A5), landscape, margin (e.g. "18mm"), headerText,
footerText, pageNumbers.
Choosing the input
- markdown — the default choice. A clean stylesheet is applied automatically, so tables, code blocks and headings come out looking right with no design work.
- html — when you need full control. Your own CSS is used as-is.
- url — to capture a public page as it renders.
Limits
3 renders/day anonymously, 100/month with a free key (POST /v1/keys with an email, no card),
then 3,000/month on Solo ($19), 12,000 on Team ($49) and 50,000 on Scale ($129). Send the key as
Authorization: Bearer pm_….
Privacy
Generated files are deleted after one hour. No document storage. Requests to private or internal network addresses are refused.
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 Changed f59ec58ea17e
- 3mo ago First seen · 51 lines · 28 tokens per session scan A 690ab7fc9c3d
generate-pdf is a skill published in the GitHub repository TrendTweekers/mintpdf (1 stars, last pushed 10d ago), licensed MIT. It adds 28 tokens to every session and 459 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
generate-pdf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-pdfTrendTweekers/mintpdf | Skill | 1 | 10d ago | MIT | A | 28 | Claude Code, Codex |
| pdfrenderpdfrender-dev/pdfrender | Skill | 0 | 17d ago | MIT | A | 55 | Claude Code |
| n8n-binary-and-dataczlonkowski/n8n-mcp | Skill | 23k | yesterday | MIT | A | 135 | Claude Code, Codex |
| pdfmudler/LocalAI | Skill | 51k | today | MIT | A | 35 | Claude Code, Codex |
| any-to-pdfcosmicstack-labs/mercury-agent | Skill | 4.1k | today | MIT | A | 66 | Claude Code, Codex |
| markdown-to-pdfstaskh/trading_skills | Skill | 429 | 4d ago | MIT | A | 45 | Claude Code |
| csv-to-executive-reportskrun-dev/skrun | Skill | 213 | 17d ago | MIT | A | 81 | Claude Code, Codex |