docx

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

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nirukk52/visual-truth-engine --skill docx-nirukk52
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/nirukk52/visual-truth-engine/tree/main/.claude-skills/docx
Command: npx skills add https://github.com/nirukk52/visual-truth-engine --skill docx-nirukk52

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 complex document workflows by enabling programmatic creation, editing, and sophisticated analysis of Microsoft Word (.docx) files.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing documents, including handling tracked changes and comments.
  • Redlining: Implement precise tracked changes for document review and collaboration.
  • Data Extraction: Convert .docx to text or images for analysis.
  • Use Case: Automatically generate a legal contract template, populate it with client-specific data, and then apply tracked changes for review by the legal team.

Quick Start

Use the docx skill to convert the document 'report.docx' into a markdown file named 'report.md'.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate redlining and tracked changes in Word documents?

You can automate redlining in Word documents by using the OOXML Python library to programmatically edit existing .docx files and apply precise tracked changes for document review and collaboration.

Can I generate a .docx file from scratch using JavaScript?

Yes, you can generate a .docx file from scratch using JavaScript or TypeScript via the docx-js library to programmatically create new Microsoft Word documents with complex formatting.

What is the best way to extract text from a .docx file for analysis?

The best way to extract text from a .docx file is using this document automation skill, which handles complex formatting preservation and converts documents into text or images for analysis.

Does this approach support converting Word documents to PDF?

Yes, document automation supports PDF conversion by utilizing LibreOffice and poppler-utils dependencies to convert .docx files into PDF format while preserving formatting.

What dependencies do I need to edit OOXML and manage tracked changes?

To edit OOXML and manage tracked changes, you need the docx and defusedxml Python libraries installed, alongside pandoc and LibreOffice for broader document conversion tasks.

Why do my complex formatting and styles break during docx automation?

Complex formatting breaks during docx automation when standard parsers fail to preserve OOXML structures, but this skill uses advanced libraries to ensure formatting preservation and accurate text extraction.