docx

Create, edit, and analyze .docx files with tracked changes and comments.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/zach-source/claude-plugins --skill docx-zach-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/zach-source/claude-plugins/tree/main/plugins/documents/skills/docx
Command: npx skills add https://github.com/zach-source/claude-plugins --skill docx-zach-source

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, libreoffice, poppler-utils, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, modification, and analysis of professional Word documents (.docx files), eliminating the need for manual editing and complex formatting tasks.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Analysis: Extract text, comments, and raw XML content from existing documents.
  • Editing & Redlining: Modify existing documents with precise tracked changes, comments, and formatting preservation.
  • Use Case: Automatically update a legal contract by replacing outdated clauses with new ones, ensuring all changes are tracked and comments are preserved.

Quick Start

Use the docx skill to create a new document with the title "Project Proposal".

Frequently Asked Questions about 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 automatically?

To edit a Word document and add tracked changes, this Skill modifies .docx files using a Python OOXML library for direct manipulation. It ensures precise redlining, preserves formatting, and maintains comments without manual editing.

What is the best way to generate a .docx file from scratch?

The best way to generate a .docx file from scratch is by using JavaScript or TypeScript. The Skill leverages docx-js for document generation, allowing you to create professional Word documents programmatically without manual formatting.

Can I extract text and comments from an existing .docx file?

Yes, you can extract text, comments, and raw XML content from existing .docx files. The Skill provides content analysis capabilities to pull this data, utilizing pandoc for efficient text conversion and extraction from the document.

Does this approach support converting .docx files using pandoc?

Yes, the approach supports converting .docx files using pandoc. Pandoc is a core dependency used specifically for text conversion, working alongside libreoffice and poppler-utils to process and analyze document content effectively.

How do you update a legal contract in .docx while preserving formatting?

To update a legal contract in .docx while preserving formatting, the Skill applies direct OOXML manipulation to replace outdated clauses. It ensures all modifications are tracked and existing comments are preserved throughout the document.