docx

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

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/91zgaoge/memoh-X --skill docx-91zgaoge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/91zgaoge/memoh-X/tree/main/internal/skills/defaults/docx
Command: npx skills add https://github.com/91zgaoge/memoh-X --skill docx-91zgaoge

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), handling everything from basic text edits to complex tracked changes and formatting.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript.
  • Content Editing: Modify existing documents with precision using Python libraries.
  • Tracked Changes & Comments: Implement and manage revisions, comments, and redlining for collaborative review.
  • Text & XML Access: Extract text content or access raw XML for deep structural analysis.
  • Use Case: A legal team needs to review and propose changes to a contract. This Skill can be used to apply tracked changes, add comments, and ensure all modifications are clearly marked and preserved according to legal standards.

Quick Start

Use the docx skill to convert the document located at '/shared/my_report.docx' to markdown with all tracked changes included.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes and comments to a Word document programmatically?

To add tracked changes and comments to a Word document, you can use this Skill to apply revisions and redlining directly to .docx files via Python and JavaScript libraries, ensuring all modifications are clearly marked and preserved for collaborative review.

What is the best way to extract text from a .docx file while preserving formatting?

The best way to extract text from a .docx file while preserving formatting is using pandoc, which this Skill leverages to convert documents to markdown and access raw XML for deep structural analysis.

Can I create a new .docx file from scratch without opening Microsoft Word?

Yes, you can create a new .docx file from scratch without opening Microsoft Word by using this Skill's JavaScript libraries to generate professional Word documents programmatically.

Does this document editing approach support raw XML manipulation for complex .docx edits?

Yes, this document editing approach supports raw XML manipulation, allowing you to perform complex .docx structural edits and deep analysis beyond standard text modifications.

Do I need libreoffice and pandoc installed to manage Word documents with this Skill?

Yes, you need libreoffice, pandoc, and poppler-utils installed in your environment to fully support text extraction, document conversion, and comprehensive .docx file management.

Why use Python and JavaScript libraries for document redlining instead of standard word processors?

Using Python and JavaScript libraries for document redlining enables automated, precise modifications and tracked changes at scale, which standard word processors cannot handle programmatically for legal or collaborative review workflows.