Skill by asgeirtj
PDF is an agent skill that creates, converts and edits PDF files. It routes each request by document type, covering reports, posters, academic papers and processing of existing PDFs.
Install pdf
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/GLM/skills/pdf ~/.claude/skills/pdfRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/GLM/skills/pdf ~/.gemini/antigravity-cli/skills/pdfAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
PDF is a skill that routes document requests into four workflows: reports, creative visuals, academic LaTeX, and processing existing PDFs. It converts Office files, HTML and LaTeX into PDF, and it can turn PDFs into images, text or tables. Common actions include merging, splitting, extracting and form filling.
Reports are built with ReportLab, posters and creative layouts with Playwright, and papers with Tectonic. The core Python packages cover the report route, while Playwright, Chromium and Tectonic are optional and are only installed after the user is asked. The skill is aimed at people who need to convert, export, merge or split documents into PDF.
Written from the project's SKILL.md and checked against it.
What it can do
- Report generationBuilds reports, proposals, contracts, invoices and exam papers with ReportLab.
- Creative layoutsCreates posters, invitations, certificates and business cards with Playwright.
- Academic papersTypesets papers, theses and math-heavy documents with LaTeX through Tectonic.
- Office to PDFConverts Word, PowerPoint, Excel, OpenDocument, RTF, CSV and TXT files to PDF.
- HTML to PDFConverts HTML pages and posters to PDF.
- PDF extractionExtracts text, tables and images, and renders PDF pages as images.
- Merge and splitCombines several PDFs into one file or splits a PDF into parts.
- Form fillingFills in fields of an existing PDF form.
What you need
- Python 3
- Core Python packages: reportlab, pypdf, PyMuPDF, pikepdf, pdfplumber
- A TrueType CJK font for Chinese, Japanese or Korean text
- Optional: Playwright and Chromium
- Optional: Tectonic for LaTeX documents
Try asking
- Convert this Word document to PDF.
- Merge these three PDF files into one.
- Extract the tables from this PDF into a file.
Good to know
- Playwright, Chromium and Tectonic are optional and are installed only after asking the user.
- Content with emoji is routed to the creative workflow because ReportLab renders emoji as squares.
- The license is proprietary; LICENSE.txt has the complete terms.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: GLM/skills/pdf/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md72 KB -
briefs/academic.md45 KB -
briefs/creative-fixed-canvas.md48 KB -
briefs/creative-flow.md10 KB -
briefs/creative.md46 KB
Show all 23 files
-
briefs/poster.md33 KB -
briefs/process-advanced.md8 KB -
briefs/process.md18 KB -
briefs/report.md70 KB -
briefs/resume.md10 KB -
configs/components.md5 KB -
configs/fonts.md3 KB -
configs/visual_framework.md13 KB -
env_setup/setup.md16 KB -
typesetting/charts.md12 KB -
typesetting/cover-backgrounds.md16 KB -
typesetting/cover.md14 KB -
typesetting/fill-engine.md20 KB -
typesetting/geometry.md6 KB -
typesetting/overflow.md22 KB -
typesetting/pagination.md13 KB -
typesetting/palette.md7 KB -
typesetting/typography.md297 B
Alternatives to pdf
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
pdf: common questions
Can it convert Word and PowerPoint files to PDF?
Yes. The source lists .docx, .doc, .pptx, .ppt and other Office formats as conversions to PDF.
How does it choose how to build a document?
It routes by document type. Reports use ReportLab, posters and creative layouts use Playwright, and academic papers use Tectonic.
Does it install fonts on its own?
It checks for suitable local fonts first. It does not install fonts without the user's confirmation.
How do I install pdf?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pdf free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is pdf safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pdf?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
