docx

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

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/pchemguy/Dummy --skill docx-pchemguy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/pchemguy/Dummy/tree/main/docs/AgentSkills/anthropics/skills/skills/docx
Command: npx skills add https://github.com/pchemguy/Dummy --skill docx-pchemguy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates end-to-end DOCX workflows for creating, editing, and analyzing Word documents, including support for tracked changes, comments, and formatting preservation.

Core Features & Use Cases

  • Tracked changes and comments: automatically manage redlines and reviewer notes during collaborative edits.
  • Formatting preservation: maintain fonts, styles, and layout during creation and modification.
  • Text extraction: extract and analyze document content for review or compliance.

Quick Start

Create a new DOCX, apply tracked changes, and add comments using the included Python scripts.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document editing with tracked changes and comments?

You can automate Word document editing by running Python scripts that manage OOXML parts to add tracked changes and reviewer comments to DOCX files. This ensures all collaborative edits are recorded and auditable.

Can I create a DOCX document from scratch while preserving fonts and styles?

Yes, you can create new DOCX documents while preserving formatting like fonts, styles, and layout. The included scripts handle OOXML structure to maintain visual consistency during generation.

What is the best way to extract and analyze text from a DOCX file for compliance review?

The best way to extract text from a DOCX file is using scripts that parse the OOXML content directly. This allows you to pull document content for automated review or compliance analysis.

Do I need lxml and defusedxml to edit Word documents with this approach?

Yes, you need the lxml and defusedxml dependencies to parse and modify OOXML parts safely. These libraries provide the underlying XML processing required to manage document structures.

Does modifying OOXML directly break tracked changes in Word documents?

Modifying OOXML does not break tracked changes when managed correctly by the included scripts. They ensure edits are properly mapped to the document XML so revisions remain auditable in Word.

How do I manage redlines and reviewer notes during collaborative document edits?

You manage redlines and reviewer notes by applying tracked changes and comments programmatically through Python scripts. This automates the redlining process for collaborative document workflows.