pdf-creator

pdf-creator is a skill for Claude Code from daymade/claude-code-skills. It costs 54 tokens per session (5,728 once invoked), scanned A, original, MIT.

A tool for turning Markdown files into formatted PDF documents, including themes, Chinese font support, and visual checks.

In plain words
What is it for?
Use it to create printable, mobile-friendly, or Chinese-language PDFs from one file or from a batch of Markdown files.
Why use it?
It avoids manually formatting documents for printing or phone reading and helps catch layout problems before delivery.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is scripts/check_table_borders.py ./pdfs/*.pdf.

Part of the daymade-docs plugin — 11 skills shipped together

Good fit Use it to create printable, mobile-friendly, or Chinese-language PDFs from one file or from a batch of Markdown files.

Compare 6 skills from other repositories ↓
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,483 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills
agentmods
npx agentmods add skills/daymade/claude-code-skills/pdf-creator

Made for: Claude Code.

Or install daymade-docs, the plugin that ships this one along with the rest of its 11 skills.

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-creator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/pdf-creator"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/pdf-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,728 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
  • Socket pass 30 Sept 2026
  • Snyk pass 30 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00054 $0.05728
Opus 5.5 $0.00022 $0.02291
Sonnet 5.5 $0.00011 $0.01146
Haiku 4.5 $0.00005 $0.00573

Measured today against content hash 6a6498c42df9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pdf-creator 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 today.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/batch_convert.py, scripts/check_table_borders.py, 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.

daymade-docs/pdf-creator/SKILL.md · 257 lines

How it starts

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

PDF Creator

Create professional PDF documents from markdown with Chinese font support and theme system.

For an existing .docx source, use docx-creator/references/word-to-pdf.md instead. Choose by the authoritative input as well as the output suffix.

When adapting a manufacturer PDF manual into a concise Chinese illustrated recipient guide, read the illustrated-manual workflow before drafting. Continue through this Skill's normal theme, backend and visual self-check requirements after assembling the Markdown source.

Quick Start

Every scripts/… path below is relative to this skill's own directory — run the commands from there, or substitute the absolute path. Running them from the directory holding your markdown fails with Failed to spawn: 'scripts/md_to_pdf.py'. Omitting the output path is allowed and derives it from the input's basename (input.md → input.pdf, in the input's directory).

Keep relative image paths relative to the input Markdown file's directory. The converter uses that directory for both backends, including when its temporary HTML and the command's working directory are elsewhere.

# Default theme
uv run --with weasyprint scripts/md_to_pdf.py input.md output.pdf

# Source directory and filename containing spaces and Chinese
uv run --with weasyprint scripts/md_to_pdf.py \
  "guide source/操作指南.md" "guide source/操作指南.pdf"

# Use a named theme
uv run --with weasyprint scripts/md_to_pdf.py input.md --theme warm-terra

# Mobile theme
uv run --with weasyprint scripts/md_to_pdf.py input.md --theme mobile

# Batch convert all markdown files with a specific theme
uv run --with weasyprint scripts/batch_convert.py *.md --theme warm-terra --no-preview

# No weasyprint? Use Chrome backend (auto-detected if weasyprint unavailable)
python scripts/md_to_pdf.py input.md --theme warm-terra --backend chrome

# List available themes
python scripts/md_to_pdf.py --list-themes dummy.md

Themes

Use --list-themes from Quick Start to read the available theme names and descriptions. Read themes/*.css for page geometry, font stacks, colors and per-theme layout rules.

Read the full file on GitHub · 257 lines

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. today Changed · +7 lines 6a6498c42df9
  2. 4d ago Changed · +2 lines 804f2c0c33f5
  3. 22d ago Changed · +1 lines 0364326f99c6
  4. 28d ago Changed · +4 lines · -65 tokens per session 41ebd403d399
  5. 1mo ago Changed · +4 lines · -13 tokens per session f58e9a023883
  6. 1mo ago First seen · 239 lines · 132 tokens per session scan A 7075c52510a0

Subscribe to this mod's changes

pdf-creator is a skill published in the GitHub repository daymade/claude-code-skills (1,483 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 5,728 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-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

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

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