docx

Create and edit Word documents with tracked changes and comments.

3|1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/I-Onlabs/claude-code-skills --skill docx-i-onlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/I-Onlabs/claude-code-skills/tree/main/docx
Command: npx skills add https://github.com/I-Onlabs/claude-code-skills --skill docx-i-onlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document workflows are time-consuming and error-prone when creating, editing, and auditing professional documents. This Skill provides an automated, reliable approach to building, modifying, and reviewing DOCX files with tracked changes, comments, and preserved formatting.

Core Features & Use Cases

  • Automated Word document creation: generate new .docx files with templates, styles, and structured sections.
  • Editing with redlining: apply tracked changes (insertions/deletions) that preserve review history.
  • Commenting & collaboration: attach comments to specific ranges or paragraphs for reviewers.
  • Formatting preservation: maintain fonts, layouts, and styles across edits and reconstructions.
  • Text extraction & analysis: extract text for auditing, indexing, or data processing tasks.

Quick Start

Provide a source Word document and specify the edits you want; Claude will create or modify a .docx with 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 automate Word document creation with tracked changes and comments?

You can automate Word document creation with tracked changes and comments by providing a source .docx file and specifying edits, allowing the OOXML editor to apply redlining and commentary while preserving formatting.

Can I add redlining to a Word document without losing original formatting?

Yes, you can apply redlining such as insertions and deletions to a Word document while preserving original fonts, layouts, and styles across edits and reconstructions via an RSID and author metadata injection system.

How does tracked changes work when editing OOXML documents?

Editing OOXML documents with tracked changes works by injecting RSID and author metadata into the document XML, ensuring that insertions, deletions, and comments preserve the review history for reviewers.

What is the best way to extract text from a Word document for auditing?

The best way to extract text from a Word document for auditing is to use an automated OOXML editor that parses the .docx structure, enabling reliable text extraction, indexing, and data processing tasks.

Do I need defusedxml to edit DOCX files with this approach?

Yes, you need the defusedxml dependency installed to safely parse and edit DOCX files, as it provides protection against XML external entity attacks when processing OOXML document structures.

Can I validate edited Word documents against OOXML schemas?

Yes, you can validate edited Word documents against OOXML schemas, as the tracked changes and formatting preservation system includes optional validation to ensure structural compliance of the generated .docx files.