docx

Create, edit, and analyze Word documents with tracked changes and comments.

Updated Jun 3, 2026
One-click install
npx skills add https://github.com/e252828/ypaction --skill docx-e252828
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/e252828/ypaction/tree/main/SKILLs/docx
Command: npx skills add https://github.com/e252828/ypaction --skill docx-e252828

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows you to create, edit, and analyze Word documents with advanced features like tracked changes, comments, and formatting preservation.

Core Features & Use Cases

  • Document Creation: Generate new Word documents from scratch or modify existing ones.
  • Tracked Changes: Support for adding, editing, and rejecting tracked changes with preservation of original formatting.
  • Text Extraction: Extract text from Word documents, including support for tracked changes and comments.
  • Use Case: If you need to review a draft document and provide feedback or corrections, this Skill can help you do so efficiently.

Quick Start

To create a new Word document, use the 'docx' skill followed by 'create doc'. To edit an existing document, provide the path to the document file.

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 Word document including tracked changes and comments?

Yes, you can automate Word document editing to add, modify, or reject tracked changes. The Skill manipulates document XML directly via Python libraries, ensuring that original formatting is preserved while applying collaborative review corrections programmatically.

Can I automate Word document editing to add or reject tracked changes?

Yes, you can automate Word document editing to add, modify, or reject tracked changes. The Skill manipulates document XML directly via Python libraries, ensuring that original formatting is preserved while applying collaborative review corrections programmatically.

Do I need LibreOffice to convert a Word document to PDF?

Yes, LibreOffice is required as a dependency to perform Word document to PDF conversion. The Skill integrates LibreOffice alongside docx-js to handle file manipulation and ensure accurate formatting transitions during the PDF generation process.

What is the best way to generate a new Word document from scratch programmatically?

The best way to generate a new Word document programmatically is using the docx-js library integrated within this Skill. It allows you to create new files from scratch by defining document structures and applying formatting directly through code.

Does direct XML manipulation preserve formatting when modifying Word documents?

Direct XML manipulation preserves formatting by interacting with the underlying document structure natively. By utilizing Python libraries to edit the raw XML, the Skill ensures that complex formatting and tracked changes remain intact without corrupting the file.