minimax-docx for Openclaw

A high-performance skill for creating and validating professional .docx files using C# OpenXML and Python.

luaqnyin
v1.0.0
Mar 30, 2026
0
815
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install minimax-docx-pro

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-docx-pro 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-docx?

minimax-docx is a professional-grade document composition engine designed for developers who need precise control over Word document generation. As part of the Openclaw Skills library, it avoids high-level wrappers like python-docx in favor of direct OpenXML manipulation via .NET 9.0 and Python. This ensures that every file produced meets strict enterprise standards for visual hierarchy, schema validation, and cross-application compatibility. Whether you are building reports from scratch or applying complex data to existing templates, this skill provides the rigorous auditing and rendering tools necessary for production environments. By leveraging Openclaw Skills, developers can automate document workflows with confidence and technical precision.

minimax-docx Use Cases

  • Generating professional enterprise reports with strict visual hierarchy and consistent branding using Openclaw Skills.
  • Automating the population of complex .docx templates with dynamic data for legal or financial workflows.
  • Auditing existing Word documents for schema errors and residual placeholder text before distribution.
  • Integrating high-fidelity document generation into automated CI/CD pipelines using CLI-based execution.

How minimax-docx Works

  1. Identify the execution lane based on the project requirements: Create for new documents or Template-Apply for existing files.
  2. For the Create lane, the skill utilizes C# and the OpenXML SDK to build the document structure from the ground up.
  3. In the Template-Apply lane, Python scripts perform deterministic XML patching to fill templates within the Openclaw Skills ecosystem.
  4. The docx_engine.py audit command is triggered to ensure the output passes rigorous technical gates and schema validation.
  5. A visual gate check is performed to confirm heading hierarchy, color palettes, and margin specifications meet professional standards.
  6. Final files are verified for residual placeholders to ensure no drafting markers remain before the document is marked as ready.

minimax-docx Setup

To get started with this component of Openclaw Skills, ensure you have Python 3 and the .NET 9.0 SDK installed on your system. Follow these steps to configure the environment:

# Verify your environment and dependencies
python3 <skill-path>/docx_engine.py doctor

# Build a new document using the Create lane
python3 <skill-path>/docx_engine.py render [output.docx]

# Apply data to an existing template using the .NET project
dotnet run --project <skill-path>/src/DocForge.csproj -- from-template <template.docx> <output.docx>

minimax-docx Data Schema & Taxonomy

The skill organizes data through a combination of C# templates and Python validation scripts to maintain high standards within Openclaw Skills.

Component Purpose Technology
Templates Defined in src/Templates/*.cs for reusable code patterns C#
Core Logic OpenXML primitives in src/Core/*.cs for direct manipulation C#
Engine CLI driver and validation scripts in docx_engine.py Python
Output Validated .docx files with 72pt+ margins and standard fonts OpenXML
Audit Logs Validation results and residual placeholder checks JSON/Text

minimax-docx Advanced Features

  • Multi-lane execution strategy allowing for both fresh creation and template patching within Openclaw Skills.
  • Native OpenXML SDK integration for professional, low-level document control without external wrappers.
  • Automated residual placeholder detection to prevent unfinished documents from being distributed.
  • Strict schema auditing ensures all generated files are fully compatible with Microsoft Word and LibreOffice.
  • Robust styling engine that enforces color palette constraints and consistent visual hierarchies for a professional finish.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*