markpdf

markpdf is a skill for Claude Code, Codex from gausoft/markpdf-skill. It costs 56 tokens per session (2,419 once invoked), scanned A, original, MIT.

A document-conversion service that turns Markdown, a plain-text writing format, into themed PDFs, slide decks, styled web pages, and shareable links.

In plain words
What is it for?
Use it to create reports, pitches, academic papers, résumés, presentations, printable documents, or themed HTML pages from Markdown.
Why use it?
It removes the need to format the same Markdown content separately for reports, presentations, printable documents, or sharing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create reports, pitches, academic papers, résumés, presentations, printable documents, or themed HTML pages from Markdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gausoft/markpdf-skill/markpdf
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 gausoft/markpdf-skill --skill markpdf
Clone the repo
git clone --depth 1 https://github.com/gausoft/markpdf-skill

Made for: Claude Code, Codex.

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 markpdf

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gausoft/markpdf-skill/markpdf"><img src="https://agentmods.dev/badge/skills/gausoft/markpdf-skill/markpdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,419 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00056 $0.02419
Opus 5.5 $0.00022 $0.00968
Sonnet 5.5 $0.00011 $0.00484
Haiku 4.5 $0.00006 $0.00242

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/open-url.sh, scripts/render.sh), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `scripts/render.sh` — curl fallback when MCP isn't installed
markpdf/SKILL.md · 187 lines

How it starts

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

MarkPDF Skill

MarkPDF turns Markdown into production-grade PDFs, decks, and HTML through a hosted MCP server. This skill teaches Claude:

  1. The default opinionated workflow (what to do when the user just says "make a PDF")
  2. The decision tree for variations (custom theme, sharing, password, email gate, etc.)
  3. The OS-aware delivery step (auto-open the result when possible)

Read references/workflows.md for the full playbook with copy-paste recipes. This file is the index + golden rules.

When to use this skill

Trigger on requests like:

  • "Make this a PDF / printable / executive report / brochure"
  • "Turn this into slides / a pitch deck / a PowerPoint / a Marp deck"
  • "Style this as a Notion-like doc / academic paper / corporate report"
  • "Share this document with a link" / "Send to alice@…"
  • "Apply theme X to this Markdown"

Do not use this skill for:

  • Plain in-chat Markdown rendering (no export needed)
  • PDFs of arbitrary HTML/CSS unrelated to Markdown
  • Editing existing PDFs (MarkPDF only generates)

The 7 MCP tools

Tool Use it when Quota
whoami Always call first if unsure of tier/quota Free
list_themes User asks "what themes are available?" or you need to verify a slug Free
redeem_license User has a Pro license key and wants to upgrade in-place Free
convert_markdown_to_html Iterating on styling, embedding, previewing Free
convert_markdown_to_pdf Final document export Yes
convert_markdown_to_slides Slide deck (PDF or PPTX) — Marp-compatible Yes
create_share_link Default delivery channel — clean URL, optional gating Free

🎯 The default workflow (do this unless told otherwise)

When a user gives you Markdown content and asks for any kind of styled output:

┌─ 1. Detect intent (PDF | slides | HTML)  ──────────────────┐
│                                                              │
│  2. Pick a theme (intent → theme map, see below)             │
│                                                              │
│  3. whoami (skip if already done this session)               │
│                                                              │
│  4. If user has a Pro license key in context AND they're     │
│     on free tier → propose redeem_license (don't force)      │
│                                                              │
│  5. Generate the artifact:                                   │
│     - PDF      → convert_markdown_to_pdf                     │
│     - Slides   → convert_markdown_to_slides                  │
│     - HTML     → convert_markdown_to_html                    │
│                                                              │
│  6. Create a share link (always, in parallel)                │
│     → create_share_link returns markpdf.app/d/<id>           │
│                                                              │
│  7. Deliver to the user:                                     │
│     a) Show the SHARE link prominently (markpdf.app/d/…)     │
│     b) Show the download link as a secondary option          │
│     c) Auto-open the share link in the browser if possible   │
│        (see "OS-aware open" below)                           │
│                                                              │
│  8. Report quota status if free tier (X/2 today, 00:00 UTC)  │
└──────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 187 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. 1mo ago First seen · 187 lines · 56 tokens per session scan A 006e44839abf

Subscribe to this mod's changes

markpdf is a skill published in the GitHub repository gausoft/markpdf-skill (5 stars, last pushed 5mo ago), licensed MIT. It adds 56 tokens to every session and 2,419 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

wong

Compile everything Claude did today across ALL sessions and repos into one dated teaching-guide markdown saved in "/Daily Log", render it as a phone-readable PDF, and upload to Google Drive. Safe to run multiple times a day — it appends only newly-uncovered work to that day's single file rather than overwriting. Use…

ShockRock2004/kamar-taj · 144 tokens

claude-students

Transforma una carpeta cruda de material de un parcial universitario (PDFs, DOC/DOCX, PPT, audios .ogg de WhatsApp, capturas) en un material de estudio polished y completo — HTML SOTA autocontenido + paquete de artefactos de NotebookLM (podcast en español, infografía, guía de estudio, briefing doc, mind map, quiz…

josuebustosn/claude-students · 234 tokens

pdf

PDF files: create, read, merge, fill, OCR, edit text.

NousResearch/hermes-agent · 18 tokens

wowerpoint

Turn one document into a kawaii NotebookLM slide deck. Use for "wowerpoint this", "make a deck about ", "turn this report into slides", or any request to render a single document as shareable narrative slides.

thedotmack/claude-mem · 53 tokens

save-as-pdf

Reformat the current HTML design into a paginated, paper-ready PDF. The "Instant" export already gives the user a PDF at the design's native pixel size — this path is for when they want real pages.

asgeirtj/system_prompts_leaks · 9 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

asgeirtj/system_prompts_leaks · 92 tokens