minimax-pdf for Openclaw

A specialized skill for generating professional, print-ready PDF documents from HTML with stable pagination and academic-grade citation support.

krisliu16
v1.0.0
Mar 7, 2026
0
5.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install minimax-pdf

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install minimax-pdf using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is minimax-pdf?

minimax-pdf is a high-fidelity document production skill designed for Openclaw Skills that prioritizes an HTML-first workflow to create reports, research papers, and structured technical documents. Unlike basic screenshot-based conversion tools, this skill ensures searchable text, predictable layouts, and stable pagination across Linux runtimes, making it ideal for professional deliverables.

The skill operates under a strict technical contract that favors print-academic aesthetics over web-dashboard styles. By utilizing standardized CSS page models and explicit markup labels, it avoids the common pitfalls of browser-based printing, ensuring that complex elements like multi-page tables, citations, and mathematical formulas render perfectly every time.

minimax-pdf Use Cases

  • Generating professional business and technical reports with automated pagination.
  • Creating academic-style research papers featuring IEEE numeric citations and verifiable references.
  • Transforming and reformatting existing content into structured, searchable PDF documents.
  • Building complex manuals that require precise cross-referencing and computed tables of contents.
  • Automating the production of branded cover pages and data-dense tables for enterprise deliverables.

How minimax-pdf Works

  1. Intent Parsing: The skill first classifies the request into one of four pipelines: Build, Transform, Process Existing PDF, or LaTeX Compilation.
  2. Content Governance: It establishes language policies and outline preservation rules to ensure the output matches the user's structural intent.
  3. Blueprint Application: The system applies specific HTML/CSS blueprints designed for print, including overflow guards and A4 page model setups.
  4. Fidelity Guarding: Before conversion, the skill runs check-passes to validate image counts, hyperlink integrity, and anchor mapping.
  5. Conversion Execution: It utilizes the html_to_pdf entrypoint to generate the final document, ensuring all text remains selectable and searchable.

minimax-pdf Setup

To utilize minimax-pdf within the Openclaw Skills framework, ensure your environment is configured for the html_to_pdf conversion pipeline.

# Standard setup requires no manual Paged.js injection
# Ensure your HTML includes the required overflow guards:
pre, table, figure, img {
  max-inline-size: 100%;
  box-sizing: border-box;
}

Direct your agent to use the html_to_pdf tool exclusively, avoiding any manual browser printing or screenshot-based hacks to maintain text quality.

minimax-pdf Data Schema & Taxonomy

The skill organizes documents using standard HTML5 semantic elements enhanced by specific data attributes for layout control:

Element Attribute Purpose
figcaption data-caption Explicitly labels figures (e.g., "Figure 1") to avoid CSS counter instability.
caption data-caption Used for table numbering and accessibility.
div.eq-block data-eq Manages explicit numbering for KaTeX mathematical formulas.
a.citation href Links to specific reference IDs for citation integrity.
nav.toc-sheet aria-label Defines the container for the auto-generated Table of Contents.

minimax-pdf Advanced Features

  • Print-Aware Pagination: Uses target-counter CSS logic to compute real page numbers for Tables of Contents and in-text references.
  • Full-Bleed Cover Templates: Advanced CSS grid layouts for professional cover pages with support for centered metadata and background layers.
  • Academic Citation Engine: Native support for IEEE numeric styles with automated footnote positioning and reference list anchoring.
  • Intelligent Layout Tuning: A prioritized adjustment guide that solves overflow or density issues by tuning line-heights and margins rather than aggressive font scaling.
  • Math & Diagram Optimization: Integrated support for KaTeX auto-rendering and optimized static Mermaid diagram handling for stable print output.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*