docx

Create, edit, and analyze DOCX documents without manual OOXML handling.

602|121|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/AIDotNet/OpenCowork --skill docx-aidotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/AIDotNet/OpenCowork/tree/main/resources/skills/docx
Command: npx skills add https://github.com/AIDotNet/OpenCowork --skill docx-aidotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It helps you create, edit, analyze, and review .docx files without wrestling with raw OOXML or manual formatting mistakes.

Core Features & Use Cases

  • Document creation: Generate polished Word documents with headings, tables, images, headers, footers, and table of contents support.
  • Editing and review: Apply tracked changes, reject or restore revisions, and add comments for collaborative review.
  • Analysis and extraction: Read existing documents, inspect XML when needed, and convert content into markdown or other working formats.

Quick Start

Ask the docx skill to open the attached .docx file, summarize its structure, and make the requested edits while preserving formatting.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I edit Word documents and apply tracked changes without manually handling OOXML?

You can edit Word documents and apply tracked changes without manual OOXML handling by using automated document generation and revision tracking tools that support collaborative review workflows like adding comments, rejecting revisions, and preserving formatting.

How do I extract text and convert Word documents to markdown?

Text extraction from Word documents works by reading existing .docx files and converting their content into markdown or other working formats. You can inspect the underlying XML structure when needed while transforming the document content for downstream processing.

What is the best way to generate Word documents with tables, images, and table of contents?

The best way to generate Word documents with tables, images, headers, footers, and table of contents is through automated document creation tools. These tools construct polished .docx files programmatically while preserving professional formatting and structural elements.

Does docx-js work with lxml and defusedxml for safe XML editing and validation?

Yes, docx-js for new document authoring works alongside defusedxml and lxml for safe XML editing, revision tracking, and validation. These dependencies handle secure parsing and structural modifications without exposing the system to XML vulnerabilities.

Can I preserve Word document formatting when adding comments and revisions?

You can preserve Word document formatting when adding comments and applying tracked changes. The editing process modifies document content and metadata while maintaining the original structural formatting, ensuring collaborative reviews do not corrupt the existing layout.