pdf

pdf is a skill for Claude Code from drn/dots. It costs 31 tokens per session (1,561 once invoked), scanned A, original, MIT.

A tool for turning conversation content into a styled PDF file. PDF is a document format that is easy to share while preserving its layout.

In plain words
What is it for?
Exporting the latest answer, a chosen topic, or supplied text as a shareable PDF with headings, tables, lists, code, links, and sources preserved.
Why use it?
It removes the need to copy, format, and save research, summaries, or other conversation content manually.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Good fit Exporting the latest answer, a chosen topic, or supplied text as a shareable PDF with headings, tables, lists, code, links, and sources preserved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drn/dots/pdf
View source ↗ drn/dots
Install

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.

Any agent
npx skills add drn/dots --skill pdf
Clone the repo
git clone --depth 1 https://github.com/drn/dots

Made for: Claude Code.

Wrote 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.

agentmods badge for pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/drn/dots/pdf/github.svg)](https://agentmods.dev/skills/drn/dots/pdf)
Your own site
<a href="https://agentmods.dev/skills/drn/dots/pdf"><img src="https://agentmods.dev/badge/skills/drn/dots/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.

agentmods 80×15 button for pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/drn/dots/pdf"><img src="https://agentmods.dev/badge/skills/drn/dots/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,561 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 47
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.01561
Opus 5.5 $0.00012 $0.00624
Sonnet 5.5 $0.00006 $0.00312
Haiku 4.5 $0.00003 $0.00156

Measured 1mo ago against content hash 9bb4f1db214b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/md_to_pdf.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

agents/skills/pdf/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Export to PDF

Export summaries, research, or any content from the conversation to a professionally styled PDF for sharing. Also handles exporting an existing HTML file (for example, a saved Claude Artifact with inline SVG or custom CSS) directly to PDF.

Arguments

  • $ARGUMENTS - Optional: filename (without .pdf extension), "last" to export the last assistant message, or a path to an existing HTML file to export

Instructions

You are exporting content from the current conversation to a shareable PDF document.

Step 1: Identify Content to Export

First determine the content type, then what to export:

  1. Markdown/conversation content (default): a summary, research, analysis, or other text from the conversation.
    • If user says "last" or no arguments: export the most recent substantive assistant response
    • If user provides a topic: find the relevant content from the conversation about that topic
    • If user provides specific text: use that text directly
    • Continue with Steps 2-4 below.
  2. Existing HTML file (for example, a saved Claude Artifact with inline SVG or custom CSS): the user names or points to an .html file already on disk instead of asking to export conversation text. md_to_pdf.py only parses Markdown and cannot render arbitrary HTML, CSS, or inline SVG. Skip Steps 2-4 and follow "HTML File Export" instead.

Step 2: Prepare the Content

(Markdown path only — for an existing HTML file, see "HTML File Export" below.)

Clean up the content for PDF export:

  • Keep all markdown formatting (headers, tables, bullets, code blocks)
  • Remove any conversation artifacts or meta-commentary
  • Ensure links are preserved
  • Keep the "Sources" section if present

Step 3: Determine Filename and Title

Generate appropriate names:

  • Filename: Use provided argument, or generate from content (e.g., ai-orchestration-tools-2026)
    • Use lowercase, hyphens for spaces
    • Keep under 50 characters
    • Add date suffix if relevant (e.g., -2026-02-05)
  • Title: Generate a professional title from the content's main heading or topic

Read the full file on GitHub · 122 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 1mo ago Changed · +32 lines · +13 tokens per session 9bb4f1db214b
  2. 1mo ago First seen · 90 lines · 18 tokens per session scan A 759bdf478ca3

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository drn/dots (23 stars, last pushed 11d ago), licensed MIT. It adds 31 tokens to every session and 1,561 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

meta-web-to-pdf-briefing

Render a topic into a distributable PDF briefing in three steps: web search → bullet summary → styled PDF. Trigger when the user asks for a PDF briefing on a single topic.

opensquilla/opensquilla · 45 tokens

pkf-writing

Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.

Prismer-AI/PrismerCloud · 78 tokens

paper-reader

A reading assistant for computer-vision and deep-learning research papers. It can work with PDF files, arXiv papers, and papers stored in Zotero, a reference-management app.

huangkiki/dailypaper-skills · 157 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens