docx

Create, edit, and analyze Microsoft Word .docx files with Python and JavaScript libraries.

7|1|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/frankxai/agentic-creator-os --skill docx-frankxai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/frankxai/agentic-creator-os/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/frankxai/agentic-creator-os --skill docx-frankxai

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 workflows by enabling programmatic creation, editing, and analysis of Microsoft Word (.docx) files, including sophisticated handling of tracked changes and comments.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript with the docx-js library.
  • Content Editing: Modify existing documents, including basic OOXML editing and advanced redlining.
  • Tracked Changes: Implement detailed tracked changes for document review and collaboration, preserving original formatting and author information.
  • Comment Management: Add, reply to, and manage comments within documents.
  • Text Extraction: Convert .docx files to Markdown, preserving tracked changes, using pandoc.
  • Use Case: A legal team needs to review a contract. This Skill can automatically apply specific edits as tracked changes, add legal comments, and then convert the reviewed document into a clean, final version.

Quick Start

Use the docx skill to convert the document 'contract_v1.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 Word documents for contract review?

You can programmatically add tracked changes and redlining to Word documents using Python and JavaScript libraries, preserving original formatting and author information for professional document review and collaboration workflows.

Can I convert a .docx file to Markdown while preserving tracked changes?

Yes, you can convert .docx files to Markdown while preserving tracked changes using pandoc. This enables text extraction from Word documents into a clean, Markdown format for further processing.

What's the best way to generate new Microsoft Word documents from scratch programmatically?

Generating new Microsoft Word documents from scratch is handled via the docx-js library in JavaScript or TypeScript. This approach supports complex document structures and professional formatting preservation for automated document creation.

Does this approach support adding and managing comments within existing Word documents?

Yes, this approach supports adding, replying to, and managing comments within existing Word documents. It handles comment management alongside basic OOXML editing and advanced redlining for comprehensive document workflows.

Do I need pandoc and LibreOffice installed to extract text and manage .docx files?

Yes, pandoc is required for text extraction and converting .docx files to Markdown. LibreOffice, poppler-utils, and defusedxml are also listed dependencies for handling complex document structures and formatting preservation.

What are the limitations of editing OOXML directly for Word document modifications?

Editing OOXML directly handles basic modifications but may struggle with highly complex document structures. For advanced redlining and tracked changes, dedicated Python and JavaScript libraries provide better formatting preservation and author metadata handling.