minimax-pdf

Create, fill, or reformat PDFs using a token-driven design pipeline.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires reportlab, pypdf, matplotlib, and includes scripts (resource) components.

What problem does it solve?

Content creation for professional PDFs requires both layout design and consistent typography; this skill provides an automated, token-driven pipeline to produce print-ready PDFs.

Core Features & Use Cases

  • End-to-end PDF creation from content with a consistent design system.
  • Form filling: populate existing PDFs with user data.
  • Reformatting: convert Markdown or text into styled PDFs from content JSON.

Quick Start

Create a polished PDF from a Markdown document by running the full CREATE pipeline.

Frequently Asked Questions about minimax-pdf

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

FAQPage Schema
How do I convert Markdown to a styled PDF document?

You can convert Markdown to a styled PDF document by using the REFORMAT pipeline. This route transforms your text or Markdown content into a structured JSON format and applies a token-driven design system to generate a print-ready PDF.

What is a token-driven design system for PDF rendering?

A token-driven design system for PDF rendering uses predefined style tokens to enforce consistent layout and typography. It standardizes visual elements across documents, ensuring professional and uniform output without manual formatting adjustments.

Can I fill an existing PDF form with user data programmatically?

Yes, you can fill an existing PDF form with user data programmatically. The Skill provides a dedicated FILL pipeline route specifically designed to populate existing PDF templates with your structured data.

Do I need Node.js and Playwright to generate PDFs?

Yes, you need Node.js and Playwright to generate PDFs because the rendering pipeline uses render_cover.js. The workflow also depends on Python libraries like reportlab, pypdf, and matplotlib to execute the full document creation process.

What is the best way to create a print-ready PDF from content?

The best way to create a print-ready PDF from content is using the CREATE pipeline. It orchestrates cover generation, body rendering, and merging through a token-based design workflow to produce polished, professional documents.

Does this PDF creation workflow support adding charts and visualizations?

Yes, this PDF creation workflow supports adding charts and visualizations. The pipeline includes matplotlib as a core dependency, allowing you to embed graphical plots and data visualizations directly into your generated PDF documents.