docx

Create, edit, and analyze DOCX documents with tracked changes and comments.

35|13|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/wildwasser/opencode-agents --skill docx-wildwasser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/wildwasser/opencode-agents/tree/main/.opencode/skills/docx
Command: npx skills add https://github.com/wildwasser/opencode-agents --skill docx-wildwasser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve?

Comprehensive DOCX creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction, enabling professional document workflows.

Core Features & Use Cases

  • Create new DOCX documents from outlines or templates while preserving styles and formatting.
  • Edit existing documents, apply tracked changes, insert comments, and extract text or structure without corrupting OOXML.
  • Validate document structure against WordprocessingML patterns to ensure compatibility for professional reviews and compliance.
  • Use Case: A technical writer iterates on a 12-page report, preserving all revisions and comments for legal review before finalizing.

Quick Start

Describe the DOCX task to perform (e.g., create a new report or apply tracked changes to an existing document).

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply tracked changes to a DOCX document without corrupting formatting?

You can edit DOCX documents and apply tracked changes by using a Word OOXML pipeline that preserves formatting and validates document structure against WordprocessingML patterns to prevent corruption.

Can I extract text and insert comments into an existing Word document?

Yes, you can extract text and insert comments into an existing Word document by leveraging OOXML processing with defusedxml and lxml, ensuring structural compatibility for professional reviews.

Do I need lxml and defusedxml installed to create and analyze DOCX files?

Yes, you need defusedxml and lxml installed, as these dependencies are required for the XML processing and validation necessary to create, edit, and analyze DOCX files.

What is the best way to automate professional document workflows for legal review?

The best way to automate legal review workflows is using a DOCX pipeline that preserves all revisions, tracked changes, and comments while validating documents against WordprocessingML patterns for compliance.

How does OOXML validation ensure compatibility when editing Word documents?

OOXML validation ensures compatibility when editing Word documents by checking the modified structure against standard WordprocessingML patterns, preventing formatting corruption and ensuring professional compliance.

Can I generate a new DOCX file from a template while preserving original styles?

Yes, you can create new DOCX documents from outlines or templates while preserving original styles and formatting by utilizing the integrated OOXML generation pipeline.