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 WrongStack/WrongStack --skill pdfgit clone --depth 1 https://github.com/WrongStack/WrongStackWrote 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/wrongstack/wrongstack/pdf)<a href="https://agentmods.dev/skills/wrongstack/wrongstack/pdf"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/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/wrongstack/wrongstack/pdf"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/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.00053 | $0.01200 |
| Opus 5.5 | $0.00021 | $0.00480 |
| Sonnet 5.5 | $0.00011 | $0.00240 |
| Haiku 4.5 | $0.00005 | $0.00120 |
Grade A, and why
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 5d 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF Document Engineering — WrongStack
Selection card
- Task: Generate, manipulate, and inspect print-ready vector PDF documents.
- Start: Define target page size (A4, Letter), bleed, margin boundaries, and color space.
- Finish: apply the acceptance checks below; report observed results and unresolved constraints.
Overview
PDF is a fixed-layout vector format designed for visual fidelity across all printing and viewing devices.
Avoid blurry rasterized screenshots disguised as PDFs. Use native vector PDF composition tools
such as pdf-lib (npm), Typst, or headless Chromium print engines (@playwright/test / Puppeteer)
with explicit print CSS (@media print, @page) to achieve flawless typography, pagination, and vector line art.
Core Engineering Rules
- Explicit Page & Margin Geometry:
- Always declare
@pagedimensions explicitly:size: A4 portrait; margin: 20mm 15mm 20mm 15mm;. - Prevent ugly page cuts across table rows or headers using
page-break-inside: avoid;andbreak-inside: avoid;. - Force orphan heading protection:
h1, h2, h3 { break-after: avoid; page-break-after: avoid; }.
- Always declare
- Vector Graphics & Font Embedding:
- Keep logos, diagrams, and line dividers as pure SVG or PDF vector paths; never compress to lossy JPEGs.
- Ensure all web fonts are embedded or local system fonts to avoid fallback to generic Courier/Times.
- Running Headers & Footers:
- For Chromium PDF generation, use
displayHeaderFooter: truewith standard footer templates:<div style="font-size: 9px; text-align: right; width: 100%; padding-right: 15mm;"><span class="pageNumber"></span> / <span class="totalPages"></span></div>.
- For Chromium PDF generation, use
- Color & Print Contrast:
- Enable
printBackground: truein the browser renderer so background cards and table fills render faithfully. - Maintain pure
#000000or#111827for body copy; avoid pale grey text that washes out on office printers.
- Enable
Implementation Pattern (Headless Chromium Print)
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.
- 5d ago First seen · 92 lines · 53 tokens per session scan A 7f28b719e750
pdf is a skill published in the GitHub repository WrongStack/WrongStack (376 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,200 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-10-11.
Other skills, from other repositories
ai-provider-claude-vision
Image understanding and document analysis with Claude's multimodal capabilities -- image input formats, PDF processing, multi-image patterns, structured extraction, and token cost estimation.
pdf-conversion-router
Use when converting a PDF into another format such as Markdown, HTML, text, JSON, DOCX, or structured notes and the agent must choose the best extraction route, settings, and cleanup strategy for maximum fidelity and readability.
nature-reader
A tool that turns a complete research paper into a source-grounded Markdown reading document with English and Chinese text side by side. It keeps sections, figures, tables, captions, and traceable page or block references together.
pdf-official
This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see reference.md. If you need to fill out a PDF form, read forms.md and follow its instructions.
2slides-ppt-generator
AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize documents into decks, add AI voice narration, and export pages/audio. Use for any "make slides", "create a deck", or "slides from this document" request.
oo-api2pdf
API2PDF (api2pdf.com). Use this skill for ANY API2PDF request — searching and reading data. Whenever a task involves API2PDF, use this skill instead of calling the API directly.