An advanced automation skill for creating, editing, and validating professional Word documents (.docx) via programmatic libraries and direct XML restructuring.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install wordpro
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 wordpro 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 tool, a premium entry in the Openclaw Skills ecosystem, gives your AI agents complete and robust programmatic command over Microsoft Word documents (.docx files). Instead of relying on brittle, high-level text representations, this skill enables programmatic generation using docx-js alongside direct XML-level unpacking, editing, and repackaging. This dual approach ensures your automated document workflows maintain structural and visual integrity, matching professional enterprise styling guidelines.
By incorporating this capability from Openclaw Skills, you can automate complex document workflows, perform deep structural searches, accept or reject tracked changes, and handle conversions between .doc, .docx, and PDF formats. It enforces best design principles—including precise grid layouts, explicit page setup, typographic hierarchies, and proper table formatting—making it indispensable for automated report generation, contract analysis, and content publishing.
Ensure your system has the required global binaries installed. On Windows, verify these are added to your system PATH.
# Install the docx library globally for document generation
npm install -g docx
# Install pandoc for Markdown and text extraction
# On Debian/Ubuntu:
sudo apt-get install pandoc poppler-utils libreoffice
Always run your scripts within the local skill environment context:
cd {this_skill_dir}
Convert legacy .doc files to modern XML format:
python scripts/office/soffice.py --headless --convert-to docx document.doc
Unpack your files before modifying raw XML:
python scripts/office/unpack.py document.docx unpacked/
Run structural verification checks after packing files:
python scripts/office/validate.py document.docx
This skill organizes its operations through raw XML schemas, temporary unpacked directory structures, and a dedicated scripts repository. Below is the file and metadata schema utilized when using this tool from Openclaw Skills:
Most layout specifications inside Word documents use DXA (twips), where 1440 DXA = 1 inch.
| Attribute / Element | Target Value (US Letter) | Target Value (A4) | Description |
|---|---|---|---|
| Page Width | 12,240 DXA | 11,906 DXA | Width of the document canvas |
| Page Height | 15,840 DXA | 16,838 DXA | Height of the document canvas |
| Default Margins | 1,440 DXA | 1,440 DXA | Explicit 1-inch margins around the text area |
| Body Width | 9,360 DXA | 9,026 DXA | Available width for full-width tables or layouts |
When unpacking or modifying a .docx package, the following files and paths are critical:
word/document.xml: Main XML structure containing the actual text paragraphs (<w:p>), runs (<w:r>), and tables (<w:tbl>).word/comments.xml: Holds document collaboration commentary and replies.word/_rels/document.xml.rels: Tracks image relationships and embedded hypermedia pointers.word/media/: Directory where all embedded images, logos, and illustrations are stored.[Content_Types].xml: Maps media extensions (e.g., png, jpeg) to their official XML content-type definitions.<w:ins>) and deletion (<w:del>) markup elements seamlessly, complete with customizable authoring metadata and date attributes.Loading
The PPTX Skill equips AI agents with advanced tools and automated workflows to read, edit, and programmatically construct professionally styled PowerPoint presentations from scratch.

Guanshi Deep Insight is a powerful analysis methodology engine that subjects strategic conclusions to rigorous three-layer causal drilling and Red Teaming verification.

A highly automated Open API skill that enables AI agents to read, write, format, and structure documents inside Feishu cloud drives with full OAuth token lifecycle management.

A structured framework for building performant, stylized game VFX in Godot using minimal meshes, scrolling textures, shader materials, and engine tweens.

An advanced toolset for building, modifying, and programmatically auditing robust Excel spreadsheets with dynamic formulas.

An AI-driven organizational framework designed for rapidly growing schools to systematically select, cultivate, deploy, and retain high-performing educators.








































