make-pdf

make-pdf is a skill for Claude Code, Codex from timurgaleev/vibestack. It costs 37 tokens per session (2,972 once invoked), scanned A, original, MIT.

A tool for turning code, Markdown, or HTML into formatted PDF documents. It can produce items such as cover pages, contents pages, tables, watermarks, and documents with chosen page sizes and margins.

In plain words
What is it for?
Use it to create PDF reports, export existing content to PDF, or generate a PDF preview from the current repository.
Why use it?
It removes the manual work of laying out source material for PDF delivery. It is useful when a report or preview needs consistent document formatting.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/timurgaleev/vibestack/make-pdf
Any agent
npx skills add timurgaleev/vibestack --skill make-pdf
Clone the repo
git clone --depth 1 https://github.com/timurgaleev/vibestack

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 make-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/timurgaleev/vibestack/make-pdf.svg)](https://agentmods.dev/skills/timurgaleev/vibestack/make-pdf)
Your own site
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/make-pdf"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/make-pdf.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,972 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.02972
Opus 5 $0.00018 $0.01486
Sonnet 5 $0.00007 $0.00594
Haiku 4.5 $0.00004 $0.00297

Measured today against content hash f6031b8e185a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

make-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 today.

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.

skills/make-pdf/SKILL.md · 352 lines

How it starts

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

When to invoke

Use when asked to "make pdf", "generate pdf", "export to pdf", "create pdf report", or "pdf preview".

Preamble

eval "$(~/.vibestack/bin/vibe-slug 2>/dev/null)" 2>/dev/null || SLUG="unknown"
_LEARN_FILE="${VIBESTACK_HOME:-$HOME/.vibestack}/projects/${SLUG:-unknown}/learnings.jsonl"
if [ -f "$_LEARN_FILE" ]; then
  _LEARN_COUNT=$(wc -l < "$_LEARN_FILE" 2>/dev/null | tr -d ' ')
  echo "LEARNINGS: $_LEARN_COUNT entries loaded"
  if [ "$_LEARN_COUNT" -gt 5 ] 2>/dev/null; then
    ~/.vibestack/bin/vibe-learnings-search --limit 5 2>/dev/null || true
  fi
else
  echo "LEARNINGS: none yet"
fi

{{include lib/snippets/session-host.md}}

{{include lib/snippets/decision-brief.md}}

{{include lib/snippets/working-protocols.md}}

{{include lib/snippets/state-protocols.md}}

Step 0: Find the make-pdf renderer

# Env override first, then the launcher installed with this skill (resolves
# the repo's compiled binary or runs the CLI on bun).
P="${MAKE_PDF_BIN:-${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/make-pdf}/bin/vibe-make-pdf}"
[ -x "$P" ] && "$P" version >/dev/null 2>&1 && echo "FOUND: $P" || echo "NOT_FOUND"

If NOT_FOUND, stop and tell the user:

make-pdf renderer not found. It ships with the vibestack repo. Run: cd ~/data/vibestack && bun install && bun run build:make-pdf && ./install Or set $MAKE_PDF_BIN to the path of an existing make-pdf binary.

After building, re-run /make-pdf.


Step 1: Detect intent

Parse the user's input to determine what to do:

  1. /make-pdf with no args — Auto-detect: look for markdown files or ask what to convert
  2. /make-pdf preview <file>Preview mode: generate and open a PDF preview
  3. /make-pdf setupSetup mode: run $P setup to configure defaults
  4. /make-pdf <file or description>Generate mode: produce a PDF from the specified input

Step 2A: Generate mode

  1. Identify the source file(s). If the user provided a path, use it. If not, ask:
    What should I turn into a PDF?
    A) A specific file (provide path)
    B) All markdown files in this directory
    C) A generated report (I'll describe what to include)
    D) Something else
    

Read the full file on GitHub · 352 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. today Changed · +85 lines f6031b8e185a
  2. 4d ago First seen · 267 lines · 37 tokens per session scan A ed6ef3ad81ca

Subscribe to this mod's changes

make-pdf is a skill published in the GitHub repository timurgaleev/vibestack (6 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,972 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

pptx-maker

Generate or restyle a PowerPoint deck. Use when the user wants to create or edit a .pptx presentation, build slides from text or a URL, or design a reusable slide style.

kirodotdev/KiroCrew · 43 tokens

init

Use only when the user explicitly names Cladding and asks to initialize, adopt, or refresh it; never use for an ordinary project creation or implementation request. Scaffold from an idea, planning document, or existing project through the MCP prepare/apply flow.

qwerfunch/cladding · 52 tokens

cladding-init

Use only when the user explicitly names Cladding and asks to initialize, adopt, or refresh it; never use for an ordinary project creation or implementation request. Scaffold from an idea, planning document, or existing project through the MCP prepare/apply flow.

qwerfunch/cladding · 54 tokens

ai-multimodal

Process and generate multimedia content using AI APIs. Use when working with images, audio, video, or document analysis.

ihatesea69/kiro-kit · 29 tokens

noteplan

Read, search, create, and edit NotePlan notes and daily logs directly via the filesystem. Use this skill whenever the user references NotePlan, daily notes, weekly notes, project notes, or wants to check/update their planning. Triggers: 'noteplan', 'daily note', 'today's note', 'weekly note', 'check my notes', 'add to…

jaansokk/cursor_tools · 105 tokens

document-skills-docx

Process and generate Word documents (DOCX) programmatically. Use when creating reports, extracting text from documents, or automating document generation in data pipelines.

ihatesea69/kiro-kit · 37 tokens