anthropic-docx

Create, edit, and analyze DOCX documents while preserving formatting and tracked changes.

1|Updated Jun 28, 2026
One-click install
npx skills add https://github.com/whmathews15/DEX-Personal-Operating-System --skill anthropic-docx-whmathews15
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anthropic-docx
Source: https://github.com/whmathews15/DEX-Personal-Operating-System/tree/main/.claude/skills/anthropic-docx
Command: npx skills add https://github.com/whmathews15/DEX-Personal-Operating-System --skill anthropic-docx-whmathews15

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the friction of working with Word documents when accuracy matters, letting you create, revise, and analyze .docx files without breaking formatting or losing review context.

Core Features & Use Cases

  • Document creation: Build polished new Word documents from scratch with consistent formatting and structure.
  • Precise editing: Modify existing .docx files while preserving layout, styles, tables, and embedded content.
  • Review workflows: Add tracked changes, comments, and redlines for legal, academic, business, or government documents.
  • Text extraction and analysis: Read document contents, inspect OOXML when needed, and validate document integrity before repacking.
  • Use case: Revise a contract, annotate the changes for review, and export a clean, schema-safe Word file for stakeholders.

Quick Start

Use the anthropic-docx skill to edit the attached Word document while preserving formatting and adding tracked changes where needed.

Frequently Asked Questions about anthropic-docx

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

FAQPage Schema
How do I edit a Word document and add tracked changes?

Editing a Word document to add tracked changes requires OOXML-aware editing to insert revisions while preserving the original formatting and document structure, ensuring edits remain schema-safe and reviewable by stakeholders.

Can I extract text and comments from a DOCX file?

Yes, you can extract text and comments from a DOCX file by reading the document contents and inspecting the underlying OOXML markup. This allows you to analyze document integrity and review existing annotations before repacking the file.

How do I create a new Word document with consistent formatting?

Creating a new Word document with consistent formatting involves generating the file from scratch with structured OOXML markup. This process builds polished documents with predefined styles, tables, and embedded content layouts.

Does editing OOXML preserve tables and styles in existing documents?

Editing OOXML preserves tables and styles in existing documents when using a schema-safe revision process. This approach modifies the document contents while maintaining the original layout, styles, and embedded content without breaking formatting.

What is the best way to redline contracts for review workflows?

The best way to redline contracts for review workflows is to use precise OOXML-aware editing to add tracked changes and comments. This method ensures legal documents are annotated accurately and exported as clean files for stakeholder review.

Do I need defusedxml to safely edit DOCX files?

Yes, you need defusedxml to safely edit DOCX files because it protects against malicious XML attacks when parsing the OOXML structure. This dependency validates document markup and ensures safe text extraction and repacking.