docx

Create, edit, and analyze Word .docx files with tracked changes and comments using Python tooling.

1|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/alex-tgk/saasquatch --skill docx-alex-tgk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/alex-tgk/saasquatch/tree/main/.claude/skills/document-skills/docx
Command: npx skills add https://github.com/alex-tgk/saasquatch --skill docx-alex-tgk

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document workflows are tedious and error-prone without automation. This skill enables fast, auditable creation, editing, and analysis of DOCX files, including maintaining tracked changes, comments, and formatting preservation while extracting text when needed.

Core Features & Use Cases

  • Create new DOCX documents from templates and content blocks, preserving styles.
  • Edit existing documents with tracked changes and comments, while maintaining author provenance.
  • Analyze documents by extracting text, metadata, and structure for auditing or compliance.

Quick Start

Ask Claude to draft a new DOCX with tracked edits and comments from a provided outline.

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 workflows with tracked changes and comments?

Automating Word document workflows involves programmatically editing the document.xml structure within DOCX files to insert tracked changes and comments while preserving formatting and author provenance. This Skill uses Python-based tooling to modify DOCX files for legal, corporate, and content teams that draft, review, and extract text from DOCX files, maintaining change provenance throughout the process.

How do I extract text and metadata from DOCX files for compliance auditing?

Extracting text and metadata from DOCX files for compliance auditing requires parsing the internal XML structure to isolate content while preserving document formatting. This Skill analyzes documents by extracting text, metadata, and structure for auditing or compliance, relying on Python-based tooling to modify word/document.xml and maintain change provenance.

Does this DOCX automation approach preserve formatting and author provenance?

Yes, this DOCX automation approach preserves formatting and author provenance by directly modifying the internal document.xml structure using Python-based tooling. It maintains change provenance while editing existing documents with tracked changes and comments, ensuring auditable modifications for legal, corporate, and content review workflows.

Can I create new Word documents from templates and content blocks?

Yes, you can create new DOCX documents from templates and content blocks while preserving existing styles. This Skill automates the creation of new DOCX files from provided outlines, leveraging Python-based tooling to modify the internal document.xml structure and maintain formatting consistency across generated documents.

What dependencies are required to automate tracked edits in DOCX files?

Automating tracked edits in DOCX files requires defusedxml, lxml, and Pillow dependencies. These Python libraries enable secure XML parsing, efficient document structure manipulation, and image processing capabilities needed to modify word/document.xml while preserving formatting and maintaining change provenance in DOCX workflows.

What are the limitations of automating Word documents with tracked changes?

Limitations of automating Word documents with tracked changes include potential formatting loss when complex styles are modified programmatically through document.xml. While this Skill preserves formatting and maintains change provenance, extremely complex DOCX structures with nested tables or embedded objects may require careful handling to avoid corruption during automated editing and text extraction workflows.