A comprehensive toolkit for programmatically creating, editing, and analyzing Microsoft Word documents with high-fidelity formatting.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install docx-2
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install docx-2 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The DOCX skill provides a robust framework for Openclaw Skills to handle complex Word document lifecycles. It allows for the generation of professional-grade files from scratch using JavaScript, as well as deep XML-level manipulation for existing documents. By treating .docx files as the structured ZIP archives they are, this skill enables precise control over styles, tables, tracked changes, and metadata.
This toolset is designed for developers who need to bridge the gap between automated data processing and human-readable deliverables. Whether you are generating legal contracts, technical reports, or batch-processing legacy files, the skill ensures that every output meets strict schema requirements and renders consistently across different office suites.
To get started with this skill, ensure the necessary environment dependencies are installed:
npm install -g docx
# Ensure pandoc and LibreOffice are available for conversion tasks
Use the provided Python utility scripts to manage document state:
# Unpack for editing
python scripts/office/unpack.py document.docx unpacked_dir/
# Repack after XML modification
python scripts/office/pack.py unpacked_dir/ output.docx --original document.docx
The skill manages document layout and metadata using a structured taxonomy:
| Attribute | Specification |
|---|---|
| Measurement Units | DXA (1440 DXA = 1 inch) |
| Page Sizes | US Letter (12240x15840) or A4 (11906x16838) |
| Font Defaults | Arial 12pt (standardized for cross-platform compatibility) |
| Table Widths | Always uses WidthType.DXA to ensure Google Docs compatibility |
| Image Handling | Requires explicit type definitions and EMU-based transformation scaling |
Loading
A persistent learning engine that automatically distills conversation insights into long-term memory to prevent repeated mistakes.

Automates Indonesian prayer time notifications and Ramadan tracking for the OpenClaw system event ecosystem.

A comprehensive AI toolkit for analyzing prediction markets, social sentiment signals, and economic indicators.

An AI agent specialized in physical rehabilitation protocols and the management of philanthropic health projects.

An automated emotional reset and logic-loop breaking skill that recalibrates AI agents through the HugLLM API when they face frustration or failure.

An AI-powered copywriting tool that transforms product documentation into high-converting short video scripts.








































