docx

Automates Word document creation, editing, and analysis with tracked changes and comments.

815|96|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/hAcKlyc/MyAgents --skill docx-hacklyc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/hAcKlyc/MyAgents/tree/main/bundled-skills/docx
Command: npx skills add https://github.com/hAcKlyc/MyAgents --skill docx-hacklyc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables programmatic creation, editing, and analysis of Word documents (.docx), including support for tracked changes, comments, formatting preservation, and text extraction.

Core Features & Use Cases

  • Create new Word documents from templates or in-memory content.
  • Edit existing documents with tracked changes (redlining) and comments.
  • Extract or read text from Word documents and preserve formatting.
  • Integrate with Claude workflows to automate doc tasks (batch processing, auditing, archiving).

Quick Start

Create a new Word document with tracked changes and a summary comment.

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 with tracked changes and comments programmatically using Python to manipulate OOXML, enabling professional drafting, legal reviews, and editorial QA workflows.

Can I create Word documents from templates programmatically?

Yes, you can create Word documents from templates or in-memory content programmatically, applying tracked changes and summary comments while preserving original formatting through OOXML manipulation.

What's the best way to extract text from Word documents while preserving formatting?

The best way to extract text from Word documents while preserving formatting is using Python-based OOXML tooling, which reads .docx files and maintains structural integrity for downstream processing.

Do I need lxml and defusedxml to process OOXML documents?

Yes, you need lxml and defusedxml installed to process OOXML documents, as these dependencies enable secure XML parsing and manipulation required for Word document automation tasks.

Does this approach work for batch processing and auditing Word documents?

Yes, this approach works for batch processing and auditing Word documents, integrating with automated workflows to handle drafting, legal reviews, editorial QA, archiving, and document analysis at scale.

What are the limitations of Python-based OOXML document processing?

Python-based OOXML document processing requires lxml and defusedxml dependencies, operates at the XML structure level rather than rendering visual layouts, and may not fully support advanced Word features like embedded macros or complex charts.