docx

Create, edit, and analyze .docx files with tracked changes and text extraction.

21|2|Updated May 11, 2026
One-click install
npx skills add https://github.com/rongxinzy/RongxinAI --skill docx-rongxinzy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/rongxinzy/RongxinAI/tree/main/SKILLs/docx
Command: npx skills add https://github.com/rongxinzy/RongxinAI --skill docx-rongxinzy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, ooxml, pandoc, libreoffice, poppler, defusedxml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of .docx files, eliminating the need for manual document manipulation.

Core Features & Use Cases

  • Document Creation & Editing: Generate, modify, and analyze .docx files.
  • Tracked Changes: Implement comprehensive tracked changes for document review.
  • Text Extraction: Extract text and analyze document contents.
  • Use Case: Create a new .docx document, then add comments, track changes, and extract text based on user requirements.

Quick Start

Use the docx skill to create a new Word document with the following text: "Hello, World!".

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 programmatically?

Text extraction from a .docx file is handled by parsing the OOXML structure using libraries like docx-js and pandoc, yielding clean text content for analysis and downstream processing.

Can I add tracked changes and comments to an existing Word document?

Yes, you can add tracked changes and comments to an existing Word document. The Skill manipulates OOXML structures to implement comprehensive redlining and review annotations for professional document workflows.

Do I need Python and LibreOffice to automate .docx document creation?

Python is required for scripting document creation, while LibreOffice, poppler, and pandoc are necessary dependencies to execute complex .docx file manipulation, formatting, and rendering operations.

What is the best way to generate and modify Word documents without manual editing?

The best way to generate and modify Word documents without manual editing is using docx-js to manipulate OOXML directly, enabling automated document generation and structural modifications.

Does this approach support secure XML parsing for untrusted .docx files?

Yes, secure XML parsing for untrusted .docx files is supported. The implementation utilizes the defusedxml library to safely parse OOXML structures and mitigate XML external entity vulnerabilities during text extraction.