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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/word-docxWhat 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
- "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."
- "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."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-word-docx": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
Animations
Create performant web animations with proper accessibility and timing.
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.