Skip to main content
skill CX Codex

pdf-document — Claude Code skill: what it does, how to install

The pdf-document skill for Claude Code builds formatted PDF documents by writing HTML and CSS and printing them via a headless browser. The agent runs it when requested to generate invoices, quotes, reports, or CVs.

no license ★ 285 updated 2026-11-17

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add makushingu/harness-maxxing --skill pdf-document -a claude-code
Open on GitHub

What pdf-document does

The agent writes a self-contained HTML file with inline CSS and system fonts, then runs a terminal command to print the document into PDF. The output gets verified through text extraction and rendering the first page into a PNG image for visual review. The source HTML stays intact for future edits.

The setup requires a server headless browser, which can be updated with a root command if missing. Secret keys and bank details are excluded from documents unless explicitly provided by the user.

What it helps with

  • generate a PDF report from HTML and CSS
  • create an invoice or price quote in PDF
  • compile a resume or guide into a printable PDF
  • convert a page layout into a PDF document

Example prompts for the agent

  • Make a CV in PDF format for my profile
  • Generate an invoice PDF for the order
  • Create a project report PDF document

How to install pdf-document

1Skills CLI (Vercel)

npx skills add makushingu/harness-maxxing --skill pdf-document -a claude-code

2Manually: put the files in place

~/.claude/skills/pdf-document/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pdf-document/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pdf-document

How to install pdf-document in Claude Code?

Run npx skills add makushingu/harness-maxxing --skill pdf-document -a claude-code, then refer to ~/.claude/skills/pdf-document/SKILL.md.

What does pdf-document do?

It writes HTML and CSS for the requested document layout, prints it to PDF using a headless browser, and verifies the visual result.

What is needed to run pdf-document?

It requires a server headless browser, which is installed or updated via maxxing deps update run as root.

Similar skills

All skills for Writing and docs →

From the same set21

The whole set →
image-edit image-edit is a Claude Code skill that resizes, crops, converts and compresses images. It activates for requests to edit a single image or process a folder in bulk. CX Codex +1 ★ 285repo stars seo-audit The seo-audit skill for Claude Code conducts a technical SEO audit of your website and generates a prioritized report. The agent checks indexing, meta tags, site speed, and internal links. CX Codex +1 ★ 285repo stars maxxing-mcp maxxing-mcp is a Claude Code skill that manages MCP servers in Harness Maxxing. It activates for server setup, connection checks, OAuth sign-in, and troubleshooting. CX Codex +1 ★ 285repo stars web-scraping The web-scraping skill for Claude Code extracts data from websites into Markdown, CSV, or JSON. It triggers when asked to collect or monitor web content. CX Codex +1 ★ 285repo stars memory memory is a Claude Code skill that saves lasting facts to the appropriate memory file after a substantial exchange. It handles decisions, preferences, and project changes, while skipping one-off questions. CX Codex +1 ★ 285repo stars memory-compaction memory-compaction is a Claude Code skill that shortens and cleans up bloated memory.md files. It triggers automatically when limits are exceeded or upon user request. CX Codex +1 ★ 285repo stars maxxing-tasks maxxing-tasks is a Claude Code skill that reads and edits the Harness Maxxing task board. It activates for requests to add or close a task, or check what is due today. CX Codex +1 ★ 285repo stars maxxing-backup The maxxing-backup skill for Claude Code saves the agent's memory workspace to a private GitHub repository. It runs on a daily schedule or upon specific user commands. CX Codex +1 ★ 285repo stars

Project sponsors

Companies that keep this analytics open