docx

Read, edit, and analyze Word documents with safe XML processing.

4|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/CaufieldZ/pm-workspace-public --skill docx-caufieldz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/CaufieldZ/pm-workspace-public/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/CaufieldZ/pm-workspace-public --skill docx-caufieldz

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables automated reading, editing, and analysis of Word documents (.docx), reducing repetitive manual tasks and minimizing errors during document processing.

Core Features & Use Cases

  • Read, edit, and manipulate DOCX content (tracked changes, accept/reject revisions, find-and-replace)
  • Extract content, perform format conversions, and support downstream PRD/documents workflows
  • Ensure integrity with robust XML handling via defusedxml and lxml, including validation and safe edits

Quick Start

Provide a DOCX file to be read, edited, or analyzed by the skill for automated workflow improvements.

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 and content extraction from .docx files?

Automating Word document editing is achieved by applying scripts that read, edit, and extract content from .docx files, reducing repetitive manual tasks and minimizing errors during document processing.

Can I accept or reject tracked changes in a .docx file programmatically?

Yes, tracked changes in a .docx file can be managed programmatically to accept or reject revisions, supporting automated document review workflows and content manipulation without manual intervention.

Does defusedxml and lxml support safe XML processing for DOCX manipulation?

Defusedxml and lxml support safe XML processing for DOCX manipulation by validating edits and preventing malformed changes, ensuring document integrity is preserved during automated content extraction and format conversion.

What is the best way to perform find-and-replace and format conversion on Word documents?

The best way to perform find-and-replace and format conversion on Word documents is using automated XML manipulation that safely edits content while preserving the original structure for downstream workflows.

Why does my .docx file get corrupted during automated content editing?

A .docx file may get corrupted during automated content editing if XML processing is unsafe, which is why robust validation with defusedxml and lxml is required to prevent malformed edits and ensure document integrity.