minimax-pdf

Generate polished PDFs from content.json using a token-based design system.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/Glour/ai-office-v2 --skill minimax-pdf-glour
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/Glour/ai-office-v2/tree/main/skills/minimax-pdf
Command: npx skills add https://github.com/Glour/ai-office-v2 --skill minimax-pdf-glour

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generates polished PDFs by applying a token-based design system to content, ensuring consistent aesthetics and print-ready output.

Core Features & Use Cases

  • Create from scratch: generate a cover and inner pages with a unified design system.
  • Reformat existing documents: convert Markdown/text into a styled PDF with typographic discipline.
  • End-to-end rendering: tokens.json → cover.html → cover.pdf → body.pdf → merged final.pdf with QA checks.

Quick Start

Run the full create pipeline after providing a content.json file to produce the final PDF.

Frequently Asked Questions about minimax-pdf

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

FAQPage Schema
How do I generate print-ready PDFs from Markdown using a design token system?

You can generate print-ready PDFs from Markdown by applying a token-based design system to content. This process converts text into a styled PDF with typographic discipline and a consistent cover and body.

What is the best way to automate rendering an HTML cover to PDF and merge it with body pages?

The best way to automate PDF cover rendering and merging is through an end-to-end pipeline. This pipeline renders cover.html to cover.pdf, generates body.pdf, and merges them into a final document with QA checks.

Do I need Python and Node.js to run an automated PDF generation pipeline?

Yes, you need both Python and Node.js dependencies to run the full automated PDF generation pipeline. The pipeline requires Python packages like reportlab and pypdf, alongside the Node.js playwright library.

Can I reformat existing documents into styled PDFs without rebuilding the layout from scratch?

Yes, you can reformat existing documents into styled PDFs without rebuilding from scratch. The system converts Markdown or text inputs into a consistently styled PDF using a predefined design token configuration.

What limitations exist when using matplotlib for PDF document generation?

When using matplotlib for PDF document generation, it functions as an optional dependency. The core pipeline relies primarily on reportlab and pypdf for text layout, while matplotlib integration depends on your specific rendering needs.

Does the minimax-pdf skill support creating both cover and inner pages with a unified design?

Yes, minimax-pdf supports creating both cover and inner pages with a unified design. It generates a cohesive document from scratch by applying a consistent token-based design system across all pages.