DOCX creation, editing, and analysis

Create, edit, and analyze DOCX files using docx-js, Document, and pandoc.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/MacPhobos/research-mind --skill docx-creation-editing-and-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: DOCX creation, editing, and analysis
Source: https://github.com/MacPhobos/research-mind/tree/main/.claude/skills/skills-docx
Command: npx skills add https://github.com/MacPhobos/research-mind --skill docx-creation-editing-and-analysis

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 Microsoft Word (.docx) documents, reducing the manual effort and complexity associated with document management.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Analysis: Extract text and analyze tracked changes from existing .docx files.
  • Document Editing: Modify existing .docx files, including complex redlining and structural changes, using Python.
  • Use Case: A legal team needs to review and redline a contract. They can use this Skill to efficiently apply tracked changes, ensuring all modifications are clearly marked and the document's integrity is maintained.

Quick Start

Use the docx skill to convert the attached document 'report.docx' to markdown with all tracked changes shown.

Frequently Asked Questions about DOCX creation, editing, and analysis

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

FAQPage Schema
How do I programmatically extract text and tracked changes from a DOCX file?

You can extract text and analyze tracked changes from DOCX files by converting the document to markdown using pandoc, which clearly surfaces all modifications and content for review.

What is the best way to apply complex redlining to a Word document?

The best way to apply complex redlining to a Word document is by using Python to modify existing DOCX files, ensuring all tracked changes are clearly marked while maintaining document integrity.

Can I generate a new DOCX file from scratch using JavaScript?

Yes, you can generate new DOCX files from scratch using JavaScript or TypeScript via the docx-js library, enabling programmatic document creation without manual editing.

Do I need LibreOffice installed to convert DOCX files to other formats?

Yes, LibreOffice is required as an external tool for format conversion and XML manipulation, working alongside pandoc and poppler-utils to process and transform DOCX files.

How does this approach handle OOXML manipulation for document editing?

It handles OOXML manipulation by integrating specialized libraries and tools like defusedxml, allowing you to perform structural changes and complex edits directly within the underlying XML structure of DOCX files.

What are the limitations when analyzing tracked changes in Word documents?

Analysis relies on converting DOCX to markdown via pandoc to display tracked changes, meaning highly complex formatting or embedded objects may not perfectly translate during the extraction process.