docx

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

1|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/nimeshgurung/artifact-hub-collections --skill docx-nimeshgurung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/nimeshgurung/artifact-hub-collections/tree/main/skills/raw/anthropics/skills/document-skills/docx
Command: npx skills add https://github.com/nimeshgurung/artifact-hub-collections --skill docx-nimeshgurung

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 complex document management tasks, from creating professional documents from scratch to meticulously editing existing ones with tracked changes and comments.

Core Features & Use Cases

  • Document Creation: Generate new .docx files programmatically using JavaScript/TypeScript.
  • Content Editing: Modify existing .docx files, including basic changes and complex redlining.
  • Tracked Changes: Implement and manage tracked changes for collaborative review processes.
  • Analysis & Extraction: Extract text content and raw XML for detailed analysis.
  • Use Case: A legal team needs to review a 50-page contract. They can use this Skill to apply specific edits, add comments, and track all changes made by different reviewers, ensuring a clear audit trail.

Quick Start

Use the docx skill to convert the document 'report.docx' into markdown format.

Frequently Asked Questions about docx

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

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

You can programmatically add tracked changes and redlining to a .docx file by manipulating its underlying OOXML structure. This approach manages comments and tracks modifications for collaborative review, ensuring a clear audit trail for legal and business workflows.

Can I generate .docx files from scratch using JavaScript?

Yes, you can generate new .docx files from scratch using JavaScript or TypeScript. This capability utilizes the docx-js library for programmatic document generation, allowing you to create professional Word documents with preserved formatting and structured content.

What is the best way to extract raw text and XML from a .docx file for analysis?

The best way to extract raw text and XML from a .docx file for detailed analysis is by using dedicated text extraction and OOXML manipulation tools. This process pulls document content programmatically, enabling detailed review of legal, academic, or business documentation.

Does this document generation workflow support converting Word files to markdown and PDF?

Yes, this document generation workflow supports converting Word files to markdown and PDF formats. It utilizes pandoc and libreoffice dependencies to transform .docx content, enabling seamless format conversion while maintaining the document's structural integrity.

Do I need pandoc and libreoffice installed to manage professional Word documents?

Yes, you need pandoc, libreoffice, poppler-utils, and defusedxml installed to fully manage professional Word documents. These dependencies enable core features like format conversion, OOXML manipulation, and secure XML parsing during document analysis and editing workflows.