minimax-pdf

Generate, fill, and reformat PDFs from Markdown or text inputs.

8|1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill minimax-pdf-tugoukezhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/Tugoukezhang/workbuddy-skills/tree/main/skills/PDF%20%E6%96%87%E6%A1%A3%E7%94%9F%E6%88%90
Command: npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill minimax-pdf-tugoukezhang

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDFs created without a design system often lack consistent typography, color, and structure, making print-ready documents time-consuming to produce. Minimax-pdf automates the token-driven design pipeline to generate polished PDFs that look professional and cohesive.

Core Features & Use Cases

  • CREATE: generate a new PDF from content.json using a token-based cover and consistent inner pages.
  • FILL: fill form fields in existing PDFs while preserving layout and typography.
  • REFORMAT: convert Markdown/text into a print-ready PDF or apply a unified style to an existing document.
  • Use Case: teams delivering client reports or proposals can automate the entire document pipeline from content to final PDF.

Quick Start

Run the full CREATE pipeline to generate a sample PDF by executing bash make.sh run --title "Sample PDF" --type report --author "Author" --date "Today" --out sample.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 consistent typography and color?

To automate PDF generation with consistent typography and color, use a token-driven design pipeline that orchestrates cover and body rendering. This approach applies a unified palette and structure to generate polished, print-ready documents automatically.

Can I fill form fields in an existing PDF without breaking the layout?

Yes, you can fill form fields in an existing PDF without breaking the layout. The pipeline supports a FILL mode that populates interactive PDFs while preserving their original layout and typography.

How do I convert Markdown to a print-ready PDF?

You can convert Markdown to a print-ready PDF using the REFORMAT mode. This feature processes Markdown or text inputs and applies a token-based design system to output a cohesive, professionally styled document.

Do I need Playwright and matplotlib to render PDFs with charts?

Yes, you need Playwright for rendering and matplotlib for charts. The pipeline relies on these dependencies alongside reportlab and pypdf to render covers, body pages, and graphical chart elements.

What's the best way to create a client report PDF from structured content?

The best way to create a client report PDF from structured content is using a CREATE mode that reads content.json. It leverages a token-based cover and consistent inner pages to deliver a cohesive document pipeline.

Why do my generated PDFs lack consistent structure and design?

Generated PDFs lack consistent structure and design when created without a token-driven design system. Applying an automated pipeline ensures unified typography, color, and structure across all pages.