docx

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

1|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Kang-chen/Agent-skills --skill docx-kang-chen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Kang-chen/Agent-skills/tree/main/docx
Command: npx skills add https://github.com/Kang-chen/Agent-skills --skill docx-kang-chen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables automation of Word (.docx) document creation, editing, and analysis, including support for tracked changes, comments, and formatting preservation to streamline professional document workflows.

Core Features & Use Cases

  • Create new Word documents with consistent styling using a programmatic approach.
  • Edit existing documents with tracked changes (redlining) and comments while preserving formatting.
  • Analyze documents for structure, changes, and content integrity in batch workflows.

Quick Start

Use the docx skill to create a new Word document with a title "Meeting Notes" and a short introductory paragraph.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate adding tracked changes to a Word document using Python?

You can automate adding tracked changes to a Word document using Python by parsing and modifying OOXML content. This skill enables programmatic redlining, allowing you to apply edits while preserving formatting and editing history.

Can I create a new Word document with consistent styling programmatically?

Yes, you can create a new Word document with consistent styling programmatically. This skill leverages Python OOXML tooling to generate .docx files, defining titles and paragraphs while maintaining structural integrity.

Does this approach support batch analysis of existing .docx files for content integrity?

Yes, batch analysis of existing .docx files for content integrity is supported. This skill allows you to parse WordprocessingML content to analyze document structure, changes, and formatting across multiple files.

What is the best way to insert comments into a Word document while preserving formatting?

The best way to insert comments while preserving formatting is using Python OOXML tooling. This skill modifies WordprocessingML content to add comments and tracked changes without disrupting the original document layout.

Do I need defusedxml to parse and validate WordprocessingML content safely?

Yes, you need defusedxml to parse and validate WordprocessingML content safely. This dependency helps the Python OOXML tooling process .docx files securely while maintaining provenance and editing history.