minimax-pdf

Generate PDFs from HTML and process existing PDFs with Python tools.

21|11|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/nullpond/minimax-skill-analysis --skill minimax-pdf-nullpond
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/nullpond/minimax-skill-analysis/tree/main/minimax/original/minimax-pdf
Command: npx skills add https://github.com/nullpond/minimax-skill-analysis --skill minimax-pdf-nullpond

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, pdf-lib, pikepdf, pdfplumber, tectonic, LibreOffice, and includes scripts (resource) components.

What problem does it solve?

This Skill provides an integrated approach to generate high-quality PDFs from HTML (via Playwright + Paged.js) and to manipulate existing PDFs using Python tools for reading, extracting, merging, splitting, and filling forms.

Core Features & Use Cases

  • HTML→PDF generation with HTML/CSS, KaTeX, and Mermaid support, powered by Paged.js for professional layouts.
  • PDF processing: read metadata, extract text and tables, merge/split pages, rotate/crop, and fill interactive forms using Python libraries like pikepdf and pdfplumber.
  • LaTeX route: native PDF creation via TeX/LaTeX (Tectonic) for users who prefer LaTeX workflows.

Quick Start

Convert document.html to document.pdf with the HTML route, or use the Python CLI to perform PDF operations on an existing file.

Frequently Asked Questions about minimax-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert HTML to PDF with professional layouts and CSS support?

HTML to PDF conversion uses Playwright and Paged.js to render HTML/CSS into high-quality PDFs, supporting KaTeX for math and Mermaid for diagrams. This approach automates the end-to-end PDF generation workflow directly from your HTML content.

Can I extract text and tables from an existing PDF?

Yes, you can extract text and tables from existing PDFs using Python libraries like pdfplumber. The PDF processing workflow also supports reading metadata, merging, splitting pages, and filling interactive forms via pikepdf.

What's the best way to merge or split PDF pages programmatically?

The best way to merge or split PDF pages is using Python tools like pikepdf and pdfplumber. This workflow supports page-level manipulation including rotating, cropping, and modifying existing PDF documents programmatically.

Do I need Playwright installed to generate PDFs from HTML?

Yes, Playwright is required for the HTML to PDF generation route. Python libraries like pikepdf and pdfplumber handle processing existing PDFs, while optional LaTeX PDF creation is available via the Tectonic engine.

Does this PDF workflow support filling interactive forms?

Yes, filling interactive PDF forms is supported using the pikepdf Python library. This allows you to programmatically read, modify, and populate form fields within existing PDF documents.

Can I use LaTeX to create PDFs instead of HTML?

Yes, native PDF creation via LaTeX is supported using the Tectonic engine. This route provides an alternative to the HTML and Paged.js workflow for users who prefer TeX-based document generation.