docx

Create, edit, and extract text from .docx files with tracked changes.

3|1|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/trungdo9/ClauKit --skill docx-trungdo9
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/trungdo9/ClauKit/tree/main/skills/software/document-skills/docx
Command: npx skills add https://github.com/trungdo9/ClauKit --skill docx-trungdo9

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, LibreOffice, Poppler, defusedxml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies document creation, editing, and analysis with comprehensive features for .docx files, including text extraction, formatting, and redlining.

Core Features & Use Cases

  • Document Creation & Editing: Build new documents or modify existing ones with advanced formatting options.
  • Text Extraction: Extract text and metadata from .docx files with ease.
  • Redlining Workflow: Efficiently review and track changes with comprehensive redlining capabilities.
  • Use Case: When you need to review a contract with extensive edits and annotations, this Skill allows you to create a tracked change version of the document and make collaborative annotations.

Quick Start

To extract text from a .docx file, use the command: extract-text path/to/file.docx

Frequently Asked Questions about docx

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

FAQPage Schema
How do I extract text from a .docx file for document analysis?

You can extract text from a .docx file by running the `extract-text path/to/file.docx` command. This functionality pulls text content and metadata from documents to support analysis and editing workflows.

How do I add redlining and track changes to a Word document for contract review?

Redlining and tracked changes are managed through a comprehensive review workflow that creates tracked change versions of documents. This supports efficient contract review, legal document preparation, and collaborative annotations.

Can I create and format new .docx documents programmatically?

Yes, new .docx documents can be created and formatted programmatically using docx-js for JavaScript/TypeScript manipulation or a Python Document Library. This supports building documents with advanced formatting options.

Do I need pandoc and LibreOffice installed to manage .docx files?

Yes, pandoc and LibreOffice are required dependencies, alongside Poppler and defusedxml, to enable full document creation, text extraction, and editing functionalities for .docx files.

What is the best way to modify existing .docx files without losing formatting?

Modifying existing .docx files without losing formatting is best handled through the Skill's advanced editing tools, which leverage docx-js and a Python Document Library. These tools ensure formatting is preserved during content modifications.