Docx

Create, edit, and analyze .docx files with tracked changes and comments.

1|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/verrio1/vaughn-pai --skill docx-verrio1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Docx
Source: https://github.com/verrio1/vaughn-pai/tree/main/skills/Documents/Docx
Command: npx skills add https://github.com/verrio1/vaughn-pai --skill docx-verrio1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml.

What problem does it solve?

Word document processing is labor-intensive and error-prone when creating, editing, and analyzing Word documents (.docx). This Skill provides programmatic tooling to generate, modify, and review documents with robust formatting and tracked changes support.

Core Features & Use Cases

  • Create, edit, and analyze Word documents programmatically using Python, ensuring consistent formatting.
  • Apply tracked changes and comments (redlining) to support collaborative reviews, audits, and approvals.
  • Common scenarios include drafting proposals, legal documents, academic papers, and reports that require reproducible formatting and robust change-tracking.

Quick Start

Load the complete context, unpack a .docx, apply content changes and tracked changes via the provided Python scripts, then re-pack into a new .docx file for review.

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 creation and apply tracked changes in Python?

Automate Word document creation and apply tracked changes by unpacking .docx files, manipulating WordprocessingML with RSIDs and authors via Python, and repacking into new .docx files for collaborative review.

What is the best way to programmatically redline .docx files for legal documents?

The best way to programmatically redline .docx files is using internal OOXML tooling to apply deterministic modifications with change-tracking and comments, supporting audits and approvals for business-ready documents.

Can I use Python to edit sections, lists, and tables in existing Word documents?

Yes, you can use Python to edit sections, lists, and tables in existing Word documents by manipulating the internal WordprocessingML structure, ensuring consistent formatting across reproducible document modifications.

Do I need defusedxml to process WordprocessingML and generate .docx files?

Yes, defusedxml is required to safely parse and manipulate the internal OOXML structure when processing WordprocessingML to programmatically generate and modify .docx files.

Why does my automated Word document processing lose formatting when modifying tables?

Automated Word document processing loses formatting when modifications bypass the underlying WordprocessingML structure, requiring direct OOXML manipulation with proper RSID tracking to preserve deterministic formatting across tables.

Does Docx support batch generation of business-ready reports with reproducible formatting?

Docx supports batch generation of business-ready reports by applying programmatic modifications, change-tracking, and comments across document structures, ensuring reproducible formatting for proposals and academic papers.