docx

Create, edit, and extract text from Word documents with tracked changes.

Updated Jun 17, 2025
One-click install
npx skills add https://github.com/jax2730/workcode --skill docx-jax2730
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/jax2730/workcode/tree/main/LLM%26Dialog/.claude/skills/docx
Command: npx skills add https://github.com/jax2730/workcode --skill docx-jax2730

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 entire lifecycle of working with Microsoft Word (.docx) documents, from creation and editing to complex reviews with tracked changes and data extraction.

Core Features & Use Cases

  • Document Creation: Generate new .docx files programmatically using JavaScript/TypeScript with docx-js.
  • Document Editing: Modify existing .docx files using Python's Document library for OOXML manipulation.
  • Tracked Changes (Redlining): Implement precise tracked changes for document review and collaboration.
  • Text Extraction: Convert .docx files to Markdown, preserving tracked changes, using pandoc.
  • Use Case: A legal team needs to review a 50-page contract. They can use this Skill to extract the text, apply specific edits with tracked changes, add comments, and then save the reviewed document, all automated.

Quick Start

Use the docx skill to convert the attached 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 convert a Word document to Markdown while preserving tracked changes?

Yes, you can programmatically generate new .docx files using JavaScript or TypeScript with the docx-js library. This Skill supports automated document creation for generating structured Word files without manual formatting.

Can I add tracked changes and comments to an existing .docx file programmatically?

You need pandoc, docx, libreoffice, poppler-utils, and defusedxml installed in your environment. These dependencies support the Skill's comprehensive Word document operations, including OOXML manipulation, conversion, and text extraction.

Do I need LibreOffice and pandoc installed to automate Word document redlining?

You can modify existing .docx files using Python's Document library for OOXML manipulation. This approach allows you to edit document content directly and integrate detailed tracked changes for collaborative review.

What is the best way to extract text from a .docx file for automated contract review?

This Skill manages the entire Word document lifecycle, from creation and editing to complex reviews with tracked changes and data extraction. It streamlines working with .docx files by automating document generation, redlining, and text conversion.

Does this approach support OOXML manipulation for editing document structure?

Yes, this approach supports OOXML manipulation for editing document structure using Python's Document library. It allows you to modify existing .docx files and implement precise tracked changes for review and collaboration.