minimax-docx for Openclaw

An enterprise-grade tool for generating validated, professionally formatted Word documents with automated auditing and cross-application compatibility.

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

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install minimax-docx

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 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 robust document composition skill designed for developers who need to generate high-quality, enterprise-ready .docx files. It operates with technical precision, utilizing C# and the OpenXML SDK for creation while leveraging Python for deterministic XML patching and reading. This ensures that every document produced meets strict visual and structural standards without the overhead or limitations of standard wrapper libraries like python-docx.

As a core part of the Openclaw Skills ecosystem, it provides two distinct execution lanes: a Create lane for fresh document builds and a Template-Apply lane for transforming existing user-provided templates. Its focus on validation, including visual and technical gates, makes it an essential tool for professional reporting and distribution workflows where schema integrity and visual hierarchy are paramount.

minimax-docx Use Cases

  • Automated generation of enterprise-grade reports and proposals from raw data inputs.
  • Applying consistent visual styling and hierarchy to existing legacy Word documents through template application.
  • Batch processing documents while ensuring strict compliance with professional design standards and brand color palettes.
  • Validating .docx files for schema errors and residual placeholder text before final distribution to clients or stakeholders.

How minimax-docx Works

  1. Lane Identification: The skill first identifies the workflow lane based on whether a user provides a template or requires a document created from scratch.
  2. Environment Validation: It runs a doctor command to ensure Python 3 and .NET 9.0 SDK dependencies are correctly configured.
  3. Document Composition: The system uses C# with OpenXML SDK for rebuilding documents or Python for deterministic XML patching of existing templates.
  4. Visual Enforcement: It applies visual gates to ensure heading hierarchy, spacing consistency, and restrained color palettes meet enterprise standards.
  5. Audit and Exit: Before completion, it executes a technical audit to check for schema errors and residual placeholders, ensuring the file is ready for professional use.

minimax-docx Setup

Ensure you have Python 3 and the .NET 9.0 SDK installed on your system. Optional dependencies like LibreOffice or Pandoc can be installed for additional formatting capabilities. Use the following commands to get started with this Openclaw Skills component:

# Check the environment status
python3 docx_engine.py doctor

# Render a new document from scratch
python3 docx_engine.py render [output.docx]

# Process a template using the .NET engine
dotnet run --project src/DocForge.csproj -- from-template <template.docx> <output.docx>

minimax-docx Data Schema & Taxonomy

The skill organizes its operations through a structured index of guides and source code, ensuring clear separation between core logic and document styling.

Component Purpose
docx_engine.py Python script for auditing, previewing, and rendering management.
src/Core/*.cs C# files containing OpenXML primitives for document structure.
src/Templates/*.cs Pre-defined patterns and code examples for document layouts.
guides/ Markdown documentation covering styling, troubleshooting, and workflow logic.

minimax-docx Advanced Features

  • Schema-level auditing to ensure every generated .docx file is fully validated against standard office suites.
  • Residual placeholder detection to identify and remove any incomplete tags or text before file finalization.
  • Deterministic XML patching using Python stdlib, avoiding the bloat of third-party wrapper libraries.
  • Restrained visual gate enforcement that guarantees professional output through strict margin, spacing, and color palette controls.
  • Multi-engine flexibility combining the speed of Python with the structural power of the .NET OpenXML SDK within the Openclaw Skills framework.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*