docx

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

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/stefanbosak/copilot-cli --skill docx-stefanbosak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/stefanbosak/copilot-cli/tree/main/.copilot/skills/docx
Command: npx skills add https://github.com/stefanbosak/copilot-cli --skill docx-stefanbosak

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Comprehensive DOCX workflow automation for creation, editing, and analysis, including support for tracked changes, comments, formatting preservation, and text extraction.

Core Features & Use Cases

  • Programmatic DOCX creation and modification using standard libraries
  • Redlining with tracked changes and inline comments to facilitate collaboration
  • Text extraction, formatting preservation, and analysis of Word documents

Quick Start

Provide Claude with a DOCX file and instruct it to create or modify content using tracked changes and comments.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes and comments to a Word document programmatically?

You can programmatically add tracked changes and comments to a Word document by automating DOCX editing with Python. This workflow handles redlining and inline comments natively within the OOXML structure to facilitate collaboration.

Can I extract text and preserve formatting when analyzing a DOCX file?

Yes, you can extract text and preserve formatting when analyzing a DOCX file. The workflow handles text extraction and formatting preservation, allowing you to process Word documents while maintaining their original structural integrity.

Does this DOCX workflow validate OOXML schemas and content types?

Yes, the DOCX workflow enforces OOXML validation by checking Content Types, relationships, and XSD schemas. This ensures that any created or modified Word document remains structurally valid and compliant with the standard format.

What is the best way to create a Word document from scratch using Python?

The best way to create a Word document from scratch using Python is by leveraging docx-js integration alongside Python-based document manipulation. This approach automates DOCX creation while enforcing strict OOXML schema validation for valid output.

Do I need defusedxml to process Word documents with tracked changes?

Yes, you need the defusedxml dependency to process Word documents with tracked changes. It is required to safely parse the underlying XML structure of DOCX files during creation, editing, and analysis operations.