docx

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

8|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/sanand0/scientific-research --skill docx-sanand0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/sanand0/scientific-research/tree/main/.claude/skills/document-skills/docx
Command: npx skills add https://github.com/sanand0/scientific-research --skill docx-sanand0

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 professional document processing by enabling the creation, editing, and analysis of .docx files, including managing tracked changes and comments.

Core Features & Use Cases

  • Document Creation: Generate new Word documents from scratch using JavaScript/TypeScript.
  • Content Extraction: Extract text and raw XML from existing documents for analysis.
  • Redlining & Editing: Implement tracked changes, comments, and complex formatting edits using Python.
  • Use Case: A legal team needs to review and redline a contract. This Skill can be used to apply specific edits, track all changes made by different reviewers, and ensure formatting consistency across all documents.

Quick Start

Use the docx skill to extract all text from the document 'contract_v1.docx'.

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 docx files?

You can automate redlining and tracked changes in docx files using Python and JavaScript libraries to apply edits, track reviewer changes, and manage comments while preserving formatting. It handles professional document processing for contract review.

How do I extract text and raw XML from a Word document for analysis?

Extract text and raw XML from Word documents using this skill's content extraction capabilities. It parses existing docx files to pull out structured text and underlying XML data for analysis, leveraging pandoc and defusedxml for safe processing.

Do I need LibreOffice and pandoc installed to create and edit docx files?

Yes, you need pandoc, docx-js, LibreOffice, Poppler, and defusedxml installed for full functionality. These dependencies enable document creation, formatting preservation, text extraction, and tracked changes management across your docx files.

Can I generate new Word documents from scratch using JavaScript?

Yes, you can generate new Word documents from scratch using JavaScript and TypeScript via the docx-js library. This allows programmatic creation of structured docx files with custom content and formatting for professional use.

What is the best way to manage comments across multiple contract docx files?

Managing comments across contract docx files is best handled by using Python libraries to programmatically add, modify, and track comments alongside redlining edits. This ensures consistent formatting and reviewer attribution across all documents.

Does this approach preserve complex formatting when editing existing docx documents?

Yes, this approach preserves complex formatting when editing existing docx documents by leveraging pandoc and LibreOffice. It maintains original styling while applying tracked changes, comments, and text modifications programmatically.