minimax-pdf

Create, edit, and style PDF documents with Python scripts and design tokens.

2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/hgxszhj-pixel/MiniMax-AI-skills --skill minimax-pdf-hgxszhj-pixel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/hgxszhj-pixel/MiniMax-AI-skills/tree/main/skills/minimax-pdf
Command: npx skills add https://github.com/hgxszhj-pixel/MiniMax-AI-skills --skill minimax-pdf-hgxszhj-pixel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, reportlab, pypdf, node.js, playwright, chromium, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the creation and editing of visually polished PDFs, ensuring consistent design and reducing manual work.

Core Features & Use Cases

  • PDF Creation: Generate new PDFs from scratch with customizable templates and design tokens.
  • Form Filling: Fill existing PDF forms programmatically.
  • Document Formatting: Apply design to existing documents for a polished look.
  • Use Case: Create a professional-looking report or proposal in minutes by selecting a template and inputting your content.

Quick Start

Run the following command to create a new PDF with the 'proposal' template and 'report' content:

bash scripts/make.sh run --type proposal --content content.json --out report.pdf

Frequently Asked Questions about minimax-pdf

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

FAQPage Schema
How do I automate PDF generation with a consistent design system?

Automated PDF generation uses Python scripts and design tokens to apply a consistent visual identity across multiple documents. This approach leverages a token-based system to programmatically style PDFs, ensuring visual consistency and reducing manual formatting work.

Can I fill existing PDF forms programmatically with Python?

Yes, you can fill existing PDF forms programmatically. The process uses Python scripts and the pypdf library to parse documents and populate form fields automatically, automating data entry and ensuring accurate, consistent document completion.

Do I need Node.js and Chromium to create PDF documents?

Yes, Node.js with Playwright and Chromium is required for rendering visually polished PDFs. This environment handles the visual rendering alongside Python, reportlab, and pypdf, which are used for the document creation, parsing, and styling processes.

What's the best way to apply consistent formatting across multiple PDFs?

The best way to apply consistent formatting is by using a token-based design system. By defining document styling through design tokens, Python scripts can automatically apply the exact same visual identity and formatting rules across all generated and edited PDF documents.

How do I generate a styled report from a JSON file?

Generate a styled report by running a shell script that passes a JSON content file and a template type to the Python automation scripts. The scripts parse the JSON content and apply the selected template's design tokens to output a polished PDF document.

Can I use reportlab to apply a token-based design system to existing documents?

Yes, reportlab is used alongside Python scripts to apply design tokens and format existing documents. This allows you to take unstyled or plain content and programmatically apply a polished, consistent visual design without manual layout adjustments.