Word / DOCX for Openclaw

A specialized tool for creating, inspecting, and editing Microsoft Word documents with full support for OOXML structures, tracked changes, and complex formatting.

nicenasa
v1.0.2
Mar 20, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install hami-word-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 hami-word-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 Word / DOCX?

The Word / DOCX skill is a robust solution for developers and AI agents needing to interact with Microsoft Word files without compromising document integrity. Unlike simple text converters, this skill treats DOCX files as a sophisticated collection of OOXML parts, ensuring that internal XML structures like document.xml, styles, and numbering definitions remain consistent throughout the editing process.

By focusing on reliable round-trip editing, the skill prevents the common issue of formatting drift. It is specifically designed for high-stakes environments—such as legal, academic, or corporate settings—where tracked changes, comments, and specific page layout constraints must be preserved exactly as intended across different editors like Word, LibreOffice, and Google Docs.

Word / DOCX Use Cases

  • Creating new documents from scratch using style-driven generation to ensure consistent branding and professional appearance.
  • Performing deep edits on existing legal or business documents while preserving tracked changes and review metadata.
  • Managing complex document structures including tables, headers, footers, and multi-section layouts.
  • Auditing fragile documents for unresolved revisions, stale field values, or broken cross-references.
  • Converting legacy .doc files into modern, standards-compliant .docx formats for better compatibility.

How Word / DOCX Works

  1. OOXML Analysis: The skill treats the .docx file as a ZIP package, inspecting the underlying XML components rather than just the rendered text.
  2. Structure Mapping: It identifies specific runs, paragraph styles, and numbering definitions to understand how the content is layered.
  3. Context-Aware Editing: For existing documents, it applies minimal replacements to preserve comment anchors and review ranges.
  4. Style Enforcement: It prioritizes named styles over direct formatting to maintain document editability and professional standards.
  5. Validation & Sync: The skill verifies layout stability and relationship IDs before delivery to ensure compatibility across various document viewers.

Word / DOCX Setup

To add this capability to your environment, use the following commands with Openclaw Skills:

# Install the Word / DOCX skill
clawhub install word-docx

# Keep the skill updated with the latest fixes
clawhub sync

# Optional: Install related document skills
clawhub install documents

Word / DOCX Data Schema & Taxonomy

The skill manages document data through a structured understanding of the OOXML package:

Component Description Metadata Tracked
Main Document word/document.xml Text runs, paragraph properties, and field anchors.
Styles & Numbering styles.xml, numbering.xml Abstract numbering, indent levels, and font themes.
Sections Page Layouts Margins, orientation, and section-specific headers/footers.
Review Data Revisions & Comments Timestamps, author IDs, and deletion markers.
Media word/media/ Images and embedded objects linked via relationship IDs.

Word / DOCX Advanced Features

  • Granular Tracked Changes: Execute minimal span replacements that satisfy strict legal and academic review requirements.
  • Multi-Section Management: Handle independent headers, footers, and page numbering schemas within a single document.
  • Field Code Manipulation: Update and manage dynamic fields like Tables of Contents (TOC), cross-references, and mail merge placeholders.
  • Style System Extension: Programmatically extend existing document style hierarchies instead of creating redundant formatting layers.
  • Compatibility Auditing: Identify potential layout drift issues caused by auto-fit tables or legacy .doc inputs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*