Word / DOCX
Create, edit, and inspect professional Microsoft Word documents with full support for styles, tracked changes, and complex OOXML layouts.
by
Iván
Word / DOCX Overview
Word / DOCX works with Word documents as structured OOXML packages rather than plain text, preserving complex elements like tracked changes, comments, nested tables, and multi-level numbering.
It targets precise edits without formatting drift, keeping documents professional and compatible across Word, Google Docs, and LibreOffice.
How It Works
Treat .docx as a ZIP of XML parts and load document.xml, styles.xml, and numbering.xml.
Track relationships between runs, paragraphs, styles, and numbering to avoid layout drift.
Modify specific runs or sections without breaking metadata, tracked changes, or layout constraints.
Keep styles, numbering, and sections stable for cross-platform round-trips.
Key Features
Style Preservation
Prefers named styles over direct formatting to keep documents clean and consistent.
Review Workflow Support
Handles tracked changes, comments, and review wrappers without orphaning metadata.
Advanced Numbering
Manages abstractNum and paragraph properties so lists restart and indent correctly.
Section Control
Manages margins, orientation, and headers/footers at the section level.
Compatibility Auditing
Minimizes layout drift between Word, Google Docs, and LibreOffice.
Requirements
- No VM required.
- Local environment only; no external API keys are required for core functionality.
Use Cases
Legal & Business Review
Make precise, minimal replacements in documents with active tracked changes and comments.
Automated Document Generation
Create high-fidelity reports from templates that must survive round-trip editing.
Formatting Cleanup
Fix broken numbering, inconsistent margins, and stray formatting in legacy documents.
How to Install
npx clawhub@latest install word-docxRun in your terminal, or click the Install button at the top of this page for one-click setup.
FAQ
Does this support legacy .doc files?
No. It targets .docx (OOXML) files; legacy .doc is not supported.
Will my tracked changes be lost during editing?
No. The skill preserves tracked changes and comments unless you explicitly accept or remove them.
Can it handle images in headers and footers?
Yes. It preserves header/footer relationships and their embedded media.
How are lists and bullets handled?
Lists are managed via abstractNum and num references; bullets and numbers share numbering parts.
Will fields like TOC and page numbers update automatically?
Fields store code and cached results; viewers usually update on open or print, and the skill can trigger updates on write.
How are tracked changes and comments preserved or removed?
Tracked changes keep original and revised content in XML; the skill can accept/reject revisions and remove comment ranges.