ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified file management Safety 4/5

DOCX

Read and generate Word documents with correct structure, styles, and cross-platform compatibility.

Why use this skill?

Master your document workflow with the OpenClaw DOCX skill. Programmatically create, format, and manage professional Word documents with advanced XML control.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ivangdavila/word-docx
Or

What This Skill Does

The DOCX skill is a robust tool designed to empower the OpenClaw agent to read, parse, and generate professional-grade Microsoft Word documents. Unlike simple text exporters, this skill understands the complex OpenXML architecture that underpins the .docx format. It manages the interplay between document.xml (content) and styles.xml (formatting), ensuring that generated documents maintain professional integrity. The skill handles intricate elements like section breaks, headers/footers, numbering schemes, and dynamic fields. Whether you are generating reports with structured headings, implementing complex list hierarchies, or analyzing existing documents for track changes and comments, the DOCX skill provides precise, programmatic control over the document object model.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/ivangdavila/word-docx Ensure your system has the necessary permissions to read and write files within your workspace, as the agent will interact with local storage to manage these documents.

Use Cases

  • Automated Report Generation: Generate monthly status reports with pre-defined corporate styles, tables of contents, and dynamic page numbering.
  • Document Cleanup: Strip direct, inline formatting from legacy documents to reset them to standard template styles, or perform bulk removal of tracked changes and comments.
  • Data-Driven Templates: Use placeholders or MERGEFIELD elements to inject agent-generated insights directly into standardized document templates.
  • Batch Conversion and Analysis: Extract content from multiple documents to perform cross-document comparisons or summarize revisions across a team's tracked changes.

Example Prompts

  1. "Generate a formal project proposal document using the 'Company Standard' style, including a table of contents, three sections, and a header that displays the current project name."
  2. "Analyze the attached document 'Draft_v4.docx' and extract all comments. Provide a summary of the feedback and create a new version of the file with all tracked changes accepted."
  3. "Convert the provided text into a document with a multi-level numbered list, ensuring that each major category uses Heading 1 style for compatibility with document mapping."

Tips & Limitations

When working with this skill, avoid the common mistake of using empty paragraphs to create whitespace; always define space-before or space-after properties within your paragraph styles for a cleaner document structure. Remember that images placed in headers require their own specific relationship IDs, separate from the main document body. Users should be aware that while the skill supports cross-platform compatibility, complex formatting may occasionally shift when opened in third-party software like LibreOffice or Google Docs. Always prioritize the use of defined styles over direct formatting to maintain document consistency and facilitate easier global edits later.

Metadata

Stars2102
Views2
Updated2026-03-06
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ivangdavila-word-docx": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#word#docx#automation#documentation#xml
Safety Score: 4/5

Flags: file-write, file-read