Moonwalker1307

PdfPecker.Skills — AI skill for Claude Code

AI community

Agent Skills and a Claude Code plugin that let AI agents make and check PDFs with PdfPecker: HTML or Markdown to PDF, page previews, text extraction and merging.

How to install PdfPecker.Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Moonwalker1307/PdfPecker.Skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What PdfPecker.Skills does

Agent Skills and a Claude Code plugin that let AI agents make and check PDFs with PdfPecker: HTML or Markdown to PDF, page previews, text extraction and merging. No browser to install.

Alternatives in AI

  • Xerj — Local-first search engine and MCP server for AI agents 12.5k ★
  • LLM Aided OCR — Enhances Tesseract OCR output using LLMs (local or API) for error correction, smart chunking, and markdown for 3k ★
  • Any2pdf — Markdown to professionally typeset PDF — an agent skill for AI coding assistants 202 ★

README

PdfPecker Skills

Agent Skills that let AI agents make and check PDFs with [PdfPecker](https://pdfpecker.net/): HTML or Markdown to PDF in about a millisecond a page, page previews the agent can look at, text extraction and merging. There is no browser to install and no JavaScript: one `pip install pdfpecker`, about 9 MB.

Skill What it does
`pdfpecker` Writes HTML with print CSS (or Markdown), converts it, renders the pages to PNG to check them, and reads, counts and merges PDFs. Comes with an invoice and a multi-page report template.

Install

**Claude Code**: add the marketplace and install the plugin:

/plugin marketplace add Moonwalker1307/PdfPecker.Skills
/plugin install pdfpecker@pdfpecker-skills

**Claude.ai and the Claude apps**: download `pdfpecker.zip` from the [latest release](https://github.com/Moonwalker1307/PdfPecker.Skills/releases/latest) and upload it in the Skills section of Settings. Code execution must be on, with network access to PyPI so the skill can install the package.

**Claude API**: upload the same zip with the Skills API (`POST /v1/skills`) and pass its id in the request's `container.skills`, with the code execution tool.

**Other agents** that read `SKILL.md` folders: copy `plugins/pdfpecker/skills/pdfpecker` into the agent's skills folder.

Every route needs Python 3.9 or later; the skill installs `pdfpecker` from PyPI the first time it runs.

What the agent gets

python3 scripts/pdf.py html invoice.html invoice.pdf          # or: md notes.md notes.pdf
python3 scripts/pdf.py preview invoice.pdf --dpi 80           # invoice-page-1.png, ... to look at
python3 scripts/pdf.py text report.pdf --pages 1-2
python3 scripts/pdf.py merge all.pdf cover.pdf report.pdf

The skill teaches the loop that gives good PDFs: write HTML with `@page` rules for size, margins and page numbers, convert, look at the pages, fix, convert again. Its reference lists th